diff options
Diffstat (limited to 'dns/bind9-dlz')
-rw-r--r-- | dns/bind9-dlz/Makefile | 4 | ||||
-rw-r--r-- | dns/bind9-dlz/files/configure.bind9-dlz | 8 |
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 |