From da4e967708fe977b5378b39eb6da06667071e107 Mon Sep 17 00:00:00 2001 From: bapt Date: Tue, 25 Aug 2015 12:17:25 +0000 Subject: Make package-depends-list accept dependency entries without ${PORTSDIR} Sponsored by: Gandi.net --- Mk/bsd.port.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Mk') 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 \ -- cgit