Fix the WITHOUT_X11 build
Reported by: erwin
This commit is contained in:
parent
0a3a883a65
commit
7497a363a6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344029
1 changed files with 7 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue