summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-11-04 03:35:55 +0000
committerdinoex <dinoex@FreeBSD.org>2002-11-04 03:35:55 +0000
commitb244e69e37003b1c58b41f0b6de562b3192fe85b (patch)
treea6cc23ad536a9615174986733e97c1e5e8262e60 /net
parent0561e8cc792fed16926121baab3e707971e5e3d7 (diff)
downloadFreeBSD-ports-b244e69e37003b1c58b41f0b6de562b3192fe85b.zip
FreeBSD-ports-b244e69e37003b1c58b41f0b6de562b3192fe85b.tar.gz
- Fix perl/reinplace problems
Diffstat (limited to 'net')
-rw-r--r--net/bind9-dlz/Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/net/bind9-dlz/Makefile b/net/bind9-dlz/Makefile
index 4bf4b7e..0f9cf5a 100644
--- a/net/bind9-dlz/Makefile
+++ b/net/bind9-dlz/Makefile
@@ -31,11 +31,11 @@ PLIST= ${WRKDIR}/.PLIST.more
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=/var --disable-linux-caps
WRKSRC= ${WRKDIR}/bind-${ISCVERSION}
-USE_REINPLACE= yes
DIR= ${WRKSRC}/bin/
DLZVERSION= 0.2.1
EXTRA_DOCSDIR= share/doc/bind9-dlz
+EXTRA_FIX= ${WRKSRC}/bin/named/Makefile.in
DOCS= README.txt bind_dlz.txt changelog.txt dlz_interface.txt \
dlz_postgres_driver.txt dlz_stub_driver.txt \
sdlz_helper.txt sdlz_interface.txt
@@ -80,19 +80,22 @@ MAN8= dnssec-keygen.8 dnssec-makekeyset.8 dnssec-signkey.8 dnssec-signzone.8 \
rndc-confgen.8 rndc.8
pre-patch:
- ${REINPLACE_CMD} -e "s=bind-9.2.1/==" ${EXTRA_PATCHES}
+.for FILE in dlz.patch
+ @ ${MV} ${WRKDIR}/${FILE} ${WRKDIR}/${FILE}.sed
+ ${SED} -e "s=bind-9.2.1/==" ${WRKDIR}/${FILE}.sed > ${WRKDIR}/${FILE}
+.endfor
post-patch:
- ${REINPLACE_CMD} -e "s=/usr/local/pgsql/include=${LOCALBASE}/include=" \
- ${WRKSRC}/bin/named/Makefile.in
- ${REINPLACE_CMD} -e "s=/usr/local/pgsql/lib=${LOCALBASE}/lib=" \
- ${WRKSRC}/bin/named/Makefile.in
+ @ ${MV} ${EXTRA_FIX} ${EXTRA_FIX}.sed
+ ${SED} -e "s=/usr/local/pgsql/include=${LOCALBASE}/include=" \
+ -e "s=/usr/local/pgsql/lib=${LOCALBASE}/lib=" \
+ ${EXTRA_FIX}.sed > ${EXTRA_FIX}
.for FILE in check/named-checkconf.8 named/named.8 nsupdate/nsupdate.8 \
rndc/rndc.8
- @ ${MV} ${DIR}/${FILE} ${DIR}/${FILE}.Dist
- @ ${SED} -e 's#/etc/named.conf#${PREFIX}/etc/named.conf#g' \
+ @ ${MV} ${DIR}/${FILE} ${DIR}/${FILE}.sed
+ ${SED} -e 's#/etc/named.conf#${PREFIX}/etc/named.conf#g' \
-e 's#/etc/rndc.conf#${PREFIX}/etc/rndc.conf#g' \
- ${DIR}/${FILE}.Dist > ${DIR}/${FILE}
+ ${DIR}/${FILE}.sed > ${DIR}/${FILE}
.endfor
pre-configure:
OpenPOWER on IntegriCloud