Date: Thu, 22 May 2014 09:37:36 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> 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 Message-ID: <201405220937.s4M9baAQ047616@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <webmaster@kibab.com> (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405220937.s4M9baAQ047616>