freebsd-ports/www/surfraw/files/patch-elvi_netbsd
Christian Weisgerber 5e09432b45 * Add workaround for parser bug in FreeBSD's /bin/sh prior to 4.4.
* NetBSD changed their search engine;
  fix submitted by Jason Harris <jharris@widomaker.com>.
2001-11-15 23:06:04 +00:00

14 lines
592 B
Plaintext

$FreeBSD$
--- elvi/netbsd.orig Thu Nov 8 15:36:12 2001
+++ elvi/netbsd Thu Nov 8 15:37:01 2001
@@ -68,6 +68,6 @@
if test -z "$escaped_args"; then
w3_browse_url "http://www.netbsd.org/"
else
- w3_browse_url "http://www.netbsd.org/cgi-bin/htsearch?method=and&format=builtin-long&sort=score&config=htdig&words=${escaped_args}"
+ w3_browse_url "http://www.google.com/custom?q=${escaped_args}&cof=LW%3A247%3BL%3Ahttp%3A%2F%2Fwww.netbsd.org%2Fimages%2FNetBSD-smaller.jpg%3BLH%3A241%3BAH%3Acenter%3BAWFID%3A4f6b0499f0f58d2c%3B&domains=netbsd.org&sitesearch=netbsd.org"
fi
exit $?