svn commit: r457685 - head/graphics/imlib2
Niclas Zeising
zeising at FreeBSD.org
Sun Dec 31 12:42:20 UTC 2017
Author: zeising
Date: Sun Dec 31 12:42:19 2017
New Revision: 457685
URL: https://svnweb.freebsd.org/changeset/ports/457685
Log:
Properly fix when X11 option is off.
When the X11 option is off, there are still things in the Imlib2.h header
that uses X11, fix this by removing those bits when building without X11.
PR: 224354
Submitted by: Dominik Honnef
Modified:
head/graphics/imlib2/Makefile
Modified: head/graphics/imlib2/Makefile
==============================================================================
--- head/graphics/imlib2/Makefile Sun Dec 31 12:07:28 2017 (r457684)
+++ head/graphics/imlib2/Makefile Sun Dec 31 12:42:19 2017 (r457685)
@@ -3,6 +3,7 @@
PORTNAME= imlib2
PORTVERSION= 1.4.10
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= graphics enlightenment
MASTER_SITES= SF/enlightenment/imlib2-src/${PORTVERSION}
@@ -63,10 +64,10 @@ CONFIGURE_ARGS+= --enable-amd64
CONFIGURE_ARGS+= --disable-amd64
.endif
-post-patch-X11-on:
+post-patch-X11-off:
@${REINPLACE_CMD} -e '/MY_LIBS =/s/-lXext -lX11//' \
${WRKSRC}/src/lib/Makefile.in
- @${REINPLACE_CMD} -e '/# ifndef X_DISPLAY_MISSING/,/# endif/ d' \
+ @${REINPLACE_CMD} -e '/#ifndef X_DISPLAY_MISSING/,/#endif/ d' \
${WRKSRC}/src/lib/Imlib2.h
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list