From owner-svn-ports-head@freebsd.org Sun Feb 12 13:53:16 2017 Return-Path: Delivered-To: svn-ports-head@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 350B4CDB315; Sun, 12 Feb 2017 13:53:16 +0000 (UTC) (envelope-from tijl@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 F2A8F101E; Sun, 12 Feb 2017 13:53:15 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1CDrFW5080438; Sun, 12 Feb 2017 13:53:15 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1CDrF7X080437; Sun, 12 Feb 2017 13:53:15 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201702121353.v1CDrF7X080437@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Sun, 12 Feb 2017 13:53:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433944 - head/audio/linux-skype_oss_wrapper X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2017 13:53:16 -0000 Author: tijl Date: Sun Feb 12 13:53:14 2017 New Revision: 433944 URL: https://svnweb.freebsd.org/changeset/ports/433944 Log: - Set CC instead of patching the Makefile. - Unhide post-install commands. - Remove brandelf command. The library is already a Linux library. Modified: head/audio/linux-skype_oss_wrapper/Makefile Modified: head/audio/linux-skype_oss_wrapper/Makefile ============================================================================== --- head/audio/linux-skype_oss_wrapper/Makefile Sun Feb 12 13:50:29 2017 (r433943) +++ head/audio/linux-skype_oss_wrapper/Makefile Sun Feb 12 13:53:14 2017 (r433944) @@ -16,6 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= s3erios +CC= ${LINUXBASE}/usr/bin/gcc USES= linux USE_LINUX= base devtools:build USE_LINUX_PREFIX= yes @@ -26,15 +27,8 @@ PLIST_FILES= lib/skype_oss_wrapper/libpu LIB_DIR= ${PREFIX}/lib/${PORTNAME} -# hardcode compiler path -post-patch: - @${REINPLACE_CMD} -e 's|?= cc| = ${LINUXBASE}/usr/bin/gcc|' \ - -e 's|$${CC}|${LINUXBASE}/usr/bin/gcc|' \ - ${WRKSRC}/Makefile - post-install: - @${RM} ${STAGEDIR}${PREFIX}/bin/skype_oss - @${RMDIR} ${STAGEDIR}${PREFIX}/bin - @${BRANDELF} -t Linux ${STAGEDIR}${LIB_DIR}/libpulse.so.0 + ${RM} ${STAGEDIR}${PREFIX}/bin/skype_oss + ${RMDIR} ${STAGEDIR}${PREFIX}/bin .include