View | Details | Raw Unified | Return to bug 159380
Collapse All | Expand All

(-)/.amd_mnt/10.1.1.100/vol/users/pixuser/gasol/ports/devel/thrift/Makefile (-18 / +20 lines)
Lines 6-26 Link Here
6
#
6
#
7
7
8
PORTNAME=	thrift
8
PORTNAME=	thrift
9
PORTVERSION=	0.4.0
9
PORTVERSION=	0.6.1
10
PORTEPOCH=	1
10
PORTEPOCH=	1
11
CATEGORIES=	devel
11
CATEGORIES=	devel
12
MASTER_SITES=	APACHE
12
MASTER_SITES=	APACHE
13
MASTER_SITE_SUBDIR=	incubator/thrift/${PORTVERSION}-incubating
13
MASTER_SITE_SUBDIR=	/thrift/${PORTVERSION}
14
DISTNAME=	thrift-${PORTVERSION}
15
14
16
MAINTAINER=	skv@FreeBSD.org
15
MAINTAINER=	skv@FreeBSD.org
17
COMMENT=	Framework for scalable cross-language services development
16
COMMENT=	Framework for scalable cross-language services development
18
17
19
LIB_DEPENDS=	boost_iostreams:${PORTSDIR}/devel/boost-libs \
18
LIB_DEPENDS=	boost_iostreams:${PORTSDIR}/devel/boost-libs
20
		event-1.4:${PORTSDIR}/devel/libevent
19
20
USE_AUTOTOOLS=	autoconf autoheader:env aclocal automake libtool
21
ACLOCAL_ARGS=	-I${WRKSRC}/aclocal
22
AUTOMAKE_ARGS=	--foreign --add-missing --copy
21
23
22
USE_AUTOTOOLS=	autoconf:env autoheader:env aclocal:env \
23
		automake:env libtool:env
24
USE_GNOME=	pkgconfig
24
USE_GNOME=	pkgconfig
25
USE_GCC=	4.2+
25
USE_GCC=	4.2+
26
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
Lines 29-36 Link Here
29
MAKE_JOBS_UNSAFE=	yes
29
MAKE_JOBS_UNSAFE=	yes
30
30
31
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
31
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
32
CONFIGURE_ARGS=	--with-boost=${LOCALBASE} --with-libevent=${LOCALBASE} \
32
CONFIGURE_ARGS=	--with-boost=${LOCALBASE} --enable-shared --enable-static
33
		--enable-shared --enable-static --with-zlib
34
CONFIGURE_ENV+=	${MAKE_ENV}
33
CONFIGURE_ENV+=	${MAKE_ENV}
35
34
36
# For Erlang support, use devel/erlang-thrift.
35
# For Erlang support, use devel/erlang-thrift.
Lines 40-52 Link Here
40
# Other languages are not yet supported, please feel free to contribute
39
# Other languages are not yet supported, please feel free to contribute
41
# using one of the leaf ports as an example.
40
# using one of the leaf ports as an example.
42
CONFIGURE_ARGS+=	\
41
CONFIGURE_ARGS+=	\
42
		--with-cpp \
43
		--without-csharp \
43
		--without-csharp \
44
		--without-erlang \
44
		--without-erlang \
45
		--without-java \
45
		--without-java \
46
		--without-perl \
46
		--without-perl \
47
		--without-php \
47
		--without-php \
48
		--without-py \
48
		--without-php_extension \
49
		--without-ruby
49
		--without-python \
50
		--without-ruby \
51
		--without-haskell
50
52
51
.include <bsd.port.pre.mk>
53
.include <bsd.port.pre.mk>
52
54
Lines 54-75 Link Here
54
BROKEN=		Does not compile on sparc64
56
BROKEN=		Does not compile on sparc64
55
.endif
57
.endif
56
58
59
.if !defined(WITHOUT_EVENT)
60
LIB_DEPENDS+=		event-1.4:${PORTSDIR}/devel/libevent
61
CONFIGURE_ARGS+=	--with-libevent=${LOCALBASE}
62
.endif
63
57
post-patch:
64
post-patch:
58
	@${REINPLACE_CMD} 's,^pkgconfigdir = .*,pkgconfigdir=$${prefix}/libdata/pkgconfig,' ${WRKSRC}/lib/cpp/Makefile.am
65
	@${REINPLACE_CMD} 's,^pkgconfigdir = .*,pkgconfigdir=$${prefix}/libdata/pkgconfig,' ${WRKSRC}/lib/cpp/Makefile.am
59
66
	@${REINPLACE_CMD} '/config.h/d' ${WRKSRC}/lib/cpp/Makefile.am
60
pre-configure:
61
	@(cd ${WRKSRC} && ./bootstrap.sh)
62
67
63
post-install:
68
post-install:
64
	@${LN} -sf ${PREFIX}/lib/libthrift.so.0 ${PREFIX}/lib/libthrift.so
65
	@${LN} -sf ${PREFIX}/lib/libthriftnb.so.0 ${PREFIX}/lib/libthriftnb.so
66
	@${LN} -sf ${PREFIX}/lib/libthriftz.so.0 ${PREFIX}/lib/libthriftz.so
67
	@${ECHO_MSG}
69
	@${ECHO_MSG}
68
	@${ECHO_MSG} "For use with C++, the same compiler as used to build this port must be used"
70
	@${ECHO_MSG} "For use with C++, the same compiler as used to build this port must be used"
69
	@${ECHO_MSG} "to compile and link your generated IDL bindings."
71
	@${ECHO_MSG} "to compile and link your generated IDL bindings."
70
	@${ECHO_MSG}
72
	@${ECHO_MSG}
71
	@${ECHO_MSG} "Note: The Thrift white paper may be downloaded from:"
73
	@${ECHO_MSG} "Note: The Thrift white paper may be downloaded from:"
72
	@${ECHO_MSG} "http://incubator.apache.org/thrift/static/thrift-20070401.pdf"
74
	@${ECHO_MSG} "http://thrift.apache.org/static/thrift-20070401.pdf"
73
	@${ECHO_MSG}
75
	@${ECHO_MSG}
74
76
75
.include <bsd.port.post.mk>
77
.include <bsd.port.post.mk>
(-)/.amd_mnt/10.1.1.100/vol/users/pixuser/gasol/ports/devel/thrift/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (thrift-0.4.0.tar.gz) = 7cb8825a8888686ed6a9e229c9e9fcd9878a4af623785e1b22cdcc01a578d248
1
SHA256 (thrift-0.6.1.tar.gz) = 1bed1ea17bf31c861fa8dd6e0182360eb8234383f32d0e4a36b70047b2e6b313
2
SIZE (thrift-0.4.0.tar.gz) = 1206710
2
SIZE (thrift-0.6.1.tar.gz) = 2034583
(-)/.amd_mnt/10.1.1.100/vol/users/pixuser/gasol/ports/devel/thrift/files/patch-configure.ac (+11 lines)
Line 0 Link Here
1
--- ./configure.ac.orig	2011-08-02 12:08:58.444207000 +0800
2
+++ ./configure.ac	2011-08-02 12:09:05.875591000 +0800
3
@@ -85,7 +85,7 @@
4
 have_cpp=no
5
 if test "$with_cpp" = "yes";  then
6
   AX_BOOST_BASE([1.33.1])
7
-  if test "x$succeeded" == "xyes" ; then
8
+  if test "x$succeeded" = "xyes" ; then
9
     have_cpp="yes"
10
   fi
11
 
(-)/.amd_mnt/10.1.1.100/vol/users/pixuser/gasol/ports/devel/thrift/pkg-descr (-1 / +1 lines)
Lines 9-12 Link Here
9
Thrift is specifically designed to support non-atomic version changes
9
Thrift is specifically designed to support non-atomic version changes
10
across client and server code.
10
across client and server code.
11
11
12
WWW: http://incubator.apache.org/thrift/
12
WWW: http://thrift.apache.org
(-)/.amd_mnt/10.1.1.100/vol/users/pixuser/gasol/ports/devel/thrift/pkg-plist (-71 / +87 lines)
Lines 1-71 Link Here
1
@comment $FreeBSD: ports/devel/thrift/pkg-plist,v 1.4 2010/12/10 23:05:04 pgollucci Exp $
1
usr/local/bin/thrift
2
bin/thrift
2
usr/local/include/thrift/TApplicationException.h
3
include/thrift/TApplicationException.h
3
usr/local/include/thrift/TLogging.h
4
include/thrift/TLogging.h
4
usr/local/include/thrift/TProcessor.h
5
include/thrift/TProcessor.h
5
usr/local/include/thrift/TReflectionLocal.h
6
include/thrift/TReflectionLocal.h
6
usr/local/include/thrift/Thrift.h
7
include/thrift/Thrift.h
7
usr/local/include/thrift/async/SimpleCallback.h
8
include/thrift/concurrency/Exception.h
8
usr/local/include/thrift/async/TAsyncBufferProcessor.h
9
include/thrift/concurrency/FunctionRunner.h
9
usr/local/include/thrift/async/TAsyncChannel.h
10
include/thrift/concurrency/Monitor.h
10
usr/local/include/thrift/async/TAsyncProcessor.h
11
include/thrift/concurrency/Mutex.h
11
usr/local/include/thrift/async/TAsyncProtocolProcessor.h
12
include/thrift/concurrency/PosixThreadFactory.h
12
usr/local/include/thrift/async/TEvhttpClientChannel.h
13
include/thrift/concurrency/Thread.h
13
usr/local/include/thrift/async/TEvhttpServer.h
14
include/thrift/concurrency/ThreadManager.h
14
usr/local/include/thrift/concurrency/Exception.h
15
include/thrift/concurrency/TimerManager.h
15
usr/local/include/thrift/concurrency/FunctionRunner.h
16
include/thrift/concurrency/Util.h
16
usr/local/include/thrift/concurrency/Monitor.h
17
include/thrift/config.h
17
usr/local/include/thrift/concurrency/Mutex.h
18
include/thrift/processor/PeekProcessor.h
18
usr/local/include/thrift/concurrency/PosixThreadFactory.h
19
include/thrift/processor/StatsProcessor.h
19
usr/local/include/thrift/concurrency/Thread.h
20
include/thrift/protocol/TBase64Utils.h
20
usr/local/include/thrift/concurrency/ThreadManager.h
21
include/thrift/protocol/TBinaryProtocol.h
21
usr/local/include/thrift/concurrency/TimerManager.h
22
include/thrift/protocol/TCompactProtocol.h
22
usr/local/include/thrift/concurrency/Util.h
23
include/thrift/protocol/TDebugProtocol.h
23
usr/local/include/thrift/processor/PeekProcessor.h
24
include/thrift/protocol/TDenseProtocol.h
24
usr/local/include/thrift/processor/StatsProcessor.h
25
include/thrift/protocol/TJSONProtocol.h
25
usr/local/include/thrift/protocol/TBase64Utils.h
26
include/thrift/protocol/TOneWayProtocol.h
26
usr/local/include/thrift/protocol/TBinaryProtocol.h
27
include/thrift/protocol/TProtocol.h
27
usr/local/include/thrift/protocol/TBinaryProtocol.tcc
28
include/thrift/protocol/TProtocolException.h
28
usr/local/include/thrift/protocol/TCompactProtocol.h
29
include/thrift/protocol/TProtocolTap.h
29
usr/local/include/thrift/protocol/TCompactProtocol.tcc
30
include/thrift/server/TNonblockingServer.h
30
usr/local/include/thrift/protocol/TDebugProtocol.h
31
include/thrift/server/TServer.h
31
usr/local/include/thrift/protocol/TDenseProtocol.h
32
include/thrift/server/TSimpleServer.h
32
usr/local/include/thrift/protocol/TJSONProtocol.h
33
include/thrift/server/TThreadPoolServer.h
33
usr/local/include/thrift/protocol/TProtocol.h
34
include/thrift/server/TThreadedServer.h
34
usr/local/include/thrift/protocol/TProtocolException.h
35
include/thrift/transport/TBufferTransports.h
35
usr/local/include/thrift/protocol/TProtocolTap.h
36
include/thrift/transport/TFDTransport.h
36
usr/local/include/thrift/protocol/TVirtualProtocol.h
37
include/thrift/transport/TFileTransport.h
37
usr/local/include/thrift/server/TNonblockingServer.h
38
include/thrift/transport/THttpClient.h
38
usr/local/include/thrift/server/TServer.h
39
include/thrift/transport/THttpServer.h
39
usr/local/include/thrift/server/TSimpleServer.h
40
include/thrift/transport/THttpTransport.h
40
usr/local/include/thrift/server/TThreadPoolServer.h
41
include/thrift/transport/TServerSocket.h
41
usr/local/include/thrift/server/TThreadedServer.h
42
include/thrift/transport/TServerTransport.h
42
usr/local/include/thrift/transport/TBufferTransports.h
43
include/thrift/transport/TShortReadTransport.h
43
usr/local/include/thrift/transport/TFDTransport.h
44
include/thrift/transport/TSimpleFileTransport.h
44
usr/local/include/thrift/transport/TFileTransport.h
45
include/thrift/transport/TSocket.h
45
usr/local/include/thrift/transport/THttpClient.h
46
include/thrift/transport/TSocketPool.h
46
usr/local/include/thrift/transport/THttpServer.h
47
include/thrift/transport/TTransport.h
47
usr/local/include/thrift/transport/THttpTransport.h
48
include/thrift/transport/TTransportException.h
48
usr/local/include/thrift/transport/TServerSocket.h
49
include/thrift/transport/TTransportUtils.h
49
usr/local/include/thrift/transport/TServerTransport.h
50
include/thrift/transport/TZlibTransport.h
50
usr/local/include/thrift/transport/TShortReadTransport.h
51
lib/libthrift.a
51
usr/local/include/thrift/transport/TSimpleFileTransport.h
52
lib/libthrift.la
52
usr/local/include/thrift/transport/TSocket.h
53
lib/libthrift.so
53
usr/local/include/thrift/transport/TSocketPool.h
54
lib/libthrift.so.0
54
usr/local/include/thrift/transport/TTransport.h
55
lib/libthriftnb.a
55
usr/local/include/thrift/transport/TTransportException.h
56
lib/libthriftnb.la
56
usr/local/include/thrift/transport/TTransportUtils.h
57
lib/libthriftnb.so
57
usr/local/include/thrift/transport/TVirtualTransport.h
58
lib/libthriftnb.so.0
58
usr/local/include/thrift/transport/TZlibTransport.h
59
lib/libthriftz.a
59
usr/local/lib/libthrift.a
60
lib/libthriftz.la
60
usr/local/lib/libthrift.la
61
lib/libthriftz.so
61
usr/local/lib/libthrift.so
62
lib/libthriftz.so.0
62
usr/local/lib/libthrift.so.0
63
libdata/pkgconfig/thrift-nb.pc
63
usr/local/lib/libthriftnb.a
64
libdata/pkgconfig/thrift-z.pc
64
usr/local/lib/libthriftnb.la
65
libdata/pkgconfig/thrift.pc
65
usr/local/lib/libthriftnb.so
66
@dirrm include/thrift/transport
66
usr/local/lib/libthriftnb.so.0
67
@dirrm include/thrift/server
67
usr/local/lib/libthriftz.a
68
@dirrm include/thrift/protocol
68
usr/local/lib/libthriftz.la
69
@dirrm include/thrift/processor
69
usr/local/lib/libthriftz.so
70
@dirrm include/thrift/concurrency
70
usr/local/lib/libthriftz.so.0
71
@dirrm include/thrift
71
usr/local/libdata/pkgconfig/thrift-nb.pc
72
usr/local/libdata/pkgconfig/thrift-z.pc
73
usr/local/libdata/pkgconfig/thrift.pc
74
@dirrm usr/local/libdata/pkgconfig
75
@dirrm usr/local/libdata
76
@dirrm usr/local/lib
77
@dirrm usr/local/include/thrift/transport
78
@dirrm usr/local/include/thrift/server
79
@dirrm usr/local/include/thrift/protocol
80
@dirrm usr/local/include/thrift/processor
81
@dirrm usr/local/include/thrift/concurrency
82
@dirrm usr/local/include/thrift/async
83
@dirrm usr/local/include/thrift
84
@dirrm usr/local/include
85
@dirrm usr/local/bin
86
@dirrm usr/local
87
@dirrm usr

Return to bug 159380