summaryrefslogtreecommitdiffstats
path: root/devel/libglade2
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-11 15:31:46 +0000
committersobomax <sobomax@FreeBSD.org>2002-07-11 15:31:46 +0000
commit56dc32204bad654a33f748f15525ae2478dda76c (patch)
tree3937ab3f9e452769dfc3da529bc9b040b4183bc3 /devel/libglade2
parent169df2917434face98111a403e13db5d03f78444 (diff)
downloadFreeBSD-ports-56dc32204bad654a33f748f15525ae2478dda76c.zip
FreeBSD-ports-56dc32204bad654a33f748f15525ae2478dda76c.tar.gz
Use USE_REINPLACE.
Diffstat (limited to 'devel/libglade2')
-rw-r--r--devel/libglade2/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile
index 09394f3..efb24b0 100644
--- a/devel/libglade2/Makefile
+++ b/devel/libglade2/Makefile
@@ -22,6 +22,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyexpat.so:${PORTSDIR}/textproc/py-expat
USE_BZIP2= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
USE_PYTHON= yes
USE_LIBTOOL= yes
@@ -31,7 +32,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>
OpenPOWER on IntegriCloud