Date: Thu, 18 Aug 2016 16:52:59 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420412 - head/multimedia/plexmediaserver Message-ID: <201608181652.u7IGqxH2066809@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608181652.u7IGqxH2066809>