Fix the WITHOUT_X11 build

Reported by:	erwin
This commit is contained in:
Brendan Fabeny 2014-02-12 23:06:08 +00:00
parent 0a3a883a65
commit 7497a363a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344029

View file

@ -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>