head 1.4; access; symbols pkgsrc-2017Q3:1.3.0.4 pkgsrc-2017Q3-base:1.3 pkgsrc-2014Q2:1.1.0.2 pkgsrc-2014Q2-base:1.1; locks; strict; comment @# @; 1.4 date 2017.10.13.14.27.54; author fhajny; state dead; branches; next 1.3; commitid Cif2mE5U2DHxPTaA; 1.3 date 2017.09.09.16.15.45; author dholland; state Exp; branches; next 1.2; commitid Sjb9FAsaA8wnwx6A; 1.2 date 2014.07.18.10.41.43; author fhajny; state dead; branches; next 1.1; commitid aLhgmRCvy51DBQIx; 1.1 date 2014.05.07.15.47.00; author fhajny; state Exp; branches; next ; commitid pE7oInX9FVqJBCzx; desc @@ 1.4 log @Update databases/mongo-c-driver to 1.8.1. - Remove a syntax error in the configure script that affects some shells. - The configure script respects --with-zlib=system and --with-snappy=system. - The internal mongoc_server_description_t struct is properly reinitialized after a network error. - Fix the encoding of this NEWS file. @ text @$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) @ 1.3 log @Fix illegal shell syntax. Package now builds. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update mongo-c-driver to 0.98.0. Changes in 0.98.0: - This release is primarily a bugfix release and stabilization effort as we approach 1.0 of the MongoDB C driver. - This release requires 0.98.0 of Libbson for improvements to the memory management system. You can now setup custom memory allocators at the start of the process. Changes in 0.96.4: - build/mci.sh script for automatically building Debian packages, RPMs, and Solaris packaging based on the host operating system. - Various libbson improvements, now depending on 0.8.4. - Alignment fixes for Solaris Studio C compiler via libbson. - Addition of mongoc_gridfs_remove_by_filename() for removing a file from gridfs by filename. - client command functions can now take a fully qualified namespace. - collections can now support names that indicate a command namespace. - Commands will no longer fail if they do not contain an "ok" field. - OP_QUERY will now set the slaveOk bit in the wire protocol if readPreferences are set to non-PRIMARY. - Various documentation and build fixes. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2014/05/07 15:47:00 fhajny Exp $ d3 3 a5 2 Portability. --- configure.orig 2014-05-07 12:31:31.154464044 +0000 d7 12 a18 3 @@@@ -19156,7 +19156,7 @@@@ else ax_python_lib=no fi a19 5 - if test x$ax_python_lib == xno; then + if test x$ax_python_lib = xno; then as_ac_Lib=`$as_echo "ac_cv_lib_${ax_python_bin}m''_main" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l${ax_python_bin}m" >&5 $as_echo_n "checking for main in -l${ax_python_bin}m... " >&6; } @ 1.1 log @Import mongo-c-driver as databases/mongo-c-driver. mongo-c-driver is a client library written in C for MongoDB. @ text @d1 1 a1 1 $NetBSD$ @