aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vlc/Makefile
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2014-07-20 17:34:08 +0000
committerJuergen Lock <nox@FreeBSD.org>2014-07-20 17:34:08 +0000
commit1f1e8b02f08e0451ce209354fb0c00f85ff7c194 (patch)
treef1387ec187a154ef1539bf3a4019a60f6cfa412f /multimedia/vlc/Makefile
parent4e1f263ef2d4672b5e09b0cd7d1da3409fc6ff73 (diff)
downloadports-1f1e8b02f08e0451ce209354fb0c00f85ff7c194.tar.gz
ports-1f1e8b02f08e0451ce209354fb0c00f85ff7c194.zip
Notes
Diffstat (limited to 'multimedia/vlc/Makefile')
-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' \