From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 28 15:00:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 073A1300 for ; Mon, 28 Apr 2014 15:00:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DDF31186C for ; Mon, 28 Apr 2014 15:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3SF00j6069687 for ; Mon, 28 Apr 2014 15:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3SF00mH069686; Mon, 28 Apr 2014 15:00:00 GMT (envelope-from gnats) Resent-Date: Mon, 28 Apr 2014 15:00:00 GMT Resent-Message-Id: <201404281500.s3SF00mH069686@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ilya Bakulin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B203118B for ; Mon, 28 Apr 2014 14:52:03 +0000 (UTC) Received: from olymp.kibab.com (olymp6.kibab.com [IPv6:2a01:4f8:160:84c1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 775F217EB for ; Mon, 28 Apr 2014 14:52:03 +0000 (UTC) Message-Id: <20140428145155.684933F461@olymp.kibab.com> Date: Mon, 28 Apr 2014 16:51:55 +0200 (CEST) From: Ilya Bakulin To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/189076: [MAINTAINER] devel/php5-thrift: Unbreak build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2014 15:00:01 -0000 >Number: 189076 >Category: ports >Synopsis: [MAINTAINER] devel/php5-thrift: Unbreak build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Apr 28 15:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Ilya Bakulin >Release: FreeBSD 9.1-RELEASE-p11 amd64 >Organization: Deglitch Networks >Environment: System: FreeBSD olymp.kibab.com 9.1-RELEASE-p11 FreeBSD 9.1-RELEASE-p11 #0: Tue Apr 8 20:54:56 UTC >Description: For some unknown reason, the configuration file for creating PHP extension is missing in the distfile. Add it manually. Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- php5-thrift-0.9.1.patch begins here --- diff -ruN /usr/ports/devel/php5-thrift/Makefile ./Makefile --- /usr/ports/devel/php5-thrift/Makefile 2014-02-22 11:00:42.000000000 +0100 +++ ./Makefile 2014-04-28 16:20:00.000000000 +0200 @@ -6,21 +6,20 @@ CATEGORIES= devel PKGNAMEPREFIX= php5- DISTFILES= # empty + MAINTAINER= webmaster@kibab.com COMMENT= PHP interface to Thrift -BROKEN= Fails to configure - FETCH_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/devel/thrift:extract USE_PHP= yes + USE_PHPIZE= yes USE_PHPEXT= yes PHP_MODNAME= thrift_protocol WRKSRC= ${WRKDIR}/php/src/ext/thrift_protocol -NO_STAGE= yes post-extract: ${LN} -sfh \ `${MAKE} -C ${PORTSDIR}/devel/thrift -V WRKSRC`/lib/php \ diff -ruN /usr/ports/devel/php5-thrift/files/patch-php-src-ext-thrift_protocol-config.m4 ./files/patch-php-src-ext-thrift_protocol-config.m4 --- /usr/ports/devel/php5-thrift/files/patch-php-src-ext-thrift_protocol-config.m4 1970-01-01 01:00:00.000000000 +0100 +++ ./files/patch-php-src-ext-thrift_protocol-config.m4 2014-04-28 16:16:19.000000000 +0200 @@ -0,0 +1,17 @@ +--- /dev/null 1970-01-01 01:00:00.000000000 +0100 ++++ config.m4 2014-04-28 15:50:27.000000000 +0200 +@@ -0,0 +1,14 @@ ++dnl Copyright (C) 2009 Facebook ++dnl Copying and distribution of this file, with or without modification, ++dnl are permitted in any medium without royalty provided the copyright ++dnl notice and this notice are preserved. ++ ++PHP_ARG_ENABLE(thrift_protocol, whether to enable the thrift_protocol extension, ++[ --enable-thrift_protocol Enable the fbthrift_protocol extension]) ++ ++if test "$PHP_THRIFT_PROTOCOL" != "no"; then ++ PHP_REQUIRE_CXX() ++ PHP_ADD_LIBRARY_WITH_PATH(stdc++, "", THRIFT_PROTOCOL_SHARED_LIBADD) ++ PHP_SUBST(THRIFT_PROTOCOL_SHARED_LIBADD) ++ PHP_NEW_EXTENSION(thrift_protocol, php_thrift_protocol.cpp, $ext_shared) ++fi --- php5-thrift-0.9.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: