From 534fffca27bb18f7529d548c46ee3326505a89c7 Mon Sep 17 00:00:00 2001 From: "David W. Chapman Jr." Date: Sun, 1 Sep 2002 16:07:59 +0000 Subject: ${PERL} -> ${REINPLACE_CMD} PR: 40784 Submitted by: corecode@corecode.ath.cx Reviewed by: flynn@energyhq.homeip.net --- databases/db41/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'databases/db41') diff --git a/databases/db41/Makefile b/databases/db41/Makefile index d7cb99e1af02..06def6d1e7d4 100644 --- a/databases/db41/Makefile +++ b/databases/db41/Makefile @@ -24,6 +24,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix INSTALLS_SHLIB= yes HAS_CONFIGURE= yes +USE_REINPLACE= yes CONFIGURE_SCRIPT= ../dist/configure CONFIGURE_ARGS= --enable-compat185 \ --enable-dump185 --enable-cxx \ @@ -33,10 +34,10 @@ CONFIGURE_ARGS= --enable-compat185 \ --target=${ARCH}-unknown-freebsd${OSREL} pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT} + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT} post-patch: @${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT} - @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/../dist/configure + @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/../dist/configure .include -- cgit v1.2.3