summaryrefslogtreecommitdiffstats
path: root/main/php
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2011-04-15 13:01:10 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2011-04-15 13:01:10 +0000
commit524a6f813d1d4a3b966c7ddc06c763d8e011f746 (patch)
treee041fd519336e39042ce28a6ebbef253c8aa5be5 /main/php
parent48d2f540fb2a82c079c984425257787a78d972ce (diff)
downloadaports-524a6f813d1d4a3b966c7ddc06c763d8e011f746.tar.bz2
aports-524a6f813d1d4a3b966c7ddc06c763d8e011f746.tar.xz
main/php: added mssql support and remove old configure flags
Diffstat (limited to 'main/php')
-rw-r--r--main/php/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/main/php/APKBUILD b/main/php/APKBUILD
index 49009c8a8..e58363375 100644
--- a/main/php/APKBUILD
+++ b/main/php/APKBUILD
@@ -3,7 +3,7 @@
pkgname=php
pkgver=5.3.6
_suhosinver=5.3.6-0.9.10
-pkgrel=6
+pkgrel=7
pkgdesc="The PHP language runtime engine"
url="http://www.php.net/"
arch="all"
@@ -16,7 +16,7 @@ makedepends="pcre-dev libxml2-dev libiconv-dev openssl-dev zlib-dev bzip2-dev
gd-dev gmp-dev gettext-dev imap-dev aspell-dev
net-snmp-dev libxslt-dev openldap-dev pkgconfig
libgcrypt-dev apache2-dev apr-dev apr-util-dev libevent-dev
- readline-dev enchant-dev gdbm-dev"
+ readline-dev enchant-dev gdbm-dev freetds-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-common $pkgname-cgi
$pkgname-cli $pkgname-fpm $pkgname-apache2 $pkgname-embed
$pkgname-pear
@@ -67,6 +67,8 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-common $pkgname-cgi
$pkgname-xsl
$pkgname-zip
$pkgname-zlib
+ $pkgname-mssql
+ $pkgname-pdo_dblib
"
# http://download.suhosin.org/suhosin-patch-${_suhosinver}.patch.gz
@@ -139,7 +141,6 @@ build() {
--enable-dom=shared \
--with-enchant=shared \
--enable-exif=shared \
- --with-flatfile=shared \
--with-freetype-dir=shared,/usr \
--enable-ftp=shared \
--with-gd=shared,/usr \
@@ -151,7 +152,6 @@ build() {
--with-icu-dir=/usr \
--with-imap=shared \
--with-imap-ssl=shared \
- --with-inifile=shared \
--enable-intl=shared \
--with-jpeg-dir=shared,/usr \
--enable-json=shared \
@@ -198,6 +198,8 @@ build() {
--without-db2 \
--without-db3 \
--without-qdbm \
+ --with-mssql=shared \
+ --with-pdo-dblib=shared \
"
# cgi, fcgi, cli, pear and extensions
@@ -206,7 +208,6 @@ build() {
--disable-cli \
--enable-cgi \
--enable-cli \
- --with-pcntl \
--with-pear \
${_phpextensions} \
|| return 1
@@ -439,6 +440,8 @@ xmlrpc() { _mv_ext xmlrpc php-xml; }
xsl() { _mv_ext xsl php-dom; }
zip() { _mv_ext zip; }
zlib() { _mv_ext zlib; }
+mssql() { _mv_ext mssql; }
+pdo_dblib() { _mv_ext pdo_dblib "php-pdo freetds"; }
md5sums="2286f5a82a6e8397955a0025c1c2ad98 php-5.3.6.tar.bz2
5111e3be06d391f8772587c675240fab php-install-pear-xml.patch