diff options
author | yuri <yuri@FreeBSD.org> | 2018-09-29 14:31:44 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2018-09-29 14:31:44 +0800 |
commit | 0546b8415c4f855d1e9fce0e1ae77293b45c2147 (patch) | |
tree | b990e2e76047ee695ead80e343949ee98613a2ef /audio | |
parent | dabe5deaeea517e9f5f7a156fc6f3e9d15aa0faf (diff) | |
download | freebsd-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/Makefile | 8 |
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 |