diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/webkit-gtk3/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/www/webkit-gtk3/Makefile b/www/webkit-gtk3/Makefile index af4b9c8f9..a479d8678 100644 --- a/www/webkit-gtk3/Makefile +++ b/www/webkit-gtk3/Makefile @@ -3,7 +3,7 @@ # Whom: Michael Johnson <ahze@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/www/webkit-gtk3/Makefile,v 1.26 2012/05/22 12:53:13 kwm Exp $ +# $MCom: ports/www/webkit-gtk3/Makefile,v 1.27 2012/05/22 17:09:57 kwm Exp $ # PORTNAME= webkit @@ -52,19 +52,20 @@ MAKEFILE= GNUmakefile BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins/symlinks/webkit-gtk3 #_BROWSER_PLUGINS_DIR= ${BROWSER_PLUGINS_DIR:S|^/|"|:S|/|", "|g}", -OPTIONS= WEBGL "Enable webGL support (experimental)" off \ - DEBUG "Build with debug support" off +OPTIONS_DEFINE= WEBGL DEBUG +OPTIONS_DEFAULT=WEBGL +WEBGL_DESC= Enable Web GL support .include <bsd.port.pre.mk> -.if defined(WITH_WEBGL) +.if ${PORT_OPTIONS:MWEBGL} USE_GL= gl CONFIGURE_ARGS+=--enable-webgl .else CONFIGURE_ARGS+=--disable-webgl .endif -.if defined(WITH_DEBUG) +.if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-debug .else CONFIGURE_ARGS+=--disable-debug |