summaryrefslogtreecommitdiff
path: root/databases/db46/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/db46/Makefile')
-rw-r--r--databases/db46/Makefile5
1 files changed, 3 insertions, 2 deletions
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 <bsd.port.mk>