diff options
author | bapt <bapt@FreeBSD.org> | 2015-08-25 20:17:25 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-08-25 20:17:25 +0800 |
commit | da4e967708fe977b5378b39eb6da06667071e107 (patch) | |
tree | ae37dfadc0f56ac0e95900677a82a9c3fa59e4eb /Mk | |
parent | bfea223042bf48601286b4c8401575e5c2ead6f5 (diff) | |
download | freebsd-ports-gnome-da4e967708fe977b5378b39eb6da06667071e107.tar.gz freebsd-ports-gnome-da4e967708fe977b5378b39eb6da06667071e107.tar.zst freebsd-ports-gnome-da4e967708fe977b5378b39eb6da06667071e107.zip |
Make package-depends-list accept dependency entries without ${PORTSDIR}
Sponsored by: Gandi.net
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 2f29c21b87f2..4c71f602791a 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -4475,6 +4475,10 @@ PACKAGE-DEPENDS-LIST?= \ fi; \ checked="${PARENT_CHECKED}"; \ for dir in ${_LIB_RUN_DEPENDS:C,[^:]*:([^:]*):?.*,\1,}; do \ + case "$$dir" in \ + /*) ;; \ + *) dir=${PORTSDIR}/$$dir ;; \ + esac ; \ dir=$$(${REALPATH} $$dir); \ if [ -d $$dir ]; then \ case $$checked in \ |