summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-10-07 03:03:09 +0000
committerjlam <jlam>2004-10-07 03:03:09 +0000
commit6b675f9c5d6e27dcf25498bfaa3d9009393c3767 (patch)
treee0fa8ca60dffa14c46f25f8e17df787b69bac19a /mk/bsd.prefs.mk
parenta382f811f00cc359fc6c3d7c7386417af7b05fd1 (diff)
downloadpkgsrc-6b675f9c5d6e27dcf25498bfaa3d9009393c3767.tar.gz
Remove _PKGSRCDIR now that we have PKGSRCDIR (as per previous commit).
Diffstat (limited to 'mk/bsd.prefs.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}