head	1.4;
access;
symbols
	RELEASE_4_4_0:1.1
	RELEASE_4_3_0:1.1
	RELEASE_4_2_0:1.1
	RELEASE_4_1_1:1.1;
locks; strict;
comment	@# @;


1.4
date	2001.12.25.17.25.34;	author naddy;	state dead;
branches;
next	1.3;

1.3
date	2001.11.15.23.06.04;	author naddy;	state Exp;
branches;
next	1.2;

1.2
date	2001.11.04.15.52.09;	author naddy;	state dead;
branches;
next	1.1;

1.1
date	2000.08.21.02.49.42;	author kris;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Update to 1.0.7.  Notable changes in this version:
* New elvi: freebsd, openbsd, filesearching, ftpfind
* Updated elvi: translate (babelfish), ftpsearch, fast, netbsd
* Rename linuxdoc elvi to slinuxdoc, to prevent name clash with sgmltools
@
text
@
$FreeBSD: ports/www/surfraw/files/patch-ab,v 1.3 2001/11/15 23:06:04 naddy Exp $

--- surfraw.in.orig	Thu Nov  8 16:01:43 2001
+++ surfraw.in	Thu Nov  8 16:02:46 2001
@@@@ -266,7 +266,8 @@@@
 }
 
 w3_browse_url () {
-   if ok SURFRAW_new_screen && ! test -z "$STY" && ! ok SURFRAW_graphical; then
+   # work around /bin/sh parser bug in FreeBSD prior to 4.4
+   if ok SURFRAW_new_screen && { ! test -z "$STY"; } && { ! ok SURFRAW_graphical; }; then
    	screen=yes
    else
    	screen=no
@


1.3
log
@* 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>.
@
text
@d2 1
a2 1
$FreeBSD$
@


1.2
log
@Update to 1.0.4.
Adds debbugs, debcontents, debpackages, sourceforge, swhois, woffle.
Removes ircsearch, newscientist.

PR:		31540
Approved by:	trevor
@
text
@d1 6
a6 3
--- surfraw.in.orig	Sun Aug 20 19:47:02 2000
+++ surfraw.in	Sun Aug 20 19:47:17 2000
@@@@ -245,7 +245,7 @@@@
d10 3
a12 2
-   if ok SURFRAW_new_screen && ! test -z "$STY"; then
+   if ok SURFRAW_new_screen && [ ! -z "$STY" ]; then
@


1.1
log
@Actually make this work
@
text
@@

