diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-11-11 19:13:41 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-11-11 19:13:41 +0000 |
commit | cad2a20afa98e452b843c5e5849877a26bf91a6d (patch) | |
tree | e0071ff63e03617540ba3c79ed53618cca872c3a /mk | |
parent | 9e71b8c25ea4f43b4a1ad758a4fe81675b4209b0 (diff) | |
download | pkgsrc-cad2a20afa98e452b843c5e5849877a26bf91a6d.tar.gz |
Stopgag fix to force people to unset PKG_PATH before doing pkgsrc
works (at least until we handle this more sane).
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 0f37f3e6ade..52f18d1fdcc 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.601 2000/11/11 17:55:44 tron Exp $ +# $NetBSD: bsd.pkg.mk,v 1.602 2000/11/11 19:13:41 hubertf Exp $ # # This file is in the public domain. # @@ -937,6 +937,12 @@ EXTRACT_ONLY?= ${DISTFILES} @${FALSE} .endif +.if defined(PKG_PATH) +.BEGIN: + @${ECHO_MSG} "Please unset PKG_PATH before doing pkgsrc works!" + @${FALSE} +.endif + .if defined(MASTER_SITE_SUBDIR) .BEGIN: @${ECHO_MSG} 'MASTER_SITE_SUBDIR is deprecated and must be replaced with MASTER_SITES.' |