summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-10-07 03:03:09 +0000
committerjlam <jlam@pkgsrc.org>2004-10-07 03:03:09 +0000
commit0f9ae0638a2a2b2f7212e70383e5bf23af8713d4 (patch)
treee0fa8ca60dffa14c46f25f8e17df787b69bac19a /mk
parent17c3aafac1aa4cacaba3e9998eacf16787dfefb4 (diff)
downloadpkgsrc-0f9ae0638a2a2b2f7212e70383e5bf23af8713d4.tar.gz
Remove _PKGSRCDIR now that we have PKGSRCDIR (as per previous commit).
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 6d3b5aeb019..16ff0fa956d 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.171 2004/10/07 02:01:39 jlam Exp $
+# $NetBSD: bsd.prefs.mk,v 1.172 2004/10/07 03:03:09 jlam Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -463,7 +463,6 @@ PKG_FAIL_REASON+= 'See http://mail-index.NetBSD.org/tech-pkg/2004/02/14/0004.htm
PKG_FAIL_REASON+= 'for more details.'
.endif
-_PKGSRCDIR?= ${.CURDIR:C|/[^/]*/[^/]*$||}
PKGPATH?= ${.CURDIR:C|.*/([^/]*/[^/]*)$|\1|}
.if !defined(PKGSRCDIR)
PKGSRCDIR!= cd ${_PKGSRC_TOPDIR} && ${PWD_CMD}