summaryrefslogtreecommitdiffstats
path: root/audio/libaudiofile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libaudiofile/Makefile')
-rw-r--r--audio/libaudiofile/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/libaudiofile/Makefile b/audio/libaudiofile/Makefile
index 261d79e..f6383c9 100644
--- a/audio/libaudiofile/Makefile
+++ b/audio/libaudiofile/Makefile
@@ -19,12 +19,13 @@ MAINTAINER= gnome@FreeBSD.org
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
pre-patch:
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
+ 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
.include <bsd.port.mk>
OpenPOWER on IntegriCloud