make search improving
Tarc
tarc at tarc.po.cs.msu.su
Fri Oct 21 03:54:52 PDT 2005
There is patch for add ``xdisplay'' variable,
usage: same as ``display variable''
--
Best regards,
Arseny Nasokin
-------------- next part --------------
--- bsd.port.subdir.mk.orig Fri Oct 21 14:03:32 2005
+++ bsd.port.subdir.mk Fri Oct 21 14:02:32 2005
@@ -364,6 +364,7 @@
-v keylim="$${keylim:-${PORTSEARCH_KEYLIM}}" \
-v xkeylim="$${xkeylim:-${PORTSEARCH_XKEYLIM}}" \
-v display="$${display:-${PORTSEARCH_DISPLAY_FIELDS}}" \
+ -v xdisplay="$$xdisplay" \
'BEGIN { \
if (substr(there, 1, length(top)) == top) \
there = "${PORTSDIR}" substr(there, 1 + length(top)); \
@@ -401,9 +402,15 @@
fields["bdeps"] = 8; names[8] = "B-deps"; \
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]]]; \
} \
} \
{ \
More information about the freebsd-ports
mailing list