Date: Mon, 28 Apr 2014 16:51:55 +0200 (CEST) From: Ilya Bakulin <webmaster@kibab.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/189076: [MAINTAINER] devel/php5-thrift: Unbreak build Message-ID: <20140428145155.684933F461@olymp.kibab.com> Resent-Message-ID: <201404281500.s3SF00mH069686@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140428145155.684933F461>