summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gail
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-18 16:05:23 +0000
committersobomax <sobomax@FreeBSD.org>2002-07-18 16:05:23 +0000
commit3c3ec35cdac5b00ee09be0891fa8cdd0f2c42e1a (patch)
treef17b7894423790cd63911d7fab61dd24d4952643 /x11-toolkits/gail
parente3c2ad9560fffe04ad4067de40da4122a016889c (diff)
downloadFreeBSD-ports-3c3ec35cdac5b00ee09be0891fa8cdd0f2c42e1a.zip
FreeBSD-ports-3c3ec35cdac5b00ee09be0891fa8cdd0f2c42e1a.tar.gz
Use USE_REINPLACE.
Diffstat (limited to 'x11-toolkits/gail')
-rw-r--r--x11-toolkits/gail/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-toolkits/gail/Makefile b/x11-toolkits/gail/Makefile
index ca5f670..969ae2f 100644
--- a/x11-toolkits/gail/Makefile
+++ b/x11-toolkits/gail/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= gnomecanvas-2.0:${PORTSDIR}/graphics/libgnomecanvas
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -26,7 +27,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