aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ecasound
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-10-24 03:07:47 +0800
committerarved <arved@FreeBSD.org>2003-10-24 03:07:47 +0800
commit14dd1ad3638c3a4ee29386d5471bbb9b380b0f63 (patch)
tree01024be4e38261e12e5be953f25c275c668d29f1 /audio/ecasound
parentd09d16b8f8fca586b0e23439715ca332fbfb83ac (diff)
downloadfreebsd-ports-gnome-14dd1ad3638c3a4ee29386d5471bbb9b380b0f63.tar.gz
freebsd-ports-gnome-14dd1ad3638c3a4ee29386d5471bbb9b380b0f63.tar.zst
freebsd-ports-gnome-14dd1ad3638c3a4ee29386d5471bbb9b380b0f63.zip
USE_REINPLACE
Respect CPPFLAGS and LDFLAGS PR: 47651 Submitted by: Simon Schubert
Diffstat (limited to 'audio/ecasound')
-rw-r--r--audio/ecasound/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/ecasound/Makefile b/audio/ecasound/Makefile
index 0ba9f618cf68..cf85030f5f01 100644
--- a/audio/ecasound/Makefile
+++ b/audio/ecasound/Makefile
@@ -16,6 +16,7 @@ COMMENT= Multitrack audio processing software
USE_GMAKE= yes
USE_AUTOMAKE_VER=14
USE_LIBTOOL= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
MAKE_ENV+= ${CONFIGURE_ENV}
@@ -34,8 +35,8 @@ RUN_DEPENDS+= mikmod:${PORTSDIR}/audio/mikmod
.if defined(WITH_AUDIOFILE)
# very crappy hack to detect audiofile properly
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib" \
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include ${CPPFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}" \
CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
CXXFLAGS="-I${LOCALBASE}/include ${CXXFLAGS}"
LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
@@ -71,7 +72,7 @@ pre-everything::
post-patch:
.if !defined(WITH_OPTIMIZED_CFLAGS)
- @${PERL} -pi -e 's!-O2 -ffast-math!!' ${WRKSRC}/kvutils/Makefile.am
+ @${REINPLACE_CMD} -e 's!-O2 -ffast-math!!' ${WRKSRC}/kvutils/Makefile.am
.endif
# ${STRIP_CMD} ${PREFIX}/bin/ecaconvert ${PREFIX}/bin/ecafixdc \