From owner-svn-ports-all@freebsd.org Sat Feb 13 23:43:09 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 21A6553FC48; Sat, 13 Feb 2021 23:43:09 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DdRkj0L0cz3kmy; Sat, 13 Feb 2021 23:43:09 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F2986201A7; Sat, 13 Feb 2021 23:43:08 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11DNh836060263; Sat, 13 Feb 2021 23:43:08 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11DNh8Lv060259; Sat, 13 Feb 2021 23:43:08 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202102132343.11DNh8Lv060259@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 13 Feb 2021 23:43:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r565186 - in head/devel/cereal: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/devel/cereal: . files X-SVN-Commit-Revision: 565186 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2021 23:43:09 -0000 Author: yuri Date: Sat Feb 13 23:43:07 2021 New Revision: 565186 URL: https://svnweb.freebsd.org/changeset/ports/565186 Log: devel/cereal: Update 1.3.0 -> 1.3.0-10 Also: * Add missing NO_ARCH * Fix dependencies * Not building tests every time * Add the 'test' target PR: 252793 Approved by: teodor@sigaev.ru (maintainer's timeout 25 days) Added: head/devel/cereal/files/ head/devel/cereal/files/patch-CMakeLists.txt (contents, props changed) Modified: head/devel/cereal/Makefile head/devel/cereal/distinfo head/devel/cereal/pkg-plist Modified: head/devel/cereal/Makefile ============================================================================== --- head/devel/cereal/Makefile Sat Feb 13 23:00:46 2021 (r565185) +++ head/devel/cereal/Makefile Sat Feb 13 23:43:07 2021 (r565186) @@ -2,8 +2,9 @@ PORTNAME= cereal DISTVERSIONPREFIX= v -DISTVERSION= 1.3.0 -CATEGORIES= devel +DISTVERSION= 1.3.0-10 +DISTVERSIONSUFFIX= -g64f50dbd +CATEGORIES= devel MAINTAINER= teodor@sigaev.ru COMMENT= C++11 library for serialization @@ -11,18 +12,28 @@ COMMENT= C++11 library for serialization LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libboost_system.so:devel/boost-libs -BUILD_DEPENDS= boost-libs>=1.69:devel/boost-libs \ - cmake>=2.6.2:devel/cmake \ - ninja>=1.8.2:devel/ninja +BUILD_DEPENDS= boost-libs>0:devel/boost-libs +RUN_DEPENDS= boost-libs>0:devel/boost-libs USES= cmake compiler:c++11-lang + USE_GITHUB= yes GH_ACCOUNT= USCiLab CFLAGS+= -Wno-unused-private-field CMAKE_ON= SKIP_PORTABILITY_TEST -CMAKE_OFF= WITH_WERROR +CMAKE_OFF= BUILD_TESTS WITH_WERROR + +NO_ARCH= yes + +post-install: + ${FIND} ${STAGEDIR}${PREFIX} -name LICENSE -delete + +do-test: + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include Modified: head/devel/cereal/distinfo ============================================================================== --- head/devel/cereal/distinfo Sat Feb 13 23:00:46 2021 (r565185) +++ head/devel/cereal/distinfo Sat Feb 13 23:43:07 2021 (r565186) @@ -1,3 +1,3 @@ -TIMESTAMP = 1573867507 -SHA256 (USCiLab-cereal-v1.3.0_GH0.tar.gz) = 329ea3e3130b026c03a4acc50e168e7daff4e6e661bc6a7dfec0d77b570851d5 -SIZE (USCiLab-cereal-v1.3.0_GH0.tar.gz) = 374585 +TIMESTAMP = 1613257495 +SHA256 (USCiLab-cereal-v1.3.0-10-g64f50dbd_GH0.tar.gz) = 9e6cf92293168f2a1d0e33da4879d3c4fe3c81520718a1bc1d9295bc9e54e426 +SIZE (USCiLab-cereal-v1.3.0-10-g64f50dbd_GH0.tar.gz) = 376163 Added: head/devel/cereal/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/cereal/files/patch-CMakeLists.txt Sat Feb 13 23:43:07 2021 (r565186) @@ -0,0 +1,15 @@ +- Same change that is proposed here: https://github.com/USCiLab/cereal/issues/668 +- Otherwise sandbox is always built. + +--- CMakeLists.txt.orig 2020-11-17 20:50:06 UTC ++++ CMakeLists.txt +@@ -115,6 +115,8 @@ if(BUILD_TESTS) + add_subdirectory(unittests) + endif() + +-add_subdirectory(sandbox) ++if(BUILD_SANDBOX) ++ add_subdirectory(sandbox) ++endif() + + add_subdirectory(doc) Modified: head/devel/cereal/pkg-plist ============================================================================== --- head/devel/cereal/pkg-plist Sat Feb 13 23:00:46 2021 (r565185) +++ head/devel/cereal/pkg-plist Sat Feb 13 23:43:07 2021 (r565186) @@ -85,4 +85,6 @@ include/cereal/types/valarray.hpp include/cereal/types/variant.hpp include/cereal/types/vector.hpp include/cereal/version.hpp -share/cmake/cereal/cereal-config.cmake +lib/cmake/cereal/cerealConfig.cmake +lib/cmake/cereal/cerealConfigVersion.cmake +lib/cmake/cereal/cerealTargets.cmake