summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2013-10-28 06:37:17 +0000
committerrichard <richard@pkgsrc.org>2013-10-28 06:37:17 +0000
commit08d6a7de7dbcce164cc595a11a10265148b24c8c (patch)
treecb03da1e0131f1c9f9c36d3b3afe2d6242e9ebfc /misc
parentb3da0789cd528a828893dc189835213420930298 (diff)
downloadpkgsrc-08d6a7de7dbcce164cc595a11a10265148b24c8c.tar.gz
replace non-portable 'echo -n' utilisation with simple 'awk' statement
Diffstat (limited to 'misc')
-rw-r--r--misc/gok/distinfo3
-rw-r--r--misc/gok/patches/patch-configure16
2 files changed, 18 insertions, 1 deletions
diff --git a/misc/gok/distinfo b/misc/gok/distinfo
index e682e6e880b..740212ecc2e 100644
--- a/misc/gok/distinfo
+++ b/misc/gok/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.24 2009/11/17 16:54:31 wiz Exp $
+$NetBSD: distinfo,v 1.25 2013/10/28 06:37:17 richard Exp $
SHA1 (gok-2.28.1.tar.bz2) = 194080d2c4993061af3abd48d3a2a14393cef1c4
RMD160 (gok-2.28.1.tar.bz2) = d4cf9a2a10e1c0fb87d70f161e1fa3ee39f71c9b
Size (gok-2.28.1.tar.bz2) = 1588038 bytes
+SHA1 (patch-configure) = bf4f2b704005a43da0c32223394fd046bf50e216
diff --git a/misc/gok/patches/patch-configure b/misc/gok/patches/patch-configure
new file mode 100644
index 00000000000..65bd3617527
--- /dev/null
+++ b/misc/gok/patches/patch-configure
@@ -0,0 +1,16 @@
+$NetBSD: patch-configure,v 1.1 2013/10/28 06:37:17 richard Exp $
+
+* fix non-portable 'echo -n' utilisation by replacing statement
+* with simple 'awk' invocation.
+
+--- configure.orig 2009-10-19 16:02:17.000000000 +0000
++++ configure
+@@ -13740,7 +13740,7 @@ LIBBONOBO_IDL_DIR="`$PKG_CONFIG --variab
+
+
+
+-LANGDIRS="`$GREP -v "^\#" po/LINGUAS | while read line; do echo -n "$line/ "; done `"
++LANGDIRS="`$AWK 'BEGIN{ORS="/ "} /^\#/ {next} {print}' po/LINGUAS`"
+
+
+