pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libbson



Module Name:    pkgsrc
Committed By:   joerg
Date:           Mon Jul  3 18:11:27 UTC 2017

Modified Files:
        pkgsrc/devel/libbson: distinfo
Added Files:
        pkgsrc/devel/libbson/patches: patch-configure

Log Message:
Fix nonsense shell syntax. From Robert Elz.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/libbson/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/devel/libbson/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/libbson/distinfo
diff -u pkgsrc/devel/libbson/distinfo:1.23 pkgsrc/devel/libbson/distinfo:1.24
--- pkgsrc/devel/libbson/distinfo:1.23  Wed Jun 14 10:24:15 2017
+++ pkgsrc/devel/libbson/distinfo       Mon Jul  3 18:11:27 2017
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.23 2017/06/14 10:24:15 fhajny Exp $
+$NetBSD: distinfo,v 1.24 2017/07/03 18:11:27 joerg Exp $
 
 SHA1 (libbson-1.6.3.tar.gz) = 3571026b7d1819f8ff64dec238e58e44d826021b
 RMD160 (libbson-1.6.3.tar.gz) = 3c81ea50475c889c960dd7c4d7eb636da4e3273e
 SHA512 (libbson-1.6.3.tar.gz) = 602f700dbb268e5eeeb36d39f63499ce9a253f915042ef2f620b3cceddf449284eab583ac2e950e150a2edb75ade189e3624b2cbe96097db501e1359d0b9c1d9
 Size (libbson-1.6.3.tar.gz) = 4831170 bytes
+SHA1 (patch-configure) = fc1e56e8e0d823801446440e59926b11caa388a8

Added files:

Index: pkgsrc/devel/libbson/patches/patch-configure
diff -u /dev/null pkgsrc/devel/libbson/patches/patch-configure:1.3
--- /dev/null   Mon Jul  3 18:11:27 2017
+++ pkgsrc/devel/libbson/patches/patch-configure        Mon Jul  3 18:11:27 2017
@@ -0,0 +1,19 @@
+$NetBSD: patch-configure,v 1.3 2017/07/03 18:11:27 joerg Exp $
+
+$(( starts arithmetic expressions, not command evaluation.
+
+--- configure.orig     2017-07-02 23:03:45.185136445 +0000
++++ configure
+@@ -2431,9 +2431,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ BSON_CURRENT_FILE=${srcdir}/VERSION_CURRENT
+ BSON_VERSION=$(cat $BSON_CURRENT_FILE)
+ # Ensure newline for "cut" implementations that need it, e.g. HP-UX.
+-BSON_MAJOR_VERSION=$((cat $BSON_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f1)
+-BSON_MINOR_VERSION=$((cat $BSON_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f2)
+-BSON_MICRO_VERSION=$((cat $BSON_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f3)
++BSON_MAJOR_VERSION=$( (cat $BSON_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f1)
++BSON_MINOR_VERSION=$( (cat $BSON_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f2)
++BSON_MICRO_VERSION=$( (cat $BSON_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f3)
+ BSON_PRERELEASE_VERSION=$(cut -s -d- -f2 $BSON_CURRENT_FILE)
+ 
+ 



Home | Main Index | Thread Index | Old Index