svn commit: r349510 - head/graphics/imlib2
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Mar 29 14:00:42 UTC 2014
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>
More information about the svn-ports-head
mailing list