aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2023-12-02 14:20:12 +0000
committerDima Panov <fluffy@FreeBSD.org>2023-12-02 14:20:12 +0000
commitc6ed5eb9f9a6e0c9ddfa751845fe226f79947f2f (patch)
tree540304dda03d87624eb917b09324053399ad375f
parent4649a3e537e0256f4c21ab559ac87d4fa5d488b8 (diff)
downloadports-c6ed5eb9f9a6e0c9ddfa751845fe226f79947f2f.tar.gz
ports-c6ed5eb9f9a6e0c9ddfa751845fe226f79947f2f.zip
net-im/libnice: unbreak with GUPNP enabled (+)
net/gupnp-igd12 rest in peace, move to net/gupnp-igd Reported by: poudriere failure
-rw-r--r--net-im/libnice/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net-im/libnice/Makefile b/net-im/libnice/Makefile
index aa1f48112211..ade7f95c1b38 100644
--- a/net-im/libnice/Makefile
+++ b/net-im/libnice/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libnice
PORTVERSION= 0.1.21
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-im devel
MASTER_SITES= http://nice.freedesktop.org/releases/
@@ -23,7 +23,7 @@ INSTALL_TARGET= install-strip
OPTIONS_DEFINE= GUPNP
GUPNP_MESON_ENABLED= gupnp
GUPNP_DESC= UPnP IGD port mapping support
-GUPNP_LIB_DEPENDS+= libgupnp-igd-1.0.so:net/gupnp-igd12
+GUPNP_LIB_DEPENDS+= libgupnp-igd-1.6.so:net/gupnp-igd
MESON_ARGS+=-Dtests=disabled -Dgtk_doc=disabled -Dcrypto-library=openssl
@@ -34,4 +34,7 @@ MESON_ARGS+=-Dgstreamer=enabled
MESON_ARGS+=-Dgstreamer=disabled
.endif
+post-patch-GUPNP-on:
+ @${REINPLACE_CMD} -e 's|gupnp-igd-1.0|gupnp-igd-1.6|' ${WRKSRC}/meson.build
+
.include <bsd.port.mk>