From b33e2b2ae23e6db8fc56e62942f8902c5a0525df Mon Sep 17 00:00:00 2001 From: hubertf Date: Sun, 4 Jun 2000 00:12:57 +0000 Subject: 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. --- mk/bsd.pkg.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mk') 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}'; \ -- cgit v1.2.3