ports/146392: [NEW PORT] devel/php5-thrift: PHP interface to Thrift
Ilya Bakulin
webmaster at kibab.com
Sat May 8 10:10:05 UTC 2010
>Number: 146392
>Category: ports
>Synopsis: [NEW PORT] devel/php5-thrift: PHP interface to Thrift
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat May 08 10:10:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Ilya Bakulin
>Release: FreeBSD 7.2-RELEASE-p4 amd64
>Organization:
Deglitch Networks
>Environment:
System: FreeBSD ssh.deglitch.com 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 08:22:32 UTC
>Description:
PHP interface to Thrift.
WWW: http://developers.facebook.com/thrift/
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- php5-thrift-0.2.0.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# php5-thrift
# php5-thrift/Makefile
# php5-thrift/files
# php5-thrift/files/patch-php_thrift_protocol.cpp
# php5-thrift/pkg-descr
#
echo c - php5-thrift
mkdir -p php5-thrift > /dev/null 2>&1
echo x - php5-thrift/Makefile
sed 's/^X//' >php5-thrift/Makefile << '558a3ec9b0ba07e86a90488ca5b230b8'
X# New ports collection makefile for: thrift
X# Date created: Sat May 8 12:33:05 MSD 2010
X# Whom: Ilya Bakulin <webmaster at kibab.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= thrift
XPORTVERSION= 0.2.0
XCATEGORIES= devel
XPKGNAMEPREFIX= php5-
XDISTFILES=
X
XMAINTAINER= webmaster at kibab.com
XCOMMENT= PHP interface to Thrift
X
XEXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/thrift:extract
X
XUSE_PHP=yes
XUSE_PHPIZE=yes
XUSE_PHPEXT=yes
XPHP_MODNAME=thrift_protocol
X
XWRKSRC=${WRKDIR}/php/src/ext/thrift_protocol
X
Xpost-extract:
X ${LN} -sfh \
X `cd ${PORTSDIR}/devel/thrift && ${MAKE} -V WRKSRC`/lib/php ${WRKDIR}
X.include <bsd.port.mk>
558a3ec9b0ba07e86a90488ca5b230b8
echo c - php5-thrift/files
mkdir -p php5-thrift/files > /dev/null 2>&1
echo x - php5-thrift/files/patch-php_thrift_protocol.cpp
sed 's/^X//' >php5-thrift/files/patch-php_thrift_protocol.cpp << '9cbd20b55143aac7d2ae59e15606f040'
X--- php_thrift_protocol.cpp 2010-04-23 17:28:32.000000000 +0400
X+++ php_thrift_protocol.cpp 2010-04-23 17:29:32.000000000 +0400
X@@ -24,8 +24,7 @@
X #include <sys/types.h>
X #include <netinet/in.h>
X #include <unistd.h>
X-#include <endian.h>
X-#include <byteswap.h>
X+#include <machine/endian.h>
X #include <stdexcept>
X
X #if __BYTE_ORDER == __LITTLE_ENDIAN
X@@ -36,6 +35,7 @@
X #define ntohll(x) x
X #endif
X
X+#define bswap_64 __bswap64
X enum TType {
X T_STOP = 0,
X T_VOID = 1,
9cbd20b55143aac7d2ae59e15606f040
echo x - php5-thrift/pkg-descr
sed 's/^X//' >php5-thrift/pkg-descr << 'cbf265adf9970fd4082be10f37132bde'
XPHP interface to Thrift.
X
XWWW: http://developers.facebook.com/thrift/
cbf265adf9970fd4082be10f37132bde
exit
--- php5-thrift-0.2.0.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list