summaryrefslogtreecommitdiff
path: root/devel/libIDL
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-11 15:31:46 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-11 15:31:46 +0000
commit548387be8002521e3aa9b0c8ae2b343d9d3520eb (patch)
treeec7ba00fd2a8b535baa75d1a42a0f7d7096519e9 /devel/libIDL
parentUpdate to 2.0.0. (diff)
Use USE_REINPLACE.
Notes
Notes: svn path=/head/; revision=62815
Diffstat (limited to 'devel/libIDL')
-rw-r--r--devel/libIDL/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/libIDL/Makefile b/devel/libIDL/Makefile
index 712ac8ced9fb..157fce16aced 100644
--- a/devel/libIDL/Makefile
+++ b/devel/libIDL/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20
USE_BZIP2= yes
USE_GMAKE= yes
USE_BISON= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc
@@ -27,7 +28,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
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>