mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
* Fix 'make search' with non-default ${PORTSDIR}
PR: ports/105917 Submitted by: shaun
This commit is contained in:
parent
be4c6448a8
commit
e3907bef8b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=186642
1 changed files with 2 additions and 0 deletions
|
@ -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) \
|
||||
|
|
Loading…
Add table
Reference in a new issue