svn commit: r337965 - head/graphics/webp
Johan van Selst
johans at FreeBSD.org
Sun Dec 29 11:42:33 UTC 2013
Author: johans
Date: Sun Dec 29 11:42:32 2013
New Revision: 337965
URL: http://svnweb.freebsd.org/changeset/ports/337965
Log:
Simplify conditional options
Submitted by: bapt
Modified:
head/graphics/webp/Makefile
Modified: head/graphics/webp/Makefile
==============================================================================
--- head/graphics/webp/Makefile Sun Dec 29 11:42:31 2013 (r337964)
+++ head/graphics/webp/Makefile Sun Dec 29 11:42:32 2013 (r337965)
@@ -27,14 +27,8 @@ CONFIGURE_ARGS+=--with-pkgconfigdir=${PR
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
More information about the svn-ports-head
mailing list