mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
php: enable more features.
This commit is contained in:
@@ -5,7 +5,7 @@ especially suited to web development.
|
||||
Fast, flexible and pragmatic, PHP powers everything from your blog to the most \
|
||||
popular websites in the world."
|
||||
HOMEPAGE="https://php.net"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
COPYRIGHT="2001-2014 PHP Group"
|
||||
LICENSE="PHP License v3.01"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
@@ -13,7 +13,7 @@ ARCHITECTURES="x86_gcc2"
|
||||
SRC_URI="https://php.net/get/php-$portVersion.tar.bz2/from/this/mirror"
|
||||
CHECKSUM_SHA256="576f9001b612f5ddc22f447311bbec321e2c959b6a52259d664c4ba04ef044f1"
|
||||
SRC_FILENAME="php-$portVersion.tar.bz2"
|
||||
PATCHES="php-$portVersion.patchset"
|
||||
PATCHES="php-$portVersion.patch"
|
||||
|
||||
PROVIDES="
|
||||
php = $portVersion
|
||||
@@ -34,28 +34,68 @@ GLOBAL_WRITABLE_FILES="
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
icu
|
||||
lib:libxml2
|
||||
lib:libz
|
||||
lib:libssl
|
||||
lib:libcrypto
|
||||
lib:libcurl
|
||||
|
||||
lib:libpng16
|
||||
lib:libjpeg
|
||||
lib:libfreetype
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
icu_devel
|
||||
devel:libxml2
|
||||
devel:libz
|
||||
devel:libssl
|
||||
devel:libcrypto
|
||||
devel:libcurl
|
||||
|
||||
devel:libpng16
|
||||
devel:libjpeg
|
||||
devel:libfreetype
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:autoreconf
|
||||
cmd:awk
|
||||
cmd:bison
|
||||
cmd:dos2unix
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:pkg_config
|
||||
cmd:freetype_config
|
||||
cmd:xml2_config
|
||||
cmd:icu_config
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
dos2unix Zend/zend_language_scanner.l
|
||||
dos2unix Zend/zend_language_scanner.c
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure --with-libxml-dir=/system --without-iconv
|
||||
dos2unix Zend/zend_language_scanner.l
|
||||
dos2unix Zend/zend_language_scanner.c
|
||||
autoreconf
|
||||
runConfigure ./configure \
|
||||
--with-libxml-dir=/system \
|
||||
--with-zlib-dir=/system \
|
||||
--with-openssl \
|
||||
--with-curl \
|
||||
--with-gd \
|
||||
--with-png-dir=/system \
|
||||
--with-jpeg-dir=/system \
|
||||
--with-freetype-dir=/system \
|
||||
--disable-opcache \
|
||||
--enable-intl \
|
||||
--enable-ftp \
|
||||
--enable-soap \
|
||||
--without-iconv \
|
||||
--disable-debug
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user