aboutsummaryrefslogtreecommitdiff
path: root/net/gssdp
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-10-19 15:32:46 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-10-19 15:32:46 +0000
commitddb7bda857b109e34de0c9fa5c429081e063d157 (patch)
tree27b19d9e9441ec9d534d191efc9f06b3e60c2253 /net/gssdp
parent802069042c1f8ca5fa43690d4e2da6911d590bec (diff)
downloadports-ddb7bda857b109e34de0c9fa5c429081e063d157.tar.gz
ports-ddb7bda857b109e34de0c9fa5c429081e063d157.zip
Notes
Diffstat (limited to 'net/gssdp')
-rw-r--r--net/gssdp/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/net/gssdp/Makefile b/net/gssdp/Makefile
index 9012986eb439..caed652eef01 100644
--- a/net/gssdp/Makefile
+++ b/net/gssdp/Makefile
@@ -16,6 +16,7 @@ LIB_DEPENDS= libsoup-2.4.so:${PORTSDIR}/devel/libsoup
OPTIONS_DEFINE= GTK3
OPTIONS_DEFAULT=GTK3
+OPTIONS_SUB= yes
CONFIGURE_ARGS= --enable-introspection=yes
CONFIGURE_ENV= VAPIGEN=""
@@ -25,17 +26,8 @@ USE_LDCONFIG= yes
USE_XZ= yes
USES= gmake pathfix pkgconfig
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGTK3}
-CONFIGURE_ARGS+=--with-gtk
-USE_GNOME+= gtk30
-PLIST_SUB= GTK3=""
-.else
-CONFIGURE_ARGS+=--without-gtk
-PLIST_SUB= GTK3="@comment "
-.endif
+GTK3_CONFIGURE_WITH= gtk
+GTK3_USE= GNOME=gtk30
post-patch:
@${REINPLACE_CMD} -e 's|__OpenBSD__|__FreeBSD__|' ${WRKSRC}/libgssdp/gssdp-socket-functions.c