# HG changeset patch # User Volker Grabsch # Date 1265321186 -3600 # Node ID dd87627dec3000b8a458f7b95e3641f1bd372509 # Parent b60e3e80a69e45ba03272d0fe2927c897e64f385 use autoconf for package libodbc++ diff -r b60e3e80a69e -r dd87627dec30 src/libodbc++-win32.patch --- a/src/libodbc++-win32.patch Thu Feb 04 22:10:47 2010 +0100 +++ b/src/libodbc++-win32.patch Thu Feb 04 23:06:26 2010 +0100 @@ -1,18 +1,17 @@ This file is part of mingw-cross-env. See doc/index.html or doc/README for further information. ---- libodbc++-0.2.5.orig/configure 2009-08-20 23:41:27.000000000 +0200 -+++ libodbc++-0.2.5/configure 2009-10-27 22:48:23.000000000 +0100 -@@ -22680,7 +22680,8 @@ +--- libodbc++-0.2.5.orig/configure.ac 2009-08-20 23:39:08.000000000 +0200 ++++ libodbc++-0.2.5/configure.ac 2010-02-04 22:40:32.000000000 +0100 +@@ -118,7 +118,7 @@ + if test "x$iodbc_ok" != "xyes" && + test "x$odbc_ok" != "xyes" then - { { echo "$as_me:$LINENO: error: No ODBC driver manager configured. Pperhaps you need to give configure --with-odbc=/some/location?" >&5 - echo "$as_me: error: No ODBC driver manager configured. Pperhaps you need to give configure --with-odbc=/some/location?" >&2;} -- { (exit 1); exit 1; }; } -+ #{ (exit 1); exit 1; }; } -+} +- AC_MSG_ERROR([No ODBC driver manager configured. Pperhaps you need to give configure --with-odbc=/some/location?]) ++ AC_MSG_WARN([No ODBC driver manager configured. Pperhaps you need to give configure --with-odbc=/some/location?]) fi - + AC_ARG_WITH(odbc-version, --- libodbc++-0.2.5.orig/src/datastream.h 2009-01-06 12:20:05.000000000 +0100 +++ libodbc++-0.2.5/src/datastream.h 2009-10-27 23:14:22.000000000 +0100 @@ -35,7 +35,7 @@ diff -r b60e3e80a69e -r dd87627dec30 src/libodbc++.mk --- a/src/libodbc++.mk Thu Feb 04 22:10:47 2010 +0100 +++ b/src/libodbc++.mk Thu Feb 04 23:06:26 2010 +0100 @@ -20,6 +20,10 @@ endef define $(PKG)_BUILD + cd '$(1)' && autoconf + touch '$(1)/aclocal.m4' + touch '$(1)/Makefile.in' + touch '$(1)/config.h.in' cd '$(1)' && ./configure \ --prefix='$(PREFIX)/$(TARGET)' \ --host='$(TARGET)' \