View | Details | Raw Unified | Return to bug 163946 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (+9 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	pdo_cassandra
8
PORTNAME=	pdo_cassandra
9
PORTVERSION=	0.2.1
9
PORTVERSION=	0.2.1
10
PORTREVISION=	1
10
CATEGORIES=	databases
11
CATEGORIES=	databases
11
MASTER_SITES=	https://github.com/${GITHUB_USER}/php-${PORTNAME}/tarball/${GITREVISION}/
12
MASTER_SITES=	https://github.com/${GITHUB_USER}/php-${PORTNAME}/tarball/${GITREVISION}/
12
PKGNAMEPREFIX=	php5-
13
PKGNAMEPREFIX=	php5-
Lines 29-33 Link Here
29
USE_PHPEXT=	yes
30
USE_PHPEXT=	yes
30
DEFAULT_PHP_VER=5
31
DEFAULT_PHP_VER=5
31
IGNORE_WITH_PHP=4 52
32
IGNORE_WITH_PHP=4 52
33
THRIFT_CMD=	${LOCALBASE}/bin/thrift
34
35
post-configure:
36
	thrift_version=`${THRIFT_CMD} -version | ${AWK} '{print $$3}'`; \
37
	if [ "$$thrift_version" = "0.8.0" ]; then \
38
		${REINPLACE_CMD} 's/\([^:]\)apache::thrift/\1 ::apache::thrift/g' ${WRKSRC}/gen-cpp/Cassandra.h; \
39
		${REINPLACE_CMD} 's/\([^:]\)apache::thrift/\1 ::apache::thrift/g' ${WRKSRC}/gen-cpp/Cassandra.cpp; \
40
	fi
32
41
33
.include <bsd.port.mk>
42
.include <bsd.port.mk>

Return to bug 163946