1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Fix build for net/gssdp 1.1.0.1 and net/gupnp 1.1.0 update

- Update LIB_DEPENDS
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-11-17 17:31:04 +00:00
parent 9823d08e27
commit fb41ca68ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485148

View File

@ -15,25 +15,28 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gobject-introspection>=0.10:devel/gobject-introspection \
gupnp>=0.18:net/gupnp
LIB_DEPENDS= libgupnp-1.0.so:net/gupnp
LIB_DEPENDS= libgssdp-1.2.so:net/gssdp \
libgupnp-1.2.so:net/gupnp
RUN_DEPENDS= gupnp>=0.18:net/gupnp
OPTIONS_DEFINE= PYTHON
OPTIONS_DEFAULT=PYTHON
OPTIONS_SUB= yes
USES= gmake gnome libtool pathfix pkgconfig tar:xz
USE_GNOME= glib20 introspection:build
CONFIGURE_ARGS= --enable-introspection=yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_GNOME= glib20 introspection:build
USE_LDCONFIG= yes
USES= gmake gnome libtool pathfix pkgconfig tar:xz
PYTHON_CONFIGURE_ENABLE=python
PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject>=2.12.0:devel/py-gobject@${PY_FLAVOR}
PYTHON_USES= python:2.7
post-patch:
@${REINPLACE_CMD} -e 's|gssdp-1.0|gssdp-1.2|; s|gupnp-1.0|gupnp-1.2|' ${WRKSRC}/configure ${WRKSRC}/gupnp-igd-1.0.pc.in ${WRKSRC}/libgupnp-igd/Makefile.in ${WRKSRC}/libgupnp-igd/GUPnPIgd-1.0.gir
@${REINPLACE_CMD} -e '/ --define-variable=/d' ${WRKSRC}/configure
.include <bsd.port.mk>