aboutsummaryrefslogtreecommitdiff
path: root/graphics/webp/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-06-07 16:33:40 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-06-07 16:33:40 +0000
commit842b142f3080248f6c3079beea7111bf5433ac63 (patch)
tree9ac2ef6c9677c3d082c163bfdad3b11088a80e12 /graphics/webp/Makefile
parent54267dd0bb4f713eae79c4210969507aa575e18a (diff)
downloadports-842b142f3080248f6c3079beea7111bf5433ac63.tar.gz
ports-842b142f3080248f6c3079beea7111bf5433ac63.zip
- Build vwebp only if X11 option is on
Notes
Notes: svn path=/head/; revision=356925
Diffstat (limited to 'graphics/webp/Makefile')
-rw-r--r--graphics/webp/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/webp/Makefile b/graphics/webp/Makefile
index ebc91b5afa9a..dca71ce04f0c 100644
--- a/graphics/webp/Makefile
+++ b/graphics/webp/Makefile
@@ -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