aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-08-25 12:17:25 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-08-25 12:17:25 +0000
commit310fec0aaf575beb82d711afd33985d08de40b0a (patch)
treeae37dfadc0f56ac0e95900677a82a9c3fa59e4eb /Mk/bsd.port.mk
parent7f5f7018b92cc6fa09745c793261f399804e3fe0 (diff)
downloadports-310fec0aaf575beb82d711afd33985d08de40b0a.tar.gz
ports-310fec0aaf575beb82d711afd33985d08de40b0a.zip
Notes
Diffstat (limited to 'Mk/bsd.port.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 \