Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2018 06:21:31 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466617 - in head/devel/flatbuffers: . files
Message-ID:  <201804060621.w366LVlF025418@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Fri Apr  6 06:21:31 2018
New Revision: 466617
URL: https://svnweb.freebsd.org/changeset/ports/466617

Log:
  devel/flatbuffers: Update 1.8.0 -> 1.9.0
  
  Port changes:
  * Change cmake -> cmake:outsource
  * Change to CMAKE_ON/CMAKE_OFF
  * Remove static library
  * Eliminate tests rebuild during the normal build process
  
  Reported by:	portscout

Deleted:
  head/devel/flatbuffers/files/
Modified:
  head/devel/flatbuffers/Makefile
  head/devel/flatbuffers/distinfo
  head/devel/flatbuffers/pkg-plist

Modified: head/devel/flatbuffers/Makefile
==============================================================================
--- head/devel/flatbuffers/Makefile	Fri Apr  6 05:14:54 2018	(r466616)
+++ head/devel/flatbuffers/Makefile	Fri Apr  6 06:21:31 2018	(r466617)
@@ -3,7 +3,7 @@
 
 PORTNAME=	flatbuffers
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.8.0
+DISTVERSION=	1.9.0
 CATEGORIES=	devel
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -12,13 +12,20 @@ COMMENT=	Memory efficient serialization library
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		cmake compiler:c++11-lib
+USES=		cmake:outsource compiler:c++11-lib
 USE_LDCONFIG=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	google
 
-CMAKE_ARGS=	-DFLATBUFFERS_BUILD_SHAREDLIB:BOOL="ON"
+CMAKE_ON=	FLATBUFFERS_BUILD_SHAREDLIB
+CMAKE_OFF=	FLATBUFFERS_BUILD_FLATLIB FLATBUFFERS_BUILD_TESTS
 TEST_TARGET=	test
 PLIST_SUB=	SHLIB_VER=${PORTVERSION}
+
+do-test:
+	@cd ${BUILD_WRKSRC} && \
+		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DFLATBUFFERS_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${TEST_TARGET}
 
 .include <bsd.port.mk>

Modified: head/devel/flatbuffers/distinfo
==============================================================================
--- head/devel/flatbuffers/distinfo	Fri Apr  6 05:14:54 2018	(r466616)
+++ head/devel/flatbuffers/distinfo	Fri Apr  6 06:21:31 2018	(r466617)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1511262983
-SHA256 (google-flatbuffers-v1.8.0_GH0.tar.gz) = c45029c0a0f1a88d416af143e34de96b3091642722aa2d8c090916c6d1498c2e
-SIZE (google-flatbuffers-v1.8.0_GH0.tar.gz) = 616362
+TIMESTAMP = 1522993976
+SHA256 (google-flatbuffers-v1.9.0_GH0.tar.gz) = 5ca5491e4260cacae30f1a5786d109230db3f3a6e5a0eb45d0d0608293d247e3
+SIZE (google-flatbuffers-v1.9.0_GH0.tar.gz) = 681752

Modified: head/devel/flatbuffers/pkg-plist
==============================================================================
--- head/devel/flatbuffers/pkg-plist	Fri Apr  6 05:14:54 2018	(r466616)
+++ head/devel/flatbuffers/pkg-plist	Fri Apr  6 06:21:31 2018	(r466617)
@@ -14,13 +14,11 @@ include/flatbuffers/registry.h
 include/flatbuffers/stl_emulation.h
 include/flatbuffers/util.h
 lib/cmake/flatbuffers/FlatbuffersConfig.cmake
+lib/cmake/flatbuffers/FlatbuffersConfigVersion.cmake
 lib/cmake/flatbuffers/FlatbuffersSharedTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/flatbuffers/FlatbuffersSharedTargets.cmake
-lib/cmake/flatbuffers/FlatbuffersTargets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/flatbuffers/FlatbuffersTargets.cmake
 lib/cmake/flatbuffers/FlatcTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/flatbuffers/FlatcTargets.cmake
-lib/libflatbuffers.a
 lib/libflatbuffers.so
 lib/libflatbuffers.so.1
 lib/libflatbuffers.so.%%SHLIB_VER%%



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