From 26837c285949e84bcbda16c092dfc08c164bd271 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 23 Feb 2015 21:12:27 +0100 Subject: [PATCH] php: update to 5.6.6. --- srcpkgs/php/template | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/srcpkgs/php/template b/srcpkgs/php/template index 43015b94507..adea2ebe8e8 100644 --- a/srcpkgs/php/template +++ b/srcpkgs/php/template @@ -1,7 +1,7 @@ # Template build file for 'php' pkgname=php -version=5.6.4 -revision=4 +version=5.6.6 +revision=1 short_desc="An HTML-embedded scripting language" license="PHP" homepage="http://www.php.net" @@ -12,23 +12,15 @@ makedepends="postgresql-libs-devel libldap-devel libvpx-devel sqlite-devel aspell-devel libltdl-devel libpng-devel libjpeg-turbo-devel icu-devel>=54 libcurl-devel libxslt-devel libressl-devel>=2.1.3 bzip2-devel zlib-devel db-devel gmp-devel gdbm-devel freetype-devel apache-devel tidy-devel - readline-devel>=6.3 libmysqlclient-devel" + readline-devel>=6.3 libmysqlclient-devel $(vopt_if systemd systemd-devel)" conf_files="/etc/php/php.ini" distfiles="http://www.php.net/distributions/php-${version}.tar.gz" -checksum=9c318f10af598e3d0b306a00860cfeb13c34024a9032a59ff53e3cd3c7791e97 - -nocross=yes -lib32disabled=yes +checksum=164fb27bab0a0ca4902bc67d5f5638e43466c88153aee3b54546d8ec682ec03b # Package build options build_options="systemd" - -if [ "$build_option_systemd" ]; then - configure_args+=" --with-fpm-systemd" - makedepends+=" systemd-devel" -else - configure_args+=" --without-fpm-systemd" -fi +nocross=yes +lib32disabled=yes do_build() { local _phpconfig="--srcdir=.. \ @@ -98,6 +90,7 @@ do_build() { --with-xsl=shared \ --with-tidy=shared \ --with-zlib \ + $(vopt_with systemd fpm-systemd) \ ${configure_args} \ "