[arch-commits] Commit in libmysqlclient/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Giovanni Scafora giovanni at archlinux.org
Wed Apr 15 19:13:23 EDT 2009


    Date: Wednesday, April 15, 2009 @ 19:13:22
  Author: giovanni
Revision: 35709

Merged revisions 35682 via svnmerge from 
svn+ssh://archlinux.org/srv/svn-packages/libmysqlclient/trunk

........
  r35682 | douglas | 2009-04-15 09:10:11 -0700 (mer, 15 apr 2009) | 2 lines
  
  upgpkg: libmysqlclient 5.1.33-2
      MySQL compiled with fpic that works with x86_64 to build amarok
........

Modified:
  libmysqlclient/repos/extra-x86_64/	(properties)
  libmysqlclient/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)


Property changes on: libmysqlclient/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /libmysqlclient/trunk:1-32978
   + /libmysqlclient/trunk:1-35708

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-04-15 22:50:12 UTC (rev 35708)
+++ extra-x86_64/PKGBUILD	2009-04-15 23:13:22 UTC (rev 35709)
@@ -3,7 +3,7 @@
 
 pkgname=libmysqlclient
 pkgver=5.1.33
-pkgrel=1
+pkgrel=2
 pkgdesc="MySQL client libraries"
 arch=(i686 x86_64)
 depends=('openssl' 'zlib')
@@ -14,8 +14,8 @@
 source=(ftp://ftp.pucpr.br/mysql/Downloads/MySQL-5.1/mysql-$pkgver.tar.gz)
 
 build() {
-  # PIC
-  export CFLAGS="-fPIC ${CFLAGS}"
+  CFLAGS="-fPIC ${CFLAGS}"
+  CXXFLAGS="-fPIC ${CXXFLAGS}"
   cd $startdir/src/mysql-${pkgver}
   ./configure --prefix=/usr --libexecdir=/usr/sbin \
     --localstatedir=/var --sysconfdir=/etc \
@@ -23,7 +23,7 @@
     --enable-local-infile --with-ssl \
     --with-charset=latin1 --with-collation=latin1_general_ci \
     --with-extra-charsets=complex --enable-thread-safe-client \
-    --with-embedded-server --with-libwrap
+    --with-embedded-server --with-libwrap --with-pic
 
   for dir in include strings mysys dbug storage regex extra vio sql; do
     pushd ${dir} || return 1
@@ -56,6 +56,4 @@
   ln -sf libmysqlclient_r.so.16 $startdir/pkg/usr/lib/libmysqlclient_r.so
   ln -sf libmysqlclient_r.so.16 $startdir/pkg/usr/lib/libmysqlclient_r.so.1
 }
-
-md5sums=('f2d14b5e3b9d50b809c9b9985e4513b7')
 md5sums=('9c5711e9bea4514df6f2659f283f0aa0')



More information about the arch-commits mailing list