From owner-svn-ports-all@FreeBSD.ORG Thu May 22 09:37:36 2014 Return-Path: Delivered-To: svn-ports-all@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 A8602171; Thu, 22 May 2014 09:37:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 7BAAA2DE2; Thu, 22 May 2014 09:37:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4M9baiq047618; Thu, 22 May 2014 09:37:36 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4M9baAQ047616; Thu, 22 May 2014 09:37:36 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201405220937.s4M9baAQ047616@svn.freebsd.org> From: Martin Wilke Date: Thu, 22 May 2014 09:37:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354810 - in head/devel/php5-thrift: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2014 09:37:36 -0000 Author: miwi Date: Thu May 22 09:37:35 2014 New Revision: 354810 URL: http://svnweb.freebsd.org/changeset/ports/354810 QAT: https://qat.redports.org/buildarchive/r354810/ Log: - Fix build PR: 189076 Submitted by: Ilya Bakulin (maintainer) Added: head/devel/php5-thrift/files/ head/devel/php5-thrift/files/patch-php-src-ext-thrift_protocol-config.m4 (contents, props changed) Modified: head/devel/php5-thrift/Makefile Modified: head/devel/php5-thrift/Makefile ============================================================================== --- head/devel/php5-thrift/Makefile Thu May 22 09:37:25 2014 (r354809) +++ head/devel/php5-thrift/Makefile Thu May 22 09:37:35 2014 (r354810) @@ -6,21 +6,20 @@ PORTVERSION= ${THRIFT_PORTVERSION} 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 \ Added: head/devel/php5-thrift/files/patch-php-src-ext-thrift_protocol-config.m4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/php5-thrift/files/patch-php-src-ext-thrift_protocol-config.m4 Thu May 22 09:37:35 2014 (r354810) @@ -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