pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mongo-c-driver Fix illegal shell syntax. Pac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a5c27726e10a
branches:  trunk
changeset: 367984:a5c27726e10a
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sat Sep 09 16:15:45 2017 +0000

description:
Fix illegal shell syntax. Package now builds.

diffstat:

 databases/mongo-c-driver/distinfo                |   3 ++-
 databases/mongo-c-driver/patches/patch-configure |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 4733420c3f25 -r a5c27726e10a databases/mongo-c-driver/distinfo
--- a/databases/mongo-c-driver/distinfo Sat Sep 09 16:14:23 2017 +0000
+++ b/databases/mongo-c-driver/distinfo Sat Sep 09 16:15:45 2017 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.24 2017/08/17 17:04:35 fhajny Exp $
+$NetBSD: distinfo,v 1.25 2017/09/09 16:15:45 dholland Exp $
 
 SHA1 (mongo-c-driver-1.7.0.tar.gz) = 92c4a951e3c38ec3ea14d7d545be1afce3b59fb6
 RMD160 (mongo-c-driver-1.7.0.tar.gz) = 703cdf6f76238f5dc7fdc00ca33168958fa923ca
 SHA512 (mongo-c-driver-1.7.0.tar.gz) = 4e383da2d35ad7b09519b14778242ed36703eec31dae1f8bf486dca32b9cfc71ff810faa30b80512c38ef7c9d1bb3643a0153c4a74c102e0a0a8178eb598f46e
 Size (mongo-c-driver-1.7.0.tar.gz) = 7151766 bytes
+SHA1 (patch-configure) = 13c0bf97cdad469d4f592564231f88b0222fa2a1
 SHA1 (patch-src_mongoc_mongoc-cursor.c) = 9e0ada19f237972c9671bd90ff656ab9249f694f
diff -r 4733420c3f25 -r a5c27726e10a databases/mongo-c-driver/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mongo-c-driver/patches/patch-configure  Sat Sep 09 16:15:45 2017 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-configure,v 1.3 2017/09/09 16:15:45 dholland Exp $
+
+Fix illegal shell syntax.
+
+--- configure~ 2017-08-09 16:16:15.000000000 +0000
++++ configure
+@@ -2708,9 +2708,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ MONGOC_CURRENT_FILE=${srcdir}/VERSION_CURRENT
+ MONGOC_VERSION=$(cat $MONGOC_CURRENT_FILE)
+ # Ensure newline for "cut" implementations that need it, e.g. HP-UX.
+-MONGOC_MAJOR_VERSION=$((cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f1)
+-MONGOC_MINOR_VERSION=$((cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f2)
+-MONGOC_MICRO_VERSION=$((cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f3)
++MONGOC_MAJOR_VERSION=$( (cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f1)
++MONGOC_MINOR_VERSION=$( (cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f2)
++MONGOC_MICRO_VERSION=$( (cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f3)
+ MONGOC_PRERELEASE_VERSION=$(cut -s -d- -f2 $MONGOC_CURRENT_FILE)
+ 
+ 



Home | Main Index | Thread Index | Old Index