MFH: r488663

Recreate stale plugin cache after stripping during staging

PR:		234230
Submitted by:	wulf

Approved by:	ports-secteam (riggs)
This commit is contained in:
Thomas Zander 2018-12-29 13:01:04 +00:00
parent 964540a224
commit e0da492069
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q4/; revision=488664

View File

@ -3,7 +3,7 @@
PORTNAME= vlc
DISTVERSION= 3.0.4
PORTREVISION= 6
PORTREVISION= 7
PORTEPOCH= 4
CATEGORIES= multimedia audio ipv6 net www
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \
@ -370,5 +370,7 @@ post-install:
@(cd ${STAGEDIR}${PREFIX} && ${FIND} -s lib/vlc -not -name '*.la' \
-type f -o -type l >> ${TMPPLIST})
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/vlc/plugins/*/*.so
# plugin cache becomes stale after strip. Regenerate it:
${WRKSRC}/bin/vlc-cache-gen ${STAGEDIR}${PREFIX}/lib/vlc/plugins
.include <bsd.port.mk>