FreeBSD Bugzilla – Attachment 121047 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]
php5-pdo_cassandra-0.2.1_1.patch
php5-pdo_cassandra-0.2.1_1.patch (text/plain), 1.12 KB, created by
Gasol Wu
on 2012-01-09 08:50:10 UTC
(
hide
)
Description:
php5-pdo_cassandra-0.2.1_1.patch
Filename:
MIME Type:
Creator:
Gasol Wu
Created:
2012-01-09 08:50:10 UTC
Size:
1.12 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/databases/php5-pdo_cassandra/Makefile /nfs/home/10.4.1.1/vol/home/pixuser/gasol/ports/databases/php5-pdo_cassandra/Makefile >--- /usr/ports/databases/php5-pdo_cassandra/Makefile 2012-01-03 19:50:35.000000000 +0800 >+++ /nfs/home/10.4.1.1/vol/home/pixuser/gasol/ports/databases/php5-pdo_cassandra/Makefile 2012-01-09 16:31:49.553705000 +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- >@@ -30,4 +31,17 @@ > DEFAULT_PHP_VER=5 > IGNORE_WITH_PHP=4 52 > >-.include <bsd.port.mk> >+.include <bsd.port.pre.mk> >+.if exists(${PORTSDIR}/devel/thrift/bsd.thrift.mk) >+.include "${PORTSDIR}/devel/thrift/bsd.thrift.mk" >+.endif >+ >+post-configure: >+.if defined(THRIFT_PORTVERSION) >+. if ${THRIFT_PORTVERSION} == 0.8.0 >+ ${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 >+. endif >+.endif >+ >+.include <bsd.port.post.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