From owner-freebsd-ports@FreeBSD.ORG Sun Mar 11 16:26:06 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6CDD1106564A for ; Sun, 11 Mar 2012 16:26:06 +0000 (UTC) (envelope-from oleg.ginzburg@nevosoft.ru) Received: from eu1sys200aog117.obsmtp.com (eu1sys200aog117.obsmtp.com [207.126.144.143]) by mx1.freebsd.org (Postfix) with SMTP id B76D18FC14 for ; Sun, 11 Mar 2012 16:26:05 +0000 (UTC) Received: from mail-bk0-f41.google.com ([209.85.214.41]) (using TLSv1) by eu1sys200aob117.postini.com ([207.126.147.11]) with SMTP ID DSNKT1zSHLjV77K6lrhtUP0HGxSKMLlGRQtu@postini.com; Sun, 11 Mar 2012 16:26:05 UTC Received: by bkwq16 with SMTP id q16so2595925bkw.0 for ; Sun, 11 Mar 2012 09:26:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id :x-gm-message-state; bh=fLy469bDlpPatR8kcor135OXiPXtkbywMJg80XTHxtA=; b=Fu61kt35eiPel+TpPZKH+6S8VlYLZaRAo2wA6EKk4h47SCmwoCrsAORG2jQRrLnJ7T n8Pr4RAuYl8cHGzrwyJB3y0BoT6SeuyhzBXDpI+tfcZld6aGhbxBbIVqdSVLQPH2o4Tb 9fpbTl/xLHJruFWbiViTQVTwHiW2wIst1GHpir49yTLxJjV9jfAkwneGw+wmeWq8pYWE iiaTWVtXZ+kwdeECZD6rQYU7B53lZKzb7g3Oa2yJP7BtXww5h11atFykets6tgmzMZ8p /2H/udbz74Hea2RwexwwMoB0B8AI3GB0DeP6u/TwTenIZVpdO3Htkyhz9nwu0JXAJYwo vX6A== Received: by 10.205.133.210 with SMTP id hz18mr3574187bkc.117.1331483164074; Sun, 11 Mar 2012 09:26:04 -0700 (PDT) Received: from gizmo.my.domain (nat140-249-205-109.tvoe.tv. [109.205.249.140]) by mx.google.com with ESMTPS id jc4sm20049161bkc.7.2012.03.11.09.26.02 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 11 Mar 2012 09:26:03 -0700 (PDT) From: Mr Dandy To: freebsd-ports@freebsd.org Date: Sun, 11 Mar 2012 20:26:30 +0400 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201203112026.30630.subbsd@gmail.com> X-Gm-Message-State: ALoCoQkpebqU7b+mDqAkW11jZK+i91L5QV2L9cHCuRWCL1Xcqz9omqClodj3rZ/8+4FF/HrBXVJj Cc: Svyatoslav Lempert , Alex Dupre Subject: Re: PHP 5.4.0 : lang/php54 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Mar 2012 16:26:06 -0000 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-*