summaryrefslogtreecommitdiff
path: root/multimedia/vlc
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-05-26 22:24:13 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-05-26 22:24:13 +0000
commit1ad6236c36dc4c43e05a6f83124986157064a46d (patch)
tree20d911ee19b3aa9b8b8f0810fadf4e6c73117301 /multimedia/vlc
parentUnbreak index (diff)
Convert vlc to USES=libtool
Because vlc uses a dynamic plist that dynamic plist should be created after the removal of the .la files hence move this target into add-plist-data (this is a dirty workaround) and one more reason why dynamic plist are evil libvlc.so.X number has changed (hidden by dynamic plist, told you this is evil) bump all consumers of libvlc.so
Notes
Notes: svn path=/head/; revision=355463
Diffstat (limited to 'multimedia/vlc')
-rw-r--r--multimedia/vlc/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index f47962548154..8dd72983e4f7 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -3,7 +3,7 @@
PORTNAME= vlc
DISTVERSION= 2.1.4
-PORTREVISION= 4
+PORTREVISION= 5
PORTEPOCH= 4
CATEGORIES= multimedia audio ipv6 net www
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \
@@ -245,7 +245,8 @@ X264_CONFIGURE_ENABLE= x264
ZVBI_LIB_DEPENDS= libzvbi.so:${PORTSDIR}/devel/libzvbi
ZVBI_CONFIGURE_ENABLE= zvbi
-USES= desktop-file-utils iconv perl5 gmake pkgconfig tar:xz
+USES= desktop-file-utils iconv libtool perl5 gmake pkgconfig tar:xz
+INSTALL_TARGET= install-strip
USE_PERL5= build
USE_CSTD= gnu99
WANT_GNOME= yes
@@ -419,7 +420,7 @@ post-patch:
@${REINPLACE_CMD} -e '/^DEFAULT_INCLUDES/s|$$| $$(GNUTLS_CFLAGS)|g' \
${WRKSRC}/modules/misc/Makefile.in
-post-install:
+add-plist-data:
@if [ -n "${MTREE_FILE}" ]; then \
{ ${ECHO_CMD} "#mtree"; ${CAT} ${MTREE_FILE}; } | ${TAR} tf - | \
awk '{ sub(/^\.$$/, "", $$1); \