Date: Sun, 31 Dec 2017 12:42:19 +0000 (UTC) From: Niclas Zeising <zeising@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457685 - head/graphics/imlib2 Message-ID: <201712311242.vBVCgJxl030573@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712311242.vBVCgJxl030573>