aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2014-07-21 01:34:08 +0800
committernox <nox@FreeBSD.org>2014-07-21 01:34:08 +0800
commit498df964880fe097d226d2cbad6a957832ee8d05 (patch)
treef1387ec187a154ef1539bf3a4019a60f6cfa412f /multimedia
parent9b715fe890ab46b651e9e094ae4e902ed39d128d (diff)
downloadfreebsd-ports-gnome-498df964880fe097d226d2cbad6a957832ee8d05.tar.gz
freebsd-ports-gnome-498df964880fe097d226d2cbad6a957832ee8d05.tar.zst
freebsd-ports-gnome-498df964880fe097d226d2cbad6a957832ee8d05.zip
- Fix LIRC knob so that liblirc_client is actually found again.
- Bump PORTREVISION.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vlc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index 8b40fb232729..b982c224c7ba 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -3,7 +3,7 @@
PORTNAME= vlc
DISTVERSION= 2.1.4
-PORTREVISION= 9
+PORTREVISION= 10
PORTEPOCH= 4
CATEGORIES= multimedia audio ipv6 net www
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \
@@ -163,6 +163,7 @@ LIBSSH2_CONFIGURE_ENABLE= sftp
LIRC_LIB_DEPENDS= liblirc_client.so:${PORTSDIR}/comms/lirc
LIRC_CONFIGURE_ENABLE= lirc
+LIRC_CONFIGURE_ENV= LIBS_lirc="-L${LOCALBASE}/lib -llirc_client"
LIVEMEDIA_LIB_DEPENDS= libliveMedia.so:${PORTSDIR}/net/liveMedia
LIVEMEDIA_CONFIGURE_ENABLE= live555
@@ -327,6 +328,7 @@ post-patch:
@${REINPLACE_CMD} \
-e '\|LIBS|s|-lrt||' \
-e 's|gnutls |gnutls3 |g' \
+ -e 's|LIBS="-llirc_client|LIBS="$$LIBS_lirc|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/dev/cdrom|${WITH_CDROM_DEVICE}|g' \
-e 's|/dev/dvd|${WITH_DVD_DEVICE}|g' \