diff options
author | rillig <rillig> | 2005-11-05 09:37:10 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-11-05 09:37:10 +0000 |
commit | 8238db528eedb838e00a7f128e63133d7e640023 (patch) | |
tree | 87de936ef833645f319f46bf2beef4d313ddcbb0 | |
parent | e2c611799976587918a857f7cf4513dbe3b9702c (diff) | |
download | pkgsrc-8238db528eedb838e00a7f128e63133d7e640023.tar.gz |
Made the dependency directory check a little stricter. In the worst case
this could produce extra warnings. It does not affect the rest of the
build process at all.
-rw-r--r-- | mk/bsd.pkg.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 3d19df5c90f..37675582dfd 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1744 2005/11/04 21:26:19 rillig Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1745 2005/11/05 09:37:10 rillig Exp $ # # This file is in the public domain. # @@ -1441,8 +1441,8 @@ show-depends-dirs: depends=${_ALL_DEPENDS:C/^[^:]*://:O:u:Q}; \ for reldir in $$depends; do \ case $$reldir in \ - */*) : "expected";; \ - *) ${ECHO} ${.TARGET:Q}": warning: missing directory in dependency \"$$reldir\". Check DEPENDS and BUILD_DEPENDS." 1>&2; \ + ../../*/*) ;; \ + *) ${ECHO} "[show-depends-dirs] warning: invalid dependency \"$$reldir\". Check DEPENDS and BUILD_DEPENDS." 1>&2; \ continue;; \ esac; \ WD=`cd "$$reldir" && ${PWD_CMD}`; \ |