svn commit: r433944 - head/audio/linux-skype_oss_wrapper
Tijl Coosemans
tijl at FreeBSD.org
Sun Feb 12 13:53:16 UTC 2017
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>
More information about the svn-ports-all
mailing list