aboutsummaryrefslogtreecommitdiff
path: root/multimedia/plexmediaserver
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2016-08-18 16:52:59 +0000
committerMark Felder <feld@FreeBSD.org>2016-08-18 16:52:59 +0000
commit8c85c9214e032de4404c1271c5e68f5d03d33289 (patch)
treeba83ec90a00bc954e90050e877a1999d3f64d52d /multimedia/plexmediaserver
parent1bb2063a7152770ad0c44e6acde825bf8ba36348 (diff)
downloadports-8c85c9214e032de4404c1271c5e68f5d03d33289.tar.gz
ports-8c85c9214e032de4404c1271c5e68f5d03d33289.zip
Notes
Diffstat (limited to 'multimedia/plexmediaserver')
-rw-r--r--multimedia/plexmediaserver/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/plexmediaserver/Makefile b/multimedia/plexmediaserver/Makefile
index 1fc9b39fb705..a4ac29e77478 100644
--- a/multimedia/plexmediaserver/Makefile
+++ b/multimedia/plexmediaserver/Makefile
@@ -42,7 +42,8 @@ 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} {} \+
- ${STRIP_CMD} ${WRKSRC}/lib* ${WRKSRC}/Resources/Plex*
+ ${FIND} ${WRKSRC} ${WRKSRC}/Resources -name 'Plex*' -depth 1 -exec ${STRIP_CMD} {} \+
+ ${FIND} ${WRKSRC} -depth 1 -name 'lib*' -exec ${STRIP_CMD} {} \+
${RM} ${WRKSRC}/start.sh
# Older verisons of Plex we have to create a symlink
# Newer versions of Plex ship a duplicate file; we'll just symlink