aboutsummaryrefslogtreecommitdiffstats
path: root/lang/php53
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2007-05-25 14:27:08 +0800
committerale <ale@FreeBSD.org>2007-05-25 14:27:08 +0800
commit484a0c17bca5871005149cb66684085c804e231e (patch)
tree1a21d7b33160db524c5f801a9e3bdc3743a6bb41 /lang/php53
parentf7fb2462d471fa62f96f2e81ab3442fc92a288ce (diff)
downloadfreebsd-ports-graphics-484a0c17bca5871005149cb66684085c804e231e.tar.gz
freebsd-ports-graphics-484a0c17bca5871005149cb66684085c804e231e.tar.zst
freebsd-ports-graphics-484a0c17bca5871005149cb66684085c804e231e.zip
- Mark php5-mbstring BROKEN on amd64 with FreeBSD 5
- Drop FreeBSD 4 bits
Diffstat (limited to 'lang/php53')
-rw-r--r--lang/php53/Makefile2
-rw-r--r--lang/php53/Makefile.ext8
2 files changed, 5 insertions, 5 deletions
diff --git a/lang/php53/Makefile b/lang/php53/Makefile
index 593c1c93e03..eb88b87ab9e 100644
--- a/lang/php53/Makefile
+++ b/lang/php53/Makefile
@@ -148,7 +148,7 @@ CONFIGURE_ARGS+=--enable-debug
CONFIGURE_ARGS+=--enable-zend-multibyte
.endif
-.if ${OSVERSION} < 400014 || defined(WITHOUT_IPV6)
+.if defined(WITHOUT_IPV6)
CONFIGURE_ARGS+=--disable-ipv6
.endif
diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext
index c248c1dc91d..7b8d1add671 100644
--- a/lang/php53/Makefile.ext
+++ b/lang/php53/Makefile.ext
@@ -556,6 +556,10 @@ CONFIGURE_ARGS+=--enable-gd-jis-conv
.endif
.if ${PHP_MODNAME} == "mbstring"
+. if ${OSVERSION} < 600000 && ${ARCH} == "amd64"
+BROKEN= Doesn't build on AMD64 with FreeBSD 5.x (varargs issue)
+. endif
+
. if defined(WITHOUT_REGEX)
CONFIGURE_ARGS+=--disable-mbregex
. endif
@@ -572,10 +576,6 @@ post-extract:
.endif
.if ${PHP_MODNAME} == "oci8" || ${PHP_MODNAME} == "pdo_oci"
-. if ${OSVERSION} < 500000
-BROKEN= Doesn't work on FreeBSD 4.x
-. endif
-
pre-configure:
@cd ${WRKSRC}; \
for lib in ${LOCALBASE}/oracle8-client/lib/libclntsh /usr/lib/libpthread; do \