aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/imlib2
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2014-02-13 07:06:08 +0800
committerbf <bf@FreeBSD.org>2014-02-13 07:06:08 +0800
commit149153238892440c3390960dfe75eb48706075b7 (patch)
tree4d34c35a99f6857090c62de1ab5755cab803b1bf /graphics/imlib2
parenta102cba836e5a34a7f424aa1debebe2ad1c63159 (diff)
downloadfreebsd-ports-gnome-149153238892440c3390960dfe75eb48706075b7.tar.gz
freebsd-ports-gnome-149153238892440c3390960dfe75eb48706075b7.tar.zst
freebsd-ports-gnome-149153238892440c3390960dfe75eb48706075b7.zip
Fix the WITHOUT_X11 build
Reported by: erwin
Diffstat (limited to 'graphics/imlib2')
-rw-r--r--graphics/imlib2/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile
index 993fd5eb2270..c77f7564fcfc 100644
--- a/graphics/imlib2/Makefile
+++ b/graphics/imlib2/Makefile
@@ -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>