aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind9-dlz
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-03-23 12:52:27 +0800
committerdinoex <dinoex@FreeBSD.org>2003-03-23 12:52:27 +0800
commitbcbcfa62ae7a97c42d1d9bb7880348d6971c4bbc (patch)
tree9ed1b9461c28bf9b436d6dae3e17a22b2dc2e86a /dns/bind9-dlz
parentc9412b4903acddcb6479d5c79d5588387c8655f5 (diff)
downloadfreebsd-ports-gnome-bcbcfa62ae7a97c42d1d9bb7880348d6971c4bbc.tar.gz
freebsd-ports-gnome-bcbcfa62ae7a97c42d1d9bb7880348d6971c4bbc.tar.zst
freebsd-ports-gnome-bcbcfa62ae7a97c42d1d9bb7880348d6971c4bbc.zip
- make ports work as a master port
Diffstat (limited to 'dns/bind9-dlz')
-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