mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Continuing work on PHP-5.3.5, enabled a few more build options. It's not finding zlib for some reason so that's #'d out for now.
It fails to compile if sockets is enabled, failing at php-5.3.5/ext/sockets/sockets.c:632
This commit is contained in:
@@ -4,7 +4,8 @@ SRC_URI="http://php.net/distributions/php-5.3.5.tar.bz2"
|
||||
CHECKSUM_MD5="8aaf20c95e91f25c5b6a591e5d6d61b9"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="dev-libs/libpcre >= 8.00"
|
||||
DEPEND="dev-libs/libpcre >= 8.00
|
||||
"
|
||||
BUILD {
|
||||
cd php-5.3.5
|
||||
libtoolize --force --copy --install
|
||||
@@ -12,10 +13,30 @@ BUILD {
|
||||
autoconf
|
||||
export LIBS="-lnetwork"
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--includedir=`finddir B_COMMON_DIRECTORY`/include \
|
||||
--libdir=`finddir B_COMMON_LIB_DIRECTORY` \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--enable-dom \
|
||||
--enable-sqlite-utf8 \
|
||||
--enable-xml=shared \
|
||||
--enable-dba=shared \
|
||||
--enable-ftp \
|
||||
--enable-sqlite-utf8 \
|
||||
# --enable-sockets \
|
||||
--with-bz2=/boot/system/lib \
|
||||
# --with-zlib-dir=/boot/develop/headers/3rdparty/ \
|
||||
--with-icu-dir=/boot/system/lib \
|
||||
--with-libxml-dir=`finddir B_COMMON_DIRECTORY` \
|
||||
# --with-gd-dir=`finddir B_COMMON_DIRECTORY` \
|
||||
# --with-png-dir=`finddir B_COMMON_DIRECTORY` \
|
||||
# --with-jpeg-dir=`finddir B_COMMON_LIB_DIRECTORY` \
|
||||
# --with-readline=`finddir B_COMMON_DIRECTORY` \
|
||||
--with-freetype-dir=/boot/develop/headers/3rdparty/freetype \
|
||||
--with-openssl-dir=`finddir B_COMMON_DIRECTORY` \
|
||||
--with-openssl=shared,`finddir B_COMMON_DIRECTORY` \
|
||||
--without-iconv
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user