FreeBSD Bugzilla – Attachment 121048 Details for
Bug 163946
[MAINTAINER] databases/php5-pdo_cassandra: fix build with thrift 0.8.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix-THRIFT-1487.patch
fix-THRIFT-1487.patch (text/x-patch; charset=US-ASCII), 836 bytes, created by
Gasol Wu
on 2012-01-09 10:00:30 UTC
(
hide
)
Description:
fix-THRIFT-1487.patch
Filename:
MIME Type:
Creator:
Gasol Wu
Created:
2012-01-09 10:00:30 UTC
Size:
836 bytes
patch
obsolete
>--- /usr/ports/databases/php5-pdo_cassandra/Makefile 2012-01-03 19:50:35.000000000 +0800 >+++ Makefile 2012-01-09 17:51:18.067188000 +0800 >@@ -7,6 +7,7 @@ > > PORTNAME= pdo_cassandra > PORTVERSION= 0.2.1 >+PORTREVISION= 1 > CATEGORIES= databases > MASTER_SITES= https://github.com/${GITHUB_USER}/php-${PORTNAME}/tarball/${GITREVISION}/ > PKGNAMEPREFIX= php5- >@@ -29,5 +30,13 @@ > USE_PHPEXT= yes > DEFAULT_PHP_VER=5 > IGNORE_WITH_PHP=4 52 >+THRIFT_CMD= ${LOCALBASE}/bin/thrift >+ >+post-configure: >+ thrift_version=`${THRIFT_CMD} -version | ${AWK} '{print $$3}'`; \ >+ if [ "$$thrift_version" = "0.8.0" ]; then \ >+ ${REINPLACE_CMD} 's/\([^:]\)apache::thrift/\1 ::apache::thrift/g' ${WRKSRC}/gen-cpp/Cassandra.h; \ >+ ${REINPLACE_CMD} 's/\([^:]\)apache::thrift/\1 ::apache::thrift/g' ${WRKSRC}/gen-cpp/Cassandra.cpp; \ >+ fi > > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 163946
:
121047
| 121048