Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2012 20:26:30 +0400
From:      Mr Dandy <oleg.ginzburg@nevosoft.ru>
To:        freebsd-ports@freebsd.org
Cc:        Svyatoslav Lempert <svyatoslav.lempert@gmail.com>, Alex Dupre <sysadmin@alexdupre.com>
Subject:   Re: PHP 5.4.0 : lang/php54
Message-ID:  <201203112026.30630.subbsd@gmail.com>
In-Reply-To: <CAERaTk--Qb4ez2qYOjk51qws_2G0jcj4qZLGdeY-nZV1C3jjHA@mail.gmail.com>
References:  <CAERaTk--Qb4ez2qYOjk51qws_2G0jcj4qZLGdeY-nZV1C3jjHA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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-*




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203112026.30630.subbsd>