summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-03-23 04:52:27 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-03-23 04:52:27 +0000
commit4f2f12ca40668c252f133012276855ba629e4bef (patch)
tree4ffced518e24b9d84af3fd3f2729f60342bd0a76 /dns
parent- Security Fix: (diff)
- make ports work as a master port
Diffstat (limited to 'dns')
-rw-r--r--dns/bind9-dlz/Makefile4
-rw-r--r--dns/bind9-dlz/files/configure.bind9-dlz8
2 files changed, 6 insertions, 6 deletions
diff --git a/dns/bind9-dlz/Makefile b/dns/bind9-dlz/Makefile
index 448f04732c4d..016255c8e430 100644
--- a/dns/bind9-dlz/Makefile
+++ b/dns/bind9-dlz/Makefile
@@ -67,7 +67,7 @@ EXTRA_PATCHES= ${WRKDIR}/dlz.patch
PLIST= ${WRKDIR}/.PLIST.more
SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
- CURDIR="${.CURDIR}" \
+ CURDIR2="${.CURDIR}" \
MKDIR="${MKDIR}" \
DISTNAME="${DISTNAME}" \
BINDDLZ_OPTIONS="${BINDDLZ_OPTIONS}"
@@ -145,7 +145,7 @@ pre-configure:
@${ECHO_CMD} "configure: ${CONFIGURE_ARGS}"
pre-install:
- ${CAT} ${.CURDIR}/pkg-plist >${PLIST}
+ ${CAT} ${MASTERDIR}/pkg-plist >${PLIST}
.if !defined(NOPORTDOCS)
.for i in ${DOCS}
@${ECHO_CMD} `${BASENAME} ${i}` | \
diff --git a/dns/bind9-dlz/files/configure.bind9-dlz b/dns/bind9-dlz/files/configure.bind9-dlz
index 26e7a56cacc7..f8a554ab6607 100644
--- a/dns/bind9-dlz/files/configure.bind9-dlz
+++ b/dns/bind9-dlz/files/configure.bind9-dlz
@@ -2,7 +2,7 @@
#
# $FreeBSD$
#
-if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
+if [ -f ${WRKDIRPREFIX}${CURDIR2}/Makefile.inc ]; then
exit
fi
@@ -36,8 +36,8 @@ Stub "Stub driver" OFF \
esac
fi
-${MKDIR} ${WRKDIRPREFIX}${CURDIR}
-exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+${MKDIR} ${WRKDIRPREFIX}${CURDIR2}
+exec > ${WRKDIRPREFIX}${CURDIR2}/Makefile.inc
while [ "$1" ]; do
case $1 in
@@ -60,7 +60,7 @@ while [ "$1" ]; do
;;
*)
echo "Invalid option(s): $*" > /dev/stderr
- rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ rm -f ${WRKDIRPREFIX}${CURDIR2}/Makefile.inc
exit 1
;;
esac