summaryrefslogtreecommitdiff
path: root/www/surfraw
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2008-07-30 10:21:27 +0000
committerdrochner <drochner@pkgsrc.org>2008-07-30 10:21:27 +0000
commit3d045cc7f70d6dfee67e67fdb86a5be33d0dd2b3 (patch)
tree3557de46e515ee3fa39e223e5ba4eb4d131f764c /www/surfraw
parenta49a859650e8cd719489dd6abce6929a39e15911 (diff)
downloadpkgsrc-3d045cc7f70d6dfee67e67fdb86a5be33d0dd2b3.tar.gz
fix a bashism, ride on recent update
Diffstat (limited to 'www/surfraw')
-rw-r--r--www/surfraw/distinfo3
-rw-r--r--www/surfraw/patches/patch-ac13
2 files changed, 15 insertions, 1 deletions
diff --git a/www/surfraw/distinfo b/www/surfraw/distinfo
index 3669221b504..8e68c89f877 100644
--- a/www/surfraw/distinfo
+++ b/www/surfraw/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2008/07/29 21:19:55 wiz Exp $
+$NetBSD: distinfo,v 1.11 2008/07/30 10:21:27 drochner Exp $
SHA1 (surfraw-2.2.2.tar.gz) = 1f2786564fb0f6b4cc3bbe3d54e9a2af6ef6dec6
RMD160 (surfraw-2.2.2.tar.gz) = 189fcc69c0a1938cfec48f6657da14828bbc168c
Size (surfraw-2.2.2.tar.gz) = 133596 bytes
SHA1 (patch-ab) = a7e99d56668caab338996a20d65d08c7bfb48c27
+SHA1 (patch-ac) = c3d83a595a1c175532dd10b2eb8375f0af875d9d
diff --git a/www/surfraw/patches/patch-ac b/www/surfraw/patches/patch-ac
new file mode 100644
index 00000000000..fdeb0ab4588
--- /dev/null
+++ b/www/surfraw/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2008/07/30 10:21:27 drochner Exp $
+
+--- elvi/google.orig 2008-07-08 21:42:02.000000000 +0200
++++ elvi/google
+@@ -53,7 +53,7 @@ w3_parse_args "$@"
+ # w3_args now contains a list of arguments
+
+ # Use SURFRAW_lang if present and the country has not been changed
+-if test -n "$SURFRAW_lang" -a "$SURFRAW_google_country" == "us"; then
++if test -n "$SURFRAW_lang" -a "$SURFRAW_google_country" = "us"; then
+ SURFRAW_google_country=$SURFRAW_lang;
+ fi
+