aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2013-12-29 19:42:32 +0800
committerjohans <johans@FreeBSD.org>2013-12-29 19:42:32 +0800
commitdf993ca6169b68ff45664ca4b696073c5a733c20 (patch)
tree019a573867008a9ff3e2c014b055955dee0683de /graphics
parent0d595c69c8534b0026c65de3645d458733c504f2 (diff)
downloadfreebsd-ports-gnome-df993ca6169b68ff45664ca4b696073c5a733c20.tar.gz
freebsd-ports-gnome-df993ca6169b68ff45664ca4b696073c5a733c20.tar.zst
freebsd-ports-gnome-df993ca6169b68ff45664ca4b696073c5a733c20.zip
Simplify conditional options
Submitted by: bapt
Diffstat (limited to 'graphics')
-rw-r--r--graphics/webp/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/graphics/webp/Makefile b/graphics/webp/Makefile
index 59ff0a97444b..d39640300f6a 100644
--- a/graphics/webp/Makefile
+++ b/graphics/webp/Makefile
@@ -27,14 +27,8 @@ CONFIGURE_ARGS+=--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
OPTIONS_DEFINE= X11
OPTIONS_SUB= yes
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MX11}
-USE_GL= glut
-.else
-CONFIGURE_ARGS+=--with-glincludedir=/dev/null
-.endif
+X11_USE= GL=glut
+X11_CONFIGURE_OFF= --with-glincludedir=/dev/null
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libwebp*.so