[arch-commits] Commit in php/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Mon Nov 23 15:55:25 EST 2009


    Date: Monday, November 23, 2009 @ 15:55:25
  Author: pierre
Revision: 59430

Modified:
  php/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-11-23 20:20:51 UTC (rev 59429)
+++ PKGBUILD	2009-11-23 20:55:25 UTC (rev 59430)
@@ -29,7 +29,7 @@
 makedepends=('apache' 'imap' 'postgresql-libs' 'mysql' 'libldap' 'postfix'
              'sqlite3' 'unixodbc' 'net-snmp' 'libzip' 'enchant' 'file'
              'libmcrypt' 'tidyhtml' 'aspell' 'libtool' 'gd'  'icu'
-             'curl' 'libxslt' 'openssl' 'bzip2' 'db' 'gmp' 'libsasl')
+             'curl' 'libxslt' 'openssl' 'bzip2' 'db' 'gmp')
 options=('!makeflags')
 source=("http://www.php.net/distributions/${pkgbase}-${pkgver}.tar.bz2"
         "http://download.suhosin.org/suhosin-patch-${_suhosinver}.patch.gz"
@@ -42,6 +42,9 @@
          '65aaf083ff570fa19ffb4679bdda1ada')
 
 build() {
+	# ldap-sasl does not compile with --as-needed
+	export LDFLAGS="-Wl,--hash-style=gnu"
+
 	phpconfig="--prefix=/usr \
 		--sysconfdir=/etc/php \
 		--with-layout=GNU \
@@ -268,7 +271,7 @@
 }
 
 package_php-ldap() {
-	depends=('php' 'libldap' 'libsasl')
+	depends=('php' 'libldap')
 	pkgdesc="ldap module for PHP"
 	install -D -m755 ${srcdir}/build-php/modules/ldap.so ${pkgdir}/usr/lib/php/modules/ldap.so
 }



More information about the arch-commits mailing list