From fd50192ea7567a034b59dfc96a1d112f8ccfa573 Mon Sep 17 00:00:00 2001 From: dwcjr 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/db46/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'databases/db46') diff --git a/databases/db46/Makefile b/databases/db46/Makefile index d7cb99e1af02..06def6d1e7d4 100644 --- a/databases/db46/Makefile +++ b/databases/db46/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