diff options
author | hubertf <hubertf> | 2000-11-11 19:13:41 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-11-11 19:13:41 +0000 |
commit | f4222515947348812e16250f6160d17caeda1612 (patch) | |
tree | e0071ff63e03617540ba3c79ed53618cca872c3a /mk | |
parent | a30db78789f6aebd273f5f5ee33b364477225b6e (diff) | |
download | pkgsrc-f4222515947348812e16250f6160d17caeda1612.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.' |