Date: Fri, 21 Oct 2005 14:54:46 +0400 From: Tarc <tarc@tarc.po.cs.msu.su> To: freebsd-ports <freebsd-ports@freebsd.org> Subject: make search improving Message-ID: <20051021105446.GH3344@tarc.po.cs.msu.su>
next in thread | raw e-mail | index | archive | help
--k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=koi8-r Content-Disposition: inline There is patch for add ``xdisplay'' variable, usage: same as ``display variable'' -- Best regards, Arseny Nasokin --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename="bsd.port.subdir.mk.patch" --- 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]]]; \ } \ } \ { \ --k1lZvvs/B4yU6o8G--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051021105446.GH3344>