Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2017 13:53:15 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
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
Message-ID:  <201702121353.v1CDrF7X080437@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702121353.v1CDrF7X080437>