diff options
author | agc <agc@pkgsrc.org> | 2001-09-09 20:36:07 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-09-09 20:36:07 +0000 |
commit | a16fc84f19dd8bf3201242f9e04334979fbebb2f (patch) | |
tree | 3fd1a2f535365e26fdc0e751d53fad480118cea2 /mk/bsd.pkg.mk | |
parent | 9a53280dd16ed46cdf17cd6040cbfa62bcc8319a (diff) | |
download | pkgsrc-a16fc84f19dd8bf3201242f9e04334979fbebb2f.tar.gz |
Deprecate NO_WRKSUBDIR, replacing it with an explicit assignment of:
WRKSRC= ${WRKDIR}
This is much cleaner, much more indicative of what happens, and removes
another of the negative definitions (NO_.* = value).
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 2bf07bd842c..ddebdf47c53 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.804 2001/08/27 15:05:54 tv Exp $ +# $NetBSD: bsd.pkg.mk,v 1.805 2001/09/09 20:36:07 agc Exp $ # # This file is in the public domain. # @@ -480,9 +480,10 @@ WRKDIR_BASENAME?= work WRKDIR?= ${BUILD_DIR}/${WRKDIR_BASENAME} .if defined(NO_WRKSUBDIR) -WRKSRC?= ${WRKDIR} -.else # NO_WRKSUBDIR -WRKSRC?= ${WRKDIR}/${DISTNAME} +.BEGIN: + @${ECHO_MSG} 'NO_WRKSUBDIR has been deprecated - please replace it with an explicit' + @${ECHO_MSG} 'assignment of WRKSRC= $${WRKDIR}' + @${FALSE} .endif # NO_WRKSUBDIR # A few aliases for *-install targets |