PHP 5.4.0 : lang/php54

Mr Dandy oleg.ginzburg at nevosoft.ru
Sun Mar 11 16:26:06 UTC 2012


On Sunday 11 March 2012 19:29:09 Svyatoslav Lempert wrote:
> Hello,
> please look http://www.freebsd.org/cgi/query-pr.cgi?pr=165933

May be more correctly set PHP 5.4 by default to lang/php5, and repocopy 
current lang/php5 into lang/php53? 

Probably current maintainer of php (@ale) has the plan ;)

PS: It will be nice to add an option for build PHP with DTRACE support:

--- php54.orig/Makefile 2012-03-11 19:52:35.235493071 +0400
+++ php54/Makefile      2012-03-11 19:48:13.000000000 +0400
@@ -46,6 +46,7 @@
                MULTIBYTE "Enable zend multibyte support" off \
                IPV6 "Enable ipv6 support" on \
                MAILHEAD "Enable mail header patch" off \
+               DTRACE "Build with DTrace probes" off
 
 CONFLICTS=     php4-4* php5-pcre-* php5-spl-* php52-*
 
@@ -132,6 +133,10 @@
 CONFIGURE_ARGS+=--disable-ipv6
 .endif
 
+.if defined(WITH_DTRACE)
+CONFIGURE_ARGS+=--enable-dtrace
+.endif
+
 post-patch:
        @${TOUCH} ${WRKSRC}/ext/php_config.h
        @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-*



More information about the freebsd-ports mailing list