diff options
Diffstat (limited to 'lang/php53')
-rw-r--r-- | lang/php53/Makefile | 11 | ||||
-rw-r--r-- | lang/php53/Makefile.ext | 3 | ||||
-rw-r--r-- | lang/php53/distinfo | 4 | ||||
-rw-r--r-- | lang/php53/files/patch-configure | 38 |
4 files changed, 47 insertions, 9 deletions
diff --git a/lang/php53/Makefile b/lang/php53/Makefile index 200cb723b10a..c53f32b7a13b 100644 --- a/lang/php53/Makefile +++ b/lang/php53/Makefile @@ -6,7 +6,7 @@ # PORTNAME= php5 -PORTVERSION= 5.0.1 +PORTVERSION= 5.0.2 PORTREVISION?= 0 CATEGORIES?= lang devel www MASTER_SITES= ${MASTER_SITE_PHP:S,$,:release,} \ @@ -111,12 +111,8 @@ SAPI_FILE= bin/php .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 500016 -WITH_PTHREAD_LIBS?= ${PTHREAD_LIBS:S/-l//} -WITH_PTHREAD_CFLAGS?= ${PTHREAD_CFLAGS} -CONFIGURE_ENV= ac_cv_pthreads_lib=${WITH_PTHREAD_LIBS} \ - ac_cv_pthreads_cflags=${WITH_PTHREAD_CFLAGS} -.endif +CONFIGURE_ENV= ac_cv_pthreads_lib=${PTHREAD_LIBS} \ + ac_cv_pthreads_cflags=${PTHREAD_CFLAGS} .if defined(WITH_APACHE) .if exists(${LOCALBASE}/include/apache2/httpd.h) @@ -172,6 +168,7 @@ PHP_PORT= ${.CURDIR:S|^${_PORTSDIR}||:S|^/||} post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* + @${REINPLACE_CMD} "s|<crypt.h>|<unistd.h>|g" ${WRKSRC}/configure .if ${PHP_SAPI} == "full" pre-configure: diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext index 2dac9b267630..5cab0e1de822 100644 --- a/lang/php53/Makefile.ext +++ b/lang/php53/Makefile.ext @@ -69,6 +69,9 @@ CONFIGURE_ARGS+=--enable-dom \ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 + +USE_PHP= simplexml +USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "exif" diff --git a/lang/php53/distinfo b/lang/php53/distinfo index 52176fd735bb..72641fbb1bd2 100644 --- a/lang/php53/distinfo +++ b/lang/php53/distinfo @@ -1,2 +1,2 @@ -MD5 (php-5.0.1.tar.bz2) = b12042826ddba29fba3ae5a2eac3c391 -SIZE (php-5.0.1.tar.bz2) = 4569781 +MD5 (php-5.0.2.tar.bz2) = 579f82f3d6a61b669183b2ebce357a1e +SIZE (php-5.0.2.tar.bz2) = 4577974 diff --git a/lang/php53/files/patch-configure b/lang/php53/files/patch-configure new file mode 100644 index 000000000000..a56d0519cb51 --- /dev/null +++ b/lang/php53/files/patch-configure @@ -0,0 +1,38 @@ +--- configure.orig Mon Oct 11 15:51:58 2004 ++++ configure Mon Oct 11 15:52:26 2004 +@@ -2649,7 +2649,7 @@ + save_LIBS=$LIBS + + if test -n "$ac_cv_pthreads_lib"; then +- LIBS="$LIBS -l$ac_cv_pthreads_lib" ++ LIBS="$LIBS $ac_cv_pthreads_lib" + fi + + if test -n "$ac_cv_pthreads_cflags"; then +@@ -10613,7 +10613,7 @@ + if test "$enable_maintainer_zts" = "yes"; then + + if test -n "$ac_cv_pthreads_lib"; then +- LIBS="$LIBS -l$ac_cv_pthreads_lib" ++ LIBS="$LIBS $ac_cv_pthreads_lib" + fi + + if test -n "$ac_cv_pthreads_cflags"; then +@@ -10630,8 +10630,6 @@ + case $host_alias in + *solaris*) + PTHREAD_FLAGS="-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT";; +- *freebsd*) +- PTHREAD_FLAGS="-D_REENTRANT -D_THREAD_SAFE";; + *linux*) + PTHREAD_FLAGS=-D_REENTRANT;; + *aix*) +@@ -88453,7 +88451,7 @@ + save_LIBS=$LIBS + + if test -n "$ac_cv_pthreads_lib"; then +- LIBS="$LIBS -l$ac_cv_pthreads_lib" ++ LIBS="$LIBS $ac_cv_pthreads_lib" + fi + + if test -n "$ac_cv_pthreads_cflags"; then |