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

Douglas Soares de Andrade douglas at archlinux.org
Wed Apr 15 12:10:49 EDT 2009


    Date: Wednesday, April 15, 2009 @ 12:10:49
  Author: douglas
Revision: 35683

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

........
  r35682 | douglas | 2009-04-15 13:10:11 -0300 (Qua, 15 Abr 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-i686/	(properties)
  libmysqlclient/repos/extra-i686/PKGBUILD

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


Property changes on: libmysqlclient/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /libmysqlclient/trunk:1-32948
   + /libmysqlclient/trunk:1-35682

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2009-04-15 16:10:11 UTC (rev 35682)
+++ extra-i686/PKGBUILD	2009-04-15 16:10:49 UTC (rev 35683)
@@ -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