Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2014 23:06:08 +0000 (UTC)
From:      Brendan Fabeny <bf@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344029 - head/graphics/imlib2
Message-ID:  <201402122306.s1CN68GF036400@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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