aboutsummaryrefslogtreecommitdiffstats
path: root/lang/php53
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-05-08 07:30:30 +0800
committerale <ale@FreeBSD.org>2004-05-08 07:30:30 +0800
commitc6aeef52e05478e99f6dd8d3be27830e2625f333 (patch)
tree30bcc1e82c88b5475744f0dfe51930874b354e78 /lang/php53
parent8813fa756c8acab3a2dddcc76653ab5662b033d2 (diff)
downloadfreebsd-ports-gnome-c6aeef52e05478e99f6dd8d3be27830e2625f333.tar.gz
freebsd-ports-gnome-c6aeef52e05478e99f6dd8d3be27830e2625f333.tar.zst
freebsd-ports-gnome-c6aeef52e05478e99f6dd8d3be27830e2625f333.zip
- Add sysvmsg extension [1]
- Add XML_RPC to PEAR bootstrap [2] - Use the official pcre fix [3] - Bump PORTREVISION Requested by: Andy Smith <andy@strugglers.net> [1] Submitted by: thierry [2] Obtained from: php CVS [3]
Diffstat (limited to 'lang/php53')
-rw-r--r--lang/php53/Makefile10
-rw-r--r--lang/php53/files/patch-pear::Makefile.frag21
-rw-r--r--lang/php53/pkg-plist6
-rw-r--r--lang/php53/scripts/configure.php1
-rw-r--r--lang/php53/scripts/php5_options1
5 files changed, 31 insertions, 8 deletions
diff --git a/lang/php53/Makefile b/lang/php53/Makefile
index 945262ec639e..141b51f0f23f 100644
--- a/lang/php53/Makefile
+++ b/lang/php53/Makefile
@@ -22,7 +22,7 @@
PORTNAME= php5
PORTVERSION= 5.0.0.r2
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES?= lang devel www
MASTER_SITES= http://www.php.net/distributions/:release \
http://it.php.net/distributions/:release \
@@ -135,8 +135,8 @@ ALL_OPTIONS= BCMATH BZIP2 CALENDAR CDB CRACK CTYPE CURL DB4 DBASE DBX DIO \
MYSQL MYSQLI NCURSES OPENLDAP OPENSSL ORACLE PCNTL PCRE PDFLIB \
POSIX POSTGRESQL PSPELL READLINE RECODE SESSION SHMOP \
SIMPLEXML SNMP SOAP SOCKETS SPL SQLITE SYBASEDB SYBASECT \
- SYSVSEM SYSVSHM TIDY TOKENIZER UNIXODBC WDDX XML XMLRPC XSL \
- YP ZLIB
+ SYSVMSG SYSVSEM SYSVSHM TIDY TOKENIZER UNIXODBC WDDX XML \
+ XMLRPC XSL YP ZLIB
.for opt in ${ALL_OPTIONS}
.if defined(WITH_${opt}) || defined(WITHOUT_${opt})
@@ -487,6 +487,10 @@ LIB_DEPENDS+= ct.2:${PORTSDIR}/databases/freetds
CONFIGURE_ARGS+=--with-sybase-ct=${LOCALBASE}
.endif
+.if defined(WITH_SYSVMSG)
+CONFIGURE_ARGS+=--enable-sysvmsg
+.endif
+
.if defined(WITH_SYSVSEM)
CONFIGURE_ARGS+=--enable-sysvsem
.endif
diff --git a/lang/php53/files/patch-pear::Makefile.frag b/lang/php53/files/patch-pear::Makefile.frag
index 060066c367b6..ee24944b46c6 100644
--- a/lang/php53/files/patch-pear::Makefile.frag
+++ b/lang/php53/files/patch-pear::Makefile.frag
@@ -1,6 +1,14 @@
---- pear/Makefile.frag.orig Sat Apr 12 01:48:37 2003
-+++ pear/Makefile.frag Sat May 17 10:08:54 2003
-@@ -13,10 +13,13 @@
+--- pear/Makefile.frag.orig Tue Sep 2 03:30:13 2003
++++ pear/Makefile.frag Thu Apr 22 23:52:40 2004
+@@ -1,6 +1,7 @@
+ # -*- makefile -*-
+
+ peardir=$(PEAR_INSTALLDIR)
++XML_RPC_ver=1.1.0
+
+ # Skip all php.ini files altogether
+ PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0
+@@ -13,10 +14,18 @@
install-pear:
@echo "Installing PEAR environment: $(INSTALL_ROOT)$(peardir)/"
@@ -12,11 +20,16 @@
- fi
+ @$(mkinstalldirs) $(INSTALL_ROOT)$(peardir)/bootstrap \
+ $(INSTALL_ROOT)$(peardir)/bootstrap/Archive \
-+ $(INSTALL_ROOT)$(peardir)/bootstrap/Console
++ $(INSTALL_ROOT)$(peardir)/bootstrap/Console \
++ $(INSTALL_ROOT)$(peardir)/bootstrap/XML \
++ $(INSTALL_ROOT)$(peardir)/bootstrap/XML/RPC
+ @cp $(srcdir)/PEAR.php $(srcdir)/System.php \
+ $(INSTALL_ROOT)$(peardir)/bootstrap
+ @cp $(srcdir)/Archive/*.php $(INSTALL_ROOT)$(peardir)/bootstrap/Archive
+ @cp $(srcdir)/Console/*.php $(INSTALL_ROOT)$(peardir)/bootstrap/Console
+ @cp -R $(srcdir)/OS $(INSTALL_ROOT)$(peardir)/bootstrap
+ @cp -R $(srcdir)/PEAR $(INSTALL_ROOT)$(peardir)/bootstrap
++ @tar xf $(srcdir)/packages/XML_RPC-$(XML_RPC_ver).tar
++ @cp XML_RPC-$(XML_RPC_ver)/RPC.php $(INSTALL_ROOT)$(peardir)/bootstrap/XML
++ @cp XML_RPC-$(XML_RPC_ver)/Server.php $(INSTALL_ROOT)$(peardir)/bootstrap/XML/RPC
diff --git a/lang/php53/pkg-plist b/lang/php53/pkg-plist
index 98373a3ea8e6..3147b9db3538 100644
--- a/lang/php53/pkg-plist
+++ b/lang/php53/pkg-plist
@@ -221,11 +221,13 @@ lib/php/build/shtool
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/DependencyDB.php
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Downloader.php
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/ErrorStack.php
+%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Frontend/CLI.php
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Installer.php
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Packager.php
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Registry.php
%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Remote.php
-%%CLI%%%%PEAR%%share/pear/bootstrap/PEAR/Frontend/CLI.php
+%%CLI%%%%PEAR%%share/pear/bootstrap/XML/RPC.php
+%%CLI%%%%PEAR%%share/pear/bootstrap/XML/RPC/Server.php
@dirrm include/php/TSRM
@dirrm include/php/Zend
@dirrm include/php/ext/libxml
@@ -249,5 +251,7 @@ lib/php/build/shtool
%%CLI%%%%PEAR%%@dirrm share/pear/bootstrap/PEAR/Command
%%CLI%%%%PEAR%%@dirrm share/pear/bootstrap/PEAR/Frontend
%%CLI%%%%PEAR%%@dirrm share/pear/bootstrap/PEAR
+%%CLI%%%%PEAR%%@dirrm share/pear/bootstrap/XML/RPC
+%%CLI%%%%PEAR%%@dirrm share/pear/bootstrap/XML
%%CLI%%%%PEAR%%@dirrm share/pear/bootstrap
%%CLI%%%%PEAR%%@unexec rmdir %D/share/pear 2> /dev/null || true
diff --git a/lang/php53/scripts/configure.php b/lang/php53/scripts/configure.php
index 73d1491b9cdf..12c146a7862a 100644
--- a/lang/php53/scripts/configure.php
+++ b/lang/php53/scripts/configure.php
@@ -72,6 +72,7 @@ SPL "Standard PHP Library support" ${WITH_SPL:-ON} \
SQLITE "sqlite support" ${WITH_SQLITE:-OFF} \
SYBASEDB "Sybase database support (DB-lib)" ${WITH_SYBASEDB:-OFF} \
SYBASECT "Sybase database support (CT-lib)" ${WITH_SYBASECT:-OFF} \
+SYSVMSG "System V message support" ${WITH_SYSVMSG:-OFF} \
SYSVSEM "System V semaphore support" ${WITH_SYSVSEM:-OFF} \
SYSVSHM "System V shared memory support" ${WITH_SYSVSHM:-OFF} \
TIDY "TIDY support" ${WITH_TIDY:-OFF} \
diff --git a/lang/php53/scripts/php5_options b/lang/php53/scripts/php5_options
index 1b251f0ddd68..b69ded811033 100644
--- a/lang/php53/scripts/php5_options
+++ b/lang/php53/scripts/php5_options
@@ -52,6 +52,7 @@ WITH_SPL=ON
WITH_SQLITE=ON
WITH_SYBASEDB=OFF
WITH_SYBASECT=OFF
+WITH_SYSVMSG=OFF
WITH_SYSVSEM=OFF
WITH_SYSVSHM=OFF
WITH_TIDY=OFF