summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-06-04 00:50:48 +0000
committerhubertf <hubertf>2000-06-04 00:50:48 +0000
commit557450f54cdb7c7b06c5ff38ef859c156f561f04 (patch)
tree8d21d80413d27b50b152c331d48dd7b0a13728e1 /mk
parent102c339f746e5900db975c9ac931abd98390367a (diff)
downloadpkgsrc-557450f54cdb7c7b06c5ff38ef859c156f561f04.tar.gz
Allow using absolute paths as second component of DEPENDS again.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 3b2186b8120..269ead2fb67 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.471 2000/06/04 00:12:57 hubertf Exp $
+# $NetBSD: bsd.pkg.mk,v 1.472 2000/06/04 00:50:48 hubertf Exp $
#
# This file is in the public domain.
#
@@ -2239,7 +2239,8 @@ package-depends:
${_PKG_SILENT}${_PKG_DEBUG} \
pkg="${dep:C/:.*//}"; \
dir="${dep:C/[^:]*://}"; \
- if cd ${.CURDIR}/$$dir 2>/dev/null; then \
+ cd ${.CURDIR}; \
+ if $$dir 2>/dev/null; then \
if ${PACKAGE_DEPENDS_WITH_PATTERNS}; then \
${ECHO} "$$pkg"; \
else \