aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libgnomecanvas
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-11 23:31:46 +0800
committersobomax <sobomax@FreeBSD.org>2002-07-11 23:31:46 +0800
commit56dc32204bad654a33f748f15525ae2478dda76c (patch)
tree3937ab3f9e452769dfc3da529bc9b040b4183bc3 /graphics/libgnomecanvas
parent169df2917434face98111a403e13db5d03f78444 (diff)
downloadfreebsd-ports-gnome-56dc32204bad654a33f748f15525ae2478dda76c.tar.gz
freebsd-ports-gnome-56dc32204bad654a33f748f15525ae2478dda76c.tar.zst
freebsd-ports-gnome-56dc32204bad654a33f748f15525ae2478dda76c.zip
Use USE_REINPLACE.
Diffstat (limited to 'graphics/libgnomecanvas')
-rw-r--r--graphics/libgnomecanvas/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/libgnomecanvas/Makefile b/graphics/libgnomecanvas/Makefile
index 4fbf4d1f26ce..bd46911f8c2e 100644
--- a/graphics/libgnomecanvas/Makefile
+++ b/graphics/libgnomecanvas/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= glade-2.0.0:${PORTSDIR}/devel/libglade2 \
USE_BZIP2= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
@@ -29,7 +30,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>