From owner-svn-ports-all@freebsd.org Thu Aug 18 16:53:00 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7130DBBE9A1; Thu, 18 Aug 2016 16:53:00 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4082414E1; Thu, 18 Aug 2016 16:53:00 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7IGqxuc066810; Thu, 18 Aug 2016 16:52:59 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7IGqxH2066809; Thu, 18 Aug 2016 16:52:59 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201608181652.u7IGqxH2066809@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Thu, 18 Aug 2016 16:52:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420412 - head/multimedia/plexmediaserver X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 16:53:00 -0000 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