diff options
author | antoine <antoine@FreeBSD.org> | 2015-04-28 23:56:30 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2015-04-28 23:56:30 +0800 |
commit | 1f90a7ea67b061a31e4efc6421eca3fcd4b2238e (patch) | |
tree | 74902fbd48ebcb69ac547082204f53fd06b712c2 /Mk | |
parent | cd0ffce17b9e16b09816ca8415c40a45910fe95b (diff) | |
download | freebsd-ports-gnome-1f90a7ea67b061a31e4efc6421eca3fcd4b2238e.tar.gz freebsd-ports-gnome-1f90a7ea67b061a31e4efc6421eca3fcd4b2238e.tar.zst freebsd-ports-gnome-1f90a7ea67b061a31e4efc6421eca3fcd4b2238e.zip |
Do not error on dependency on ${NONEXISTENT}:dir:target when STRICT_DEPENDS
is set
Reviewed by: bdrewery
With hat: portmgr
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 4e347bddfa99..f95b97672cf9 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -4444,7 +4444,9 @@ ${deptype:tl}-depends: fi; \ fi; \ if [ $$notfound != 0 ]; then \ - anynotfound=1; \ + if [ "$$prog" != "${NONEXISTENT}" ]; then \ + anynotfound=1; \ + fi; \ ${ECHO_MSG} "===> Verifying $$target for $$prog in $$dir"; \ if [ ! -d "$$dir" ]; then \ ${ECHO_MSG} " => No directory for $$prog. Skipping.."; \ |