mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
- Update to 0.6.1
- While here, use tabs in variable assignments PR: ports/159910 Submitted by: Valery Komarov <komarov@valerka.net>, Ilya Bakulin <webmaster@kibab.com> (maintainer) Approved by: Ilya Bakulin <webmaster@kibab.com> (maintainer)
This commit is contained in:
parent
32b93bf143
commit
3770937499
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280686
@ -1,4 +1,4 @@
|
||||
# New ports collection makefile for: thrift
|
||||
# New ports collection makefile for: php5-thrift
|
||||
# Date created: Sat May 8 12:33:05 MSD 2010
|
||||
# Whom: Ilya Bakulin <webmaster@kibab.com>
|
||||
#
|
||||
@ -6,24 +6,26 @@
|
||||
#
|
||||
|
||||
PORTNAME= thrift
|
||||
PORTVERSION= 0.2.0
|
||||
PORTVERSION= 0.6.1
|
||||
CATEGORIES= devel
|
||||
PKGNAMEPREFIX= php5-
|
||||
DISTFILES=
|
||||
DISTFILES= # empty
|
||||
|
||||
MAINTAINER= webmaster@kibab.com
|
||||
COMMENT= PHP interface to Thrift
|
||||
|
||||
EXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/thrift:extract
|
||||
|
||||
USE_PHP=yes
|
||||
USE_PHPIZE=yes
|
||||
USE_PHPEXT=yes
|
||||
PHP_MODNAME=thrift_protocol
|
||||
USE_PHP= yes
|
||||
USE_PHPIZE= yes
|
||||
USE_PHPEXT= yes
|
||||
PHP_MODNAME= thrift_protocol
|
||||
|
||||
WRKSRC=${WRKDIR}/php/src/ext/thrift_protocol
|
||||
WRKSRC= ${WRKDIR}/php/src/ext/thrift_protocol
|
||||
|
||||
post-extract:
|
||||
${LN} -sfh \
|
||||
`cd ${PORTSDIR}/devel/thrift && ${MAKE} -V WRKSRC`/lib/php ${WRKDIR}
|
||||
`${MAKE} -C ${PORTSDIR}/devel/thrift -V WRKSRC`/lib/php \
|
||||
${WRKDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- php_thrift_protocol.cpp 2010-04-23 17:28:32.000000000 +0400
|
||||
+++ php_thrift_protocol.cpp 2010-04-23 17:29:32.000000000 +0400
|
||||
@@ -24,8 +24,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <unistd.h>
|
||||
-#include <endian.h>
|
||||
-#include <byteswap.h>
|
||||
+#include <machine/endian.h>
|
||||
#include <stdexcept>
|
||||
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
@@ -36,6 +35,7 @@
|
||||
#define ntohll(x) x
|
||||
#endif
|
||||
|
||||
+#define bswap_64 __bswap64
|
||||
enum TType {
|
||||
T_STOP = 0,
|
||||
T_VOID = 1,
|
Loading…
Reference in New Issue
Block a user