From e3907bef8b685fdebaaecdec6c7cf55cdf638cfe Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Tue, 6 Mar 2007 06:58:35 +0000 Subject: [PATCH] * Fix 'make search' with non-default ${PORTSDIR} PR: ports/105917 Submitted by: shaun --- Mk/bsd.port.subdir.mk | 2 ++ 1 file changed, 2 insertions(+) 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) \