Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 2014 14:00:42 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349510 - head/graphics/imlib2
Message-ID:  <201403291400.s2TE0ggD003724@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Mar 29 14:00:42 2014
New Revision: 349510
URL: http://svnweb.freebsd.org/changeset/ports/349510
QAT: https://qat.redports.org/buildarchive/r349510/

Log:
  - Remove hidden dependency on X11 when built with X11 disabled
  
  PR:		187147
  Submitted by:	amdmi3
  Approved by:	maintainer timeout

Modified:
  head/graphics/imlib2/Makefile

Modified: head/graphics/imlib2/Makefile
==============================================================================
--- head/graphics/imlib2/Makefile	Sat Mar 29 13:57:35 2014	(r349509)
+++ head/graphics/imlib2/Makefile	Sat Mar 29 14:00:42 2014	(r349510)
@@ -4,6 +4,7 @@
 PORTNAME=	imlib2
 PORTVERSION=	1.4.6
 PORTEPOCH=	2
+PORTREVISION=	1
 CATEGORIES=	graphics enlightenment
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	enlightenment/imlib2-src/${PORTVERSION}
@@ -98,8 +99,9 @@ PLIST_SUB+=	ID3="@comment "
 .if ! ${PORT_OPTIONS:MX11}
 post-patch:
 	@${REINPLACE_CMD} -e '/MY_LIBS =/s/-lXext -lX11//' \
-	${WRKSRC}/src/lib/Makefile.in
-
+		${WRKSRC}/src/lib/Makefile.in
+	@${REINPLACE_CMD} -e '/# ifndef X_DISPLAY_MISSING/,/# endif/ d' \
+		${WRKSRC}/src/lib/Imlib2.h
 .endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403291400.s2TE0ggD003724>