summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-06-04 00:12:57 +0000
committerhubertf <hubertf>2000-06-04 00:12:57 +0000
commitb33e2b2ae23e6db8fc56e62942f8902c5a0525df (patch)
treec4dbef335056d3345697c7b7367e683b28c8754e /mk
parentcd057cbfad7518aa68ead28365a1de3f8b5fa23d (diff)
downloadpkgsrc-b33e2b2ae23e6db8fc56e62942f8902c5a0525df.tar.gz
Don't enforce people to use relative dirs as second components of (BUILD_,RUN_)
DEPENDS. (there may be some other places from previous commits where that was added in a frenzy of over-optimisation. Will re-visit & check these.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 02dcd5d0fb5..3b2186b8120 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.470 2000/06/03 22:59:04 mycroft Exp $
+# $NetBSD: bsd.pkg.mk,v 1.471 2000/06/04 00:12:57 hubertf Exp $
#
# This file is in the public domain.
#
@@ -2257,9 +2257,9 @@ package-depends:
.for dep in ${RUN_DEPENDS}
${_PKG_SILENT}${_PKG_DEBUG}\
file="${dep:C/:.*//}"; \
- dir="${.CURDIR}/${dep:C/[^:]*://}"; \
+ dir="${dep:C/[^:]*://}"; \
cd ${.CURDIR}; \
- if cd $$dir 2>/dev/null; then \
+ if cd $$dir 2>/dev/null; then \
${MAKE} ${MAKEFLAGS} package-name PACKAGE_NAME_TYPE=${PACKAGE_NAME_TYPE}; \
if ${PACKAGE_DEPENDS_QUICK} ; then \
${PKG_INFO} -qf "$$file" | ${AWK} '/^@pkgdep/ {print $$2}'; \