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

Pierre Schmitz pierre at archlinux.org
Sun Oct 10 18:35:11 UTC 2010


    Date: Sunday, October 10, 2010 @ 14:35:10
  Author: pierre
Revision: 94764

Enabled bundled gd as the external lib is unmaintained and lacks features.

Modified:
  php/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-10-10 18:19:32 UTC (rev 94763)
+++ PKGBUILD	2010-10-10 18:35:10 UTC (rev 94764)
@@ -23,15 +23,15 @@
          'php-tidy'
          'php-xsl')
 pkgver=5.3.3
-pkgrel=1
+pkgrel=2
 _suhosinver=${pkgver}-0.9.10
 arch=('i686' 'x86_64')
 license=('PHP')
 url='http://www.php.net'
 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' 'libevent')
+             'libmcrypt' 'tidyhtml' 'aspell' 'libtool' 'libpng' 'libjpeg' 'icu'
+             'curl' 'libxslt' 'openssl' 'bzip2' 'db' 'gmp' 'libevent' 'freetype2')
 options=('!makeflags')
 source=("http://www.php.net/distributions/${pkgbase}-${pkgver}.tar.bz2"
         "http://download.suhosin.org/suhosin-patch-${_suhosinver}.patch.gz"
@@ -92,7 +92,7 @@
 		--with-db4=/usr \
 		--with-enchant=shared,/usr \
 		--with-freetype-dir=shared,/usr \
-		--with-gd=shared,/usr \
+		--with-gd=shared \
 		--with-gdbm=shared \
 		--with-gettext=shared \
 		--with-gmp=shared \
@@ -291,7 +291,7 @@
 }
 
 package_php-gd() {
-	depends=('php' 'gd')
+	depends=('php' 'libpng' 'libjpeg' 'freetype2')
 	pkgdesc='gd module for PHP'
 	install -D -m755 ${srcdir}/build-php/modules/gd.so ${pkgdir}/usr/lib/php/modules/gd.so
 }




More information about the arch-commits mailing list