aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-08-25 20:17:25 +0800
committerbapt <bapt@FreeBSD.org>2015-08-25 20:17:25 +0800
commitda4e967708fe977b5378b39eb6da06667071e107 (patch)
treeae37dfadc0f56ac0e95900677a82a9c3fa59e4eb /Mk
parentbfea223042bf48601286b4c8401575e5c2ead6f5 (diff)
downloadfreebsd-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.mk4
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 \