Stopgag fix to force people to unset PKG_PATH before doing pkgsrc

works (at least until we handle this more sane).
This commit is contained in:
hubertf 2000-11-11 19:13:41 +00:00
parent 9e71b8c25e
commit cad2a20afa

View file

@ -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. # This file is in the public domain.
# #
@ -937,6 +937,12 @@ EXTRACT_ONLY?= ${DISTFILES}
@${FALSE} @${FALSE}
.endif .endif
.if defined(PKG_PATH)
.BEGIN:
@${ECHO_MSG} "Please unset PKG_PATH before doing pkgsrc works!"
@${FALSE}
.endif
.if defined(MASTER_SITE_SUBDIR) .if defined(MASTER_SITE_SUBDIR)
.BEGIN: .BEGIN:
@${ECHO_MSG} 'MASTER_SITE_SUBDIR is deprecated and must be replaced with MASTER_SITES.' @${ECHO_MSG} 'MASTER_SITE_SUBDIR is deprecated and must be replaced with MASTER_SITES.'