[kde-freebsd] www/qt4/webkit: use new OPTIONS helpers

Alexey Dokuchaev danfe at nsu.ru
Fri Nov 1 16:47:18 UTC 2013


hi there,

please consider attached patch.

./danfe
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	(revision 332253)
+++ Makefile	(working copy)
@@ -1,4 +1,4 @@
-# Created by: danny at ricin.com
+# Created by: Danny Pansters <danny at ricin.com>
 # $FreeBSD$
 
 PORTNAME=	webkit
@@ -45,15 +45,11 @@
 OPTIONS_DEFAULT=	GSTREAMER
 
 GSTREAMER_DESC=	HTML5 audio and video via GStreamer
+GSTREAMER_USE=	GSTREAMER=yes
+GSTREAMER_CONFIGURE_OFF=	-no-gstreamer
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MGSTREAMER}
-USE_GSTREAMER=	yes
-.endif
-
-.include <bsd.port.pre.mk>
-
 # Base ld(1) segfaults on PowerPC:
 # http://bugs.freebsd.org/173042
 .if ${ARCH} == "powerpc"
@@ -95,4 +91,4 @@
 		${WRKSRC}/lib/pkgconfig/QtWebKit.pc \
 		${WRKSRC}/lib/libQtWebKit.la
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the kde-freebsd mailing list