diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2006-01-28 07:41:18 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2006-01-28 07:41:18 +0000 |
commit | 9b9a2302bd51bb9db8adeb0f61161dbcf0394b52 (patch) | |
tree | ec0b885409f135a4214eb993d17b172330991c97 /devel/portmk | |
parent | 2dd789c8b0a9536ceca118023f77b0df6bbacba2 (diff) | |
download | ports-9b9a2302bd51bb9db8adeb0f61161dbcf0394b52.tar.gz ports-9b9a2302bd51bb9db8adeb0f61161dbcf0394b52.zip |
Incorporate 1.63 from the master.
Notes
Notes:
svn path=/head/; revision=154632
Diffstat (limited to 'devel/portmk')
-rw-r--r-- | devel/portmk/Mk/bsd.port.subdir.mk | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/devel/portmk/Mk/bsd.port.subdir.mk b/devel/portmk/Mk/bsd.port.subdir.mk index f93bdabfd81b..82ba7d542b74 100644 --- a/devel/portmk/Mk/bsd.port.subdir.mk +++ b/devel/portmk/Mk/bsd.port.subdir.mk @@ -407,12 +407,16 @@ _PORTSEARCH= \ fields["rdeps"] = 9; names[9] = "R-deps"; \ fields["www"] = 10; names[10] = "WWW"; \ split(display, d, /,[ \t]*/); \ - for (i in d) { \ - disp[fields[d[i]]] = 1; \ - } \ split(xdisplay, xd, /,[ \t]*/); \ - for (i in xd) { \ - delete disp[fields[xd[i]]]; \ + for (i in d) { \ + toprint = 1;\ + for (j in xd) { \ + if (d[i] == xd[j] ) { \ + toprint=0; \ + break;\ + }\ + } \ + if (toprint == 1 ) disp[fields[d[i]]] = 1; \ } \ } \ { \ |