svn commit: r420412 - head/multimedia/plexmediaserver

Mark Felder feld at FreeBSD.org
Thu Aug 18 16:53:00 UTC 2016


Author: feld
Date: Thu Aug 18 16:52:59 2016
New Revision: 420412
URL: https://svnweb.freebsd.org/changeset/ports/420412

Log:
  multimedia/plexmediaserver: Change the way binaries are stripped
  
  This is a master port with the PlexPass port as the slave. Calling strip
  directly on files is problematic when they change or are moved in
  updates to the slave port. This is a no-op for this port but prevents
  errors in the slave port from trying to call strip on files that no
  longer exist or have moved.

Modified:
  head/multimedia/plexmediaserver/Makefile

Modified: head/multimedia/plexmediaserver/Makefile
==============================================================================
--- head/multimedia/plexmediaserver/Makefile	Thu Aug 18 16:47:09 2016	(r420411)
+++ head/multimedia/plexmediaserver/Makefile	Thu Aug 18 16:52:59 2016	(r420412)
@@ -42,7 +42,8 @@ RUN_DEPENDS+=	${LOCALBASE}/lib/compat/li
 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


More information about the svn-ports-all mailing list