Ensure we only attempt to strip files

This commit is contained in:
Mark Felder 2019-02-23 13:30:55 +00:00
parent 06ca6a1c7e
commit 7cfcd53c05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493672

View file

@ -45,9 +45,9 @@ RUN_DEPENDS+= ${LOCALBASE}/lib/compat/libstdc++.so.6:misc/compat9x
post-patch:
# binaries don't come pre-stripped
${FIND} ${WRKSRC}/Resources -name '*.so' -exec ${STRIP_CMD} {} \+
${FIND} ${WRKSRC} ${WRKSRC}/Resources -name 'Plex*' -depth 1 -exec ${STRIP_CMD} {} \+
${FIND} ${WRKSRC} -depth 1 -name 'lib*' -exec ${STRIP_CMD} {} \+
${FIND} ${WRKSRC}/Resources -type f -name '*.so' -exec ${STRIP_CMD} {} \+
${FIND} ${WRKSRC} ${WRKSRC}/Resources -type f -name 'Plex*' -depth 1 -exec ${STRIP_CMD} {} \+
${FIND} ${WRKSRC} -depth 1 -type f -name 'lib*' -exec ${STRIP_CMD} {} \+
${RM} ${WRKSRC}/start.sh ${WRKSRC}/Resources/start.sh
# Older verisons of Plex we have to create a symlink
# Newer versions of Plex ship a duplicate file; we'll just symlink