Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2013 15:09:13 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333296 - in head/devel: php5-thrift rubygem-thrift thrift thrift/files
Message-ID:  <201311091509.rA9F9DrO016809@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Sat Nov  9 15:09:13 2013
New Revision: 333296
URL: http://svnweb.freebsd.org/changeset/ports/333296

Log:
  devel/thrift: update to 0.9.1
  
  - Update to 0.9.1
  - Update php and ruby subports
  
  PR:		ports/183053, ports/183055, ports/183058
  Submitted by:	Valery Komarov <komarov valerka.net>
  Approved by:	maintainer (timeout for ports/183055)

Deleted:
  head/devel/thrift/files/
  head/devel/thrift/pkg-plist
Modified:
  head/devel/php5-thrift/Makefile
  head/devel/rubygem-thrift/distinfo
  head/devel/thrift/Makefile
  head/devel/thrift/bsd.thrift.mk
  head/devel/thrift/distinfo

Modified: head/devel/php5-thrift/Makefile
==============================================================================
--- head/devel/php5-thrift/Makefile	Sat Nov  9 14:32:23 2013	(r333295)
+++ head/devel/php5-thrift/Makefile	Sat Nov  9 15:09:13 2013	(r333296)
@@ -3,11 +3,9 @@
 
 PORTNAME=	thrift
 PORTVERSION=	${THRIFT_PORTVERSION}
-PORTREVISION=	1
 CATEGORIES=	devel
 PKGNAMEPREFIX=	php5-
 DISTFILES=	# empty
-
 MAINTAINER=	webmaster@kibab.com
 COMMENT=	PHP interface to Thrift
 

Modified: head/devel/rubygem-thrift/distinfo
==============================================================================
--- head/devel/rubygem-thrift/distinfo	Sat Nov  9 14:32:23 2013	(r333295)
+++ head/devel/rubygem-thrift/distinfo	Sat Nov  9 15:09:13 2013	(r333296)
@@ -1,2 +1,2 @@
-SHA256 (rubygem/thrift-0.9.0.gem) = 2bff773b338aee874928d6523b4fb7cbe567a0cfaaecbf5bfdcbd85fc5397f92
-SIZE (rubygem/thrift-0.9.0.gem) = 77824
+SHA256 (rubygem/thrift-0.9.1.gem) = 9869f9a406329e249d2dd3bf8a385a321125444313a632b027c179a12e609d34
+SIZE (rubygem/thrift-0.9.1.gem) = 70144

Modified: head/devel/thrift/Makefile
==============================================================================
--- head/devel/thrift/Makefile	Sat Nov  9 14:32:23 2013	(r333295)
+++ head/devel/thrift/Makefile	Sat Nov  9 15:09:13 2013	(r333296)
@@ -13,39 +13,31 @@ COMMENT=	Framework for scalable cross-la
 
 LICENSE=	AL2
 
-LIB_DEPENDS=	boost_iostreams:${PORTSDIR}/devel/boost-libs \
-		event-1.4:${PORTSDIR}/devel/libevent
-
 USE_AUTOTOOLS=	autoconf autoheader:env aclocal automake libtool
 ACLOCAL_ARGS=	-I${WRKSRC}/aclocal
 AUTOMAKE_ARGS=	--foreign --add-missing --copy
 
-USES=		pkgconfig gmake
-GNU_CONFIGURE=	yes
-USE_LDCONFIG=	yes
+USES=			pkgconfig gmake
+GNU_CONFIGURE=		yes
+USE_LDCONFIG=		yes
 MAKE_JOBS_UNSAFE=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-CONFIGURE_ARGS=	--with-boost=${LOCALBASE} --with-libevent=${LOCALBASE} \
-		--enable-shared --enable-static --with-zlib
 CONFIGURE_ENV+=	${MAKE_ENV}
 
-OPTIONS_DEFINE=	GLIB QT4
-GLIB_DESC=	C (GLib) Library
-
-GLIB_CONFIGURE_ENABLE=	c_glib
-GLIB_LIB_DEPENDS=	glib-2.0:${PORTSDIR}/devel/glib20
-QT4_CONFIGURE_ENABLE=	qt4
-OPTIONS_SUB=		yes
-
+# For C++ support, use devel/thrift-cpp
+# For C glib support, use devel/thrift-c_glib.
 # For Perl support, use devel/p5-Thrift.
 # For Python support, use devel/py-thrift.
 # For Ruby support, use devel/rubygem-thrift.
 # For PHP support, use devel/php5-thrift.
+# For nodejs support, use devel/node-thrift.
 # Other languages are not yet supported, please feel free to contribute
 # using one of the leaf ports as an example.
 CONFIGURE_ARGS+=	\
-		--with-cpp \
+		--without-c_glib \
+		--without-cpp \
+		--without-qt4 \
 		--without-csharp \
 		--without-erlang \
 		--without-haskell \
@@ -57,11 +49,7 @@ CONFIGURE_ARGS+=	\
 		--without-ruby
 
 NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MQT4}
-    USE_QT4=		network moc_build qmake_build rcc_build uic_build
-.endif
+PLIST_FILES=	bin/thrift
 
 .include <bsd.port.pre.mk>
 .include "bsd.thrift.mk"
@@ -72,17 +60,10 @@ PLIST_SUB+=	PORTVERSION="${PORTVERSION}"
 BROKEN=		Does not compile on ia64, powerpc, or sparc64
 .endif
 
-post-patch:
-	@${REINPLACE_CMD} 's,^pkgconfigdir = .*,pkgconfigdir=$${prefix}/libdata/pkgconfig,' ${WRKSRC}/lib/cpp/Makefile.am
-	@${REINPLACE_CMD} 's,^pkgconfigdir = .*,pkgconfigdir=$${prefix}/libdata/pkgconfig,' ${WRKSRC}/lib/c_glib/Makefile.am
-
 pre-configure:
 	@${REINPLACE_CMD} '/config.h/d' ${WRKSRC}/lib/cpp/Makefile.am
 
 post-install:
-	@${LN} -sf ${PREFIX}/lib/libthrift-${PORTVERSION}.so ${PREFIX}/lib/libthrift.so.0
-	@${LN} -sf ${PREFIX}/lib/libthriftnb-${PORTVERSION}.so ${PREFIX}/lib/libthriftnb.so.0
-	@${LN} -sf ${PREFIX}/lib/libthriftz-${PORTVERSION}.so ${PREFIX}/lib/libthriftz.so.0
 	@${ECHO_MSG}
 	@${ECHO_MSG} "For use with C++, the same compiler as used to build this port must be used"
 	@${ECHO_MSG} "to compile and link your generated IDL bindings."

Modified: head/devel/thrift/bsd.thrift.mk
==============================================================================
--- head/devel/thrift/bsd.thrift.mk	Sat Nov  9 14:32:23 2013	(r333295)
+++ head/devel/thrift/bsd.thrift.mk	Sat Nov  9 15:09:13 2013	(r333296)
@@ -5,4 +5,8 @@
 # in your makefile, set:
 # PORTVERSION=	${THRIFT_PORTVERSION}
 # see $PORTSDIR/devel/thrift for examples 
-THRIFT_PORTVERSION=	0.9.0
+THRIFT_PORTVERSION=	0.9.1
+
+CONFIGURE_ARGS+=	\
+		--without-tests
+

Modified: head/devel/thrift/distinfo
==============================================================================
--- head/devel/thrift/distinfo	Sat Nov  9 14:32:23 2013	(r333295)
+++ head/devel/thrift/distinfo	Sat Nov  9 15:09:13 2013	(r333296)
@@ -1,2 +1,2 @@
-SHA256 (thrift-0.9.0.tar.gz) = 71d129c49a2616069d9e7a93268cdba59518f77b3c41e763e09537cb3f3f0aac
-SIZE (thrift-0.9.0.tar.gz) = 2794605
+SHA256 (thrift-0.9.1.tar.gz) = ac175080c8cac567b0331e394f23ac306472c071628396db2850cb00c41b0017
+SIZE (thrift-0.9.1.tar.gz) = 3402353



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311091509.rA9F9DrO016809>