aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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