1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Build vwebp only if X11 option is on

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-06-07 16:33:40 +00:00
parent 54267dd0bb
commit 842b142f30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356925

View File

@ -32,9 +32,13 @@ CONFIGURE_ARGS= --enable-libwebpdecoder \
USE_LDCONFIG= yes
USES= libtool
X11_CONFIGURE_OFF= --with-glincludedir=/dev/null
X11_CONFIGURE_OFF= build_vwebp=no
X11_CONFIGURE_ON= build_vwebp=yes
X11_USE= GL=glut
post-patch:
@${REINPLACE_CMD} '/build_vwebp=yes/d' ${WRKSRC}/configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libwebp*.so