aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2014-03-26 04:34:25 +0800
committercrees <crees@FreeBSD.org>2014-03-26 04:34:25 +0800
commitee9f0eb84bf4d82f2a3cf3ba4d4b1aabfa51ffb5 (patch)
treec9da8ae7392539491aa8c5d332a6b0d4f961746f /audio
parentd8ac3d91a1a4037b935c1192ca13384bce3cf7c3 (diff)
downloadfreebsd-ports-gnome-ee9f0eb84bf4d82f2a3cf3ba4d4b1aabfa51ffb5.tar.gz
freebsd-ports-gnome-ee9f0eb84bf4d82f2a3cf3ba4d4b1aabfa51ffb5.tar.zst
freebsd-ports-gnome-ee9f0eb84bf4d82f2a3cf3ba4d4b1aabfa51ffb5.zip
Fix build on 11-- clang doesn't recognise -fcheck-new, and g++ manpage says
it's nearly always unnecessary anyway. Take maintainer While here, use pathfix
Diffstat (limited to 'audio')
-rw-r--r--audio/soundtouch/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/soundtouch/Makefile b/audio/soundtouch/Makefile
index 1a824c8d4ca5..667e91f02cdb 100644
--- a/audio/soundtouch/Makefile
+++ b/audio/soundtouch/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 1.8.0
CATEGORIES= audio
MASTER_SITES= http://www.surina.net/soundtouch/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= crees@FreeBSD.org
COMMENT= Open-source audio processing library
LICENSE= LGPL21
@@ -19,6 +19,9 @@ AUTOMAKE_ARGS= --add-missing --copy --foreign
CONFIGURE_ARGS= --disable-silent-rules
USE_LDCONFIG= yes
+USES= pathfix
+PATHFIX_MAKEFILEIN= Makefile.am
+
OPTIONS_DEFINE= INTEGER_SAMPLES DOCS
OPTIONS_DEFINE_amd64= SSE
OPTIONS_DEFINE_i386= SSE
@@ -31,8 +34,7 @@ SSE_CONFIGURE_ENABLE= x86-optimizations
post-patch:
@${REINPLACE_CMD} -e \
- '/^pkgdoc_DATA/s|COPYING.TXT|| ; \
- s|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \
+ '/^pkgdoc_DATA/s|COPYING.TXT||' \
${WRKSRC}/Makefile.am
@${REINPLACE_CMD} -e \
's|^INCLUDES|AM_CPPFLAGS| ; \
@@ -40,7 +42,7 @@ post-patch:
${WRKSRC}/config/am_include.mk
.for i in SoundStretch SoundTouch
@${REINPLACE_CMD} -e \
- 's|-O[0-9]||' \
+ 's|-O[0-9]||;s|-fcheck-new||' \
${WRKSRC}/source/${i}/Makefile.am
.endfor