diff options
author | dholland <dholland@pkgsrc.org> | 2017-09-09 16:15:45 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2017-09-09 16:15:45 +0000 |
commit | 3db8dd83036767f382a9b94815a8a4823638110c (patch) | |
tree | d3d8be2365506e610d8144ef4c999aed0d6b9eb1 /databases/mongo-c-driver | |
parent | 182320f5144e5a8c0c2dfdb9569594a0f40eca7f (diff) | |
download | pkgsrc-3db8dd83036767f382a9b94815a8a4823638110c.tar.gz |
Fix illegal shell syntax. Package now builds.
Diffstat (limited to 'databases/mongo-c-driver')
-rw-r--r-- | databases/mongo-c-driver/distinfo | 3 | ||||
-rw-r--r-- | databases/mongo-c-driver/patches/patch-configure | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/databases/mongo-c-driver/distinfo b/databases/mongo-c-driver/distinfo index 71c097f0913..771a896afe9 100644 --- a/databases/mongo-c-driver/distinfo +++ b/databases/mongo-c-driver/distinfo @@ -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 --git a/databases/mongo-c-driver/patches/patch-configure b/databases/mongo-c-driver/patches/patch-configure new file mode 100644 index 00000000000..0e09e81cd62 --- /dev/null +++ b/databases/mongo-c-driver/patches/patch-configure @@ -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) + + |