summaryrefslogtreecommitdiff
path: root/community/myodbc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-12 00:02:41 +0000
committerroot <root@rshg054.dnsready.net>2012-05-12 00:02:41 +0000
commite1da03cf5ba92abee0e3afd9dc4cef438ebf96c7 (patch)
tree233b060ecee707d77b6c0d3d91de90eb4beed13e /community/myodbc
parent2ced64d6aa5881fa575de1861c464c432deee26f (diff)
Sat May 12 00:02:41 UTC 2012
Diffstat (limited to 'community/myodbc')
-rw-r--r--community/myodbc/PKGBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/community/myodbc/PKGBUILD b/community/myodbc/PKGBUILD
index 76c3667a8..f7431306e 100644
--- a/community/myodbc/PKGBUILD
+++ b/community/myodbc/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 70209 2012-05-02 12:44:37Z spupykin $
+# $Id: PKGBUILD 70531 2012-05-10 15:58:32Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=myodbc
pkgver=5.1.11
-pkgrel=1
+pkgrel=2
pkgdesc="ODBC driver/connector for MySQL"
arch=(i686 x86_64)
url="http://dev.mysql.com/downloads/connector/odbc/"
@@ -18,6 +18,13 @@ md5sums=('1d868f404038bbce6623a28255c8a9f7'
build() {
cd $srcdir/mysql-connector-odbc-${pkgver}-src
cp $srcdir/myconf.h.in driver/myconf.h.in
+ patch driver/Makefile.am <<EOF
+55c55,56
+< driver.h
+---
+> driver.h \\
+> my_stmt.c
+EOF
[ -x configure ] || { aclocal; libtoolize; automake --add-missing; autoreconf; }
[ -f Makefile ] || CFLAGS="$CFLAGS -DTHREAD" \
./configure --prefix=/usr --sysconfdir=/etc --with-unixODBC=/usr --with-odbc-ini=/etc/odbc.ini \