aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-09-29 14:31:44 +0800
committeryuri <yuri@FreeBSD.org>2018-09-29 14:31:44 +0800
commit0546b8415c4f855d1e9fce0e1ae77293b45c2147 (patch)
treeb990e2e76047ee695ead80e343949ee98613a2ef /audio
parentdabe5deaeea517e9f5f7a156fc6f3e9d15aa0faf (diff)
downloadfreebsd-ports-gnome-0546b8415c4f855d1e9fce0e1ae77293b45c2147.tar.gz
freebsd-ports-gnome-0546b8415c4f855d1e9fce0e1ae77293b45c2147.tar.zst
freebsd-ports-gnome-0546b8415c4f855d1e9fce0e1ae77293b45c2147.zip
audio/rhvoice: Fix build with base GCC
Add USES=compiler:c++0x because the code is C++03. Also shadow some commands. Reported by: Piotr Kubaj <pkubaj@anongoth.pl>
Diffstat (limited to 'audio')
-rw-r--r--audio/rhvoice/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/rhvoice/Makefile b/audio/rhvoice/Makefile
index c0aa2aa2b316..732016cc3930 100644
--- a/audio/rhvoice/Makefile
+++ b/audio/rhvoice/Makefile
@@ -14,7 +14,7 @@ LICENSE_COMB= multi
LICENSE_FILE_LGPL21+ = ${WRKSRC}/licenses/lgpl-2.1.txt
LICENSE_FILE_GPLv3+ = ${WRKSRC}/licenses/gpl-3.0.txt
-USES= pkgconfig scons
+USES= compiler:c++0x pkgconfig scons
USE_GITHUB= yes
GH_ACCOUNT= Olga-Yakovleva
USE_LDCONFIG= yes
@@ -28,13 +28,13 @@ AO_LIB_DEPENDS= libao.so:audio/libao
PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio
post-patch-PULSEAUDIO-off:
- ${REINPLACE_CMD} 's|conf.CheckPKG("libpulse-simple")|False and &|' ${WRKSRC}/SConstruct
+ @${REINPLACE_CMD} 's|conf.CheckPKG("libpulse-simple")|False and &|' ${WRKSRC}/SConstruct
post-patch-AO-off:
- ${REINPLACE_CMD} 's|conf.CheckPKG("ao")|False and &|' ${WRKSRC}/SConstruct
+ @${REINPLACE_CMD} 's|conf.CheckPKG("ao")|False and &|' ${WRKSRC}/SConstruct
post-patch-PORTAUDIO-off:
- ${REINPLACE_CMD} 's|conf.CheckPKG("portaudio-2.0")|False and &|' ${WRKSRC}/SConstruct
+ @${REINPLACE_CMD} 's|conf.CheckPKG("portaudio-2.0")|False and &|' ${WRKSRC}/SConstruct
post-install:
${MV} ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample