diff options
author | sibel <lesibel@free.fr> | 2011-05-04 12:28:12 +0200 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-05-04 12:28:12 +0200 |
commit | f193c4927be2dad20a283de5ed65bf2109f2beb0 (patch) | |
tree | ba97eaffc87a4d9173f6e9ed154c92e1ed54648c /extra/myodbc/Pkgfile | |
parent | 031efac68c7c64830286ae647c037d420a200e69 (diff) | |
download | nutyx-extra-f193c4927be2dad20a283de5ed65bf2109f2beb0.tar.gz nutyx-extra-f193c4927be2dad20a283de5ed65bf2109f2beb0.tar.bz2 nutyx-extra-f193c4927be2dad20a283de5ed65bf2109f2beb0.tar.xz nutyx-extra-f193c4927be2dad20a283de5ed65bf2109f2beb0.zip |
myodbc 5.1.8-1 correction port
Diffstat (limited to 'extra/myodbc/Pkgfile')
-rw-r--r-- | extra/myodbc/Pkgfile | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/extra/myodbc/Pkgfile b/extra/myodbc/Pkgfile index 8821cee92..3ba68a1e9 100644 --- a/extra/myodbc/Pkgfile +++ b/extra/myodbc/Pkgfile @@ -8,13 +8,29 @@ name=myodbc version=5.1.8 release=1 -source=(http://mirror.switch.ch/mirror/mysql/Downloads/Connector-ODBC/5.1/mysql-connector-odbc-$version.tar.gz ) +source=(http://mirror.switch.ch/mirror/mysql/Downloads/Connector-ODBC/5.1/mysql-connector-odbc-$version.tar.gz + myodbc-64bit.patch + myodbc-add-mysys.patch + myodbc-my-free.patch + myodbc-shutdown.patch ) build () { cd mysql-connector-odbc-$version - [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --sysconfdir=/etc --with-unixODBC=/usr \ - --with-mysql-path=/usr --without-x --disable-gui --enable-shared \ - --disable-static + + [ $NOEXTRACT -eq 1 ] || patch -p1 < $SRC/myodbc-64bit.patch + [ $NOEXTRACT -eq 1 ] || patch -p1 < $SRC/myodbc-add-mysys.patch + [ $NOEXTRACT -eq 1 ] || patch -p1 < $SRC/myodbc-my-free.patch + [ $NOEXTRACT -eq 1 ] || patch -p1 < $SRC/myodbc-shutdown.patch + + [ $NOEXTRACT -eq 1 ] || CFLAGS=-DTHREAD LDFLAGS=-lmysqld ./configure --prefix=/usr --sysconfdir=/etc --with-unixODBC=/usr \ + --with-mysql-path=/usr --without-samples --enable-thread-safe \ + --without-x --without-qt --disable-gui --enable-shared \ + --disable-static --disable-test + +# [ $NOEXTRACT -eq 1 ] || CFLAGS=-DTHREAD LDFLAGS=-lmysqld ./configure --prefix=/usr \ +# --sysconfdir=/etc --with-unixODBC=/usr \ +# --with-mysql-path=/usr --without-x --disable-gui --enable-shared \ +# --disable-static make make DESTDIR=$PKG install } |