Bug 189076 - [MAINTAINER] devel/php5-thrift: Unbreak build
Summary: [MAINTAINER] devel/php5-thrift: Unbreak build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-28 16:00 UTC by Bakulin Ilya
Modified: 2014-05-22 10:40 UTC (History)
0 users

See Also:


Attachments
php5-thrift-0.9.1.patch (1.77 KB, patch)
2014-04-28 16:00 UTC, Bakulin Ilya
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bakulin Ilya 2014-04-28 16:00:00 UTC
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)
Comment 1 dfilter service freebsd_committer freebsd_triage 2014-05-22 10:37:43 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2014-05-22 10:37:52 UTC
State Changed
From-To: open->closed

Committed. Thanks!