diff options
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.subdir.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.port.subdir.mk b/Mk/bsd.port.subdir.mk index 54b58cf7da67..c433ff119cf4 100644 --- a/Mk/bsd.port.subdir.mk +++ b/Mk/bsd.port.subdir.mk @@ -416,6 +416,8 @@ _PORTSEARCH= \ } \ } \ { \ + if (match($$2, "^/usr/ports/[^/]*/[^/]*$$") > 0) \ + sub("^/usr/ports", "${PORTSDIR}", $$2); \ if (substr($$2, 1, therelen) != there) \ next; \ for (i in parms) \ |