aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2006-01-28 15:41:18 +0800
committerlinimon <linimon@FreeBSD.org>2006-01-28 15:41:18 +0800
commitf62880fcc59c5b972bde8156376c1df4aeac746b (patch)
tree1cf9f84cb79a53a33cd559cb1cf860df6e736108 /ports-mgmt
parent39d00fc330033e3d32e592718a5b61046ed00015 (diff)
downloadfreebsd-ports-gnome-f62880fcc59c5b972bde8156376c1df4aeac746b.tar.gz
freebsd-ports-gnome-f62880fcc59c5b972bde8156376c1df4aeac746b.tar.zst
freebsd-ports-gnome-f62880fcc59c5b972bde8156376c1df4aeac746b.zip
Incorporate 1.63 from the master.
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portmk/Mk/bsd.port.subdir.mk14
1 files changed, 9 insertions, 5 deletions
diff --git a/ports-mgmt/portmk/Mk/bsd.port.subdir.mk b/ports-mgmt/portmk/Mk/bsd.port.subdir.mk
index f93bdabfd81b..82ba7d542b74 100644
--- a/ports-mgmt/portmk/Mk/bsd.port.subdir.mk
+++ b/ports-mgmt/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; \
} \
} \
{ \