diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-07-19 01:58:57 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-07-19 01:58:57 +0800 |
commit | 091dfe7895aef2457036ad52b4930489b2ad7d80 (patch) | |
tree | ddd64210ee572fd1065aba2066d346b6a1023a85 /databases/db3/Makefile | |
parent | ca8d57e8679c5a9614da3dd570e5863684344b10 (diff) | |
download | freebsd-ports-gnome-091dfe7895aef2457036ad52b4930489b2ad7d80.tar.gz freebsd-ports-gnome-091dfe7895aef2457036ad52b4930489b2ad7d80.tar.zst freebsd-ports-gnome-091dfe7895aef2457036ad52b4930489b2ad7d80.zip |
Use USE_REINPLACE.
Diffstat (limited to 'databases/db3/Makefile')
-rw-r--r-- | databases/db3/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/db3/Makefile b/databases/db3/Makefile index b1e73be27e6f..0d712e1380fd 100644 --- a/databases/db3/Makefile +++ b/databases/db3/Makefile @@ -22,6 +22,7 @@ MAINTAINER= ports@FreeBSD.org WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix +USE_REINPLACE= yes INSTALLS_SHLIB= yes USE_LIBTOOL= yes CONFIGURE_SCRIPT= ../dist/configure @@ -34,10 +35,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> |