svn commit: r344029 - head/graphics/imlib2

Brendan Fabeny bf at FreeBSD.org
Wed Feb 12 23:06:09 UTC 2014


Author: bf
Date: Wed Feb 12 23:06:08 2014
New Revision: 344029
URL: http://svnweb.freebsd.org/changeset/ports/344029
QAT: https://qat.redports.org/buildarchive/r344029/

Log:
  Fix the WITHOUT_X11 build
  
  Reported by:	erwin

Modified:
  head/graphics/imlib2/Makefile

Modified: head/graphics/imlib2/Makefile
==============================================================================
--- head/graphics/imlib2/Makefile	Wed Feb 12 23:05:10 2014	(r344028)
+++ head/graphics/imlib2/Makefile	Wed Feb 12 23:06:08 2014	(r344029)
@@ -95,4 +95,11 @@ CONFIGURE_ARGS+=	--without-id3
 PLIST_SUB+=	ID3="@comment "
 .endif
 
+.if ! ${PORT_OPTIONS:MX11}
+post-patch:
+	@${REINPLACE_CMD} -e '/MY_LIBS =/s/-lXext -lX11//' \
+	${WRKSRC}/src/lib/Makefile.in
+
+.endif
+
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list