pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/msgpack



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Jul  9 14:45:20 UTC 2023

Modified Files:
        pkgsrc/devel/msgpack: Makefile

Log Message:
msgpack: Disable building tests due to mess with C++ standard revisions.

For now keep the compiler requirement exactly the same as it was before.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/msgpack/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/msgpack/Makefile
diff -u pkgsrc/devel/msgpack/Makefile:1.19 pkgsrc/devel/msgpack/Makefile:1.20
--- pkgsrc/devel/msgpack/Makefile:1.19  Sun Feb 14 18:56:11 2021
+++ pkgsrc/devel/msgpack/Makefile       Sun Jul  9 14:45:20 2023
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2021/02/14 18:56:11 adam Exp $
+# $NetBSD: Makefile,v 1.20 2023/07/09 14:45:20 nia Exp $
 
 DISTNAME=      msgpack-3.3.0
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=msgpack/}
 GITHUB_PROJECT=        msgpack-c
@@ -12,13 +13,18 @@ COMMENT=    Binary-based efficient object s
 LICENSE=       boost-license
 
 USE_CMAKE=             yes
-USE_LANGUAGES=         c c++11
+USE_LANGUAGES=         c c++
 PKGCONFIG_OVERRIDE=    msgpack.pc.in
 TEST_ENV=              LD_LIBRARY_PATH=${WRKSRC}
 TEST_TARGET=           test
 
+# Note that msgpack currently needs to be built with MSGPACK_CXX17 when
+# googletest is used due to it requiring minimum C++14 in its headers.
+CMAKE_ARGS+=   -DCMAKE_DISABLE_FIND_PACKAGE_GTest=ON
+CMAKE_ARGS+=   -DMSGPACK_BUILD_TESTS=OFF
 CMAKE_ARGS+=   -DMSGPACK_CXX11=ON
+GCC_REQD+=     4.8
 
-.include "../../devel/googletest/buildlink3.mk"
+#.include "../../devel/googletest/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index