git: 4c20b0a18e2f - main - cad/uhdm: Update 1.51 → 1.56

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 16 Apr 2023 20:05:02 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4c20b0a18e2f225efb0f060b9e58e4df38767841

commit 4c20b0a18e2f225efb0f060b9e58e4df38767841
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-04-16 19:10:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-04-16 20:04:56 +0000

    cad/uhdm: Update 1.51 → 1.56
    
    Reported by:    portscout
---
 cad/uhdm/Makefile                   |  8 ++++----
 cad/uhdm/distinfo                   | 10 +++++-----
 cad/uhdm/files/patch-CMakeLists.txt | 10 ++++++++++
 cad/uhdm/pkg-plist                  |  7 ++++++-
 4 files changed, 25 insertions(+), 10 deletions(-)

diff --git a/cad/uhdm/Makefile b/cad/uhdm/Makefile
index 34ca4c88f470..d6192ae9d004 100644
--- a/cad/uhdm/Makefile
+++ b/cad/uhdm/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	uhdm
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.51
+DISTVERSION=	1.56
 CATEGORIES=	cad
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -12,21 +12,21 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}orderedmultidict>0:devel/py-orderedmultidict@${PY_FLAVOR}
 
-USES=		cmake:testing python:build tcl:86,build
+USES=		cmake:testing compiler:c++17-lang python:build tcl:86,build
 USE_LDCONFIG=	${PREFIX}/lib/uhdm
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	chipsalliance
 GH_PROJECT=	${PORTNAME:tu}
 GH_TUPLE=	capnproto:capnproto:14f24a4:capnproto/third_party/capnproto \
-		google:googletest:e2239ee:googletest/third_party/googletest
+		google:googletest:58d77fa:googletest/third_party/googletest
 
 CMAKE_ON=	BUILD_SHARED_LIBS
 CMAKE_OFF=	UHDM_BUILD_TESTS
 CMAKE_ARGS=	-DPython3_EXECUTABLE=${PYTHON_CMD}
 CMAKE_TESTING_ON=	UHDM_BUILD_TESTS
 
-CONFLICTS_INSTALL=	capnproto capnproto080 surelog # bin/uhdm-dump lib/libcapnp.so
+CONFLICTS_INSTALL=	capnproto capnproto080
 
 BINARY_ALIAS=	tclsh=${TCLSH}
 
diff --git a/cad/uhdm/distinfo b/cad/uhdm/distinfo
index 44c4cd62ea1c..822d57549daa 100644
--- a/cad/uhdm/distinfo
+++ b/cad/uhdm/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1680128130
-SHA256 (chipsalliance-UHDM-v1.51_GH0.tar.gz) = 97c068bb1eed1b9f57e1810c110d225b126a34e84603e6e4b1bd053b35cf5f82
-SIZE (chipsalliance-UHDM-v1.51_GH0.tar.gz) = 1755738
+TIMESTAMP = 1681669945
+SHA256 (chipsalliance-UHDM-v1.56_GH0.tar.gz) = f208e9dfbbd7547afacef0c2e8cf8ad143dae7effa90d020d211c6855690610e
+SIZE (chipsalliance-UHDM-v1.56_GH0.tar.gz) = 1759339
 SHA256 (capnproto-capnproto-14f24a4_GH0.tar.gz) = 1130e78658e8b1ceb3a69a6b3a964913f22505532ab217299e5600f371922877
 SIZE (capnproto-capnproto-14f24a4_GH0.tar.gz) = 2121570
-SHA256 (google-googletest-e2239ee_GH0.tar.gz) = 47a8ca2e1be737588628cbc82726a7c4fed060ae0098709003845e3ef298da2f
-SIZE (google-googletest-e2239ee_GH0.tar.gz) = 886254
+SHA256 (google-googletest-58d77fa_GH0.tar.gz) = a55ceaae12e0ea65fee295b8d807bab5c06a719e98d9ac15af7f7c42a8d5000e
+SIZE (google-googletest-58d77fa_GH0.tar.gz) = 854878
diff --git a/cad/uhdm/files/patch-CMakeLists.txt b/cad/uhdm/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..dd15fbdf3824
--- /dev/null
+++ b/cad/uhdm/files/patch-CMakeLists.txt
@@ -0,0 +1,10 @@
+--- CMakeLists.txt.orig	2023-04-16 17:58:00 UTC
++++ CMakeLists.txt
+@@ -404,6 +404,6 @@ install(
+   FILES ${CMAKE_CURRENT_BINARY_DIR}/UHDM.pc
+   DESTINATION lib/pkgconfig)
+ 
+-if(BUILD_SHARED_LIBS)
++if(FALSE AND BUILD_SHARED_LIBS)
+   add_subdirectory(python)
+ endif()
diff --git a/cad/uhdm/pkg-plist b/cad/uhdm/pkg-plist
index 7a1613df51df..0fc23d88ff0f 100644
--- a/cad/uhdm/pkg-plist
+++ b/cad/uhdm/pkg-plist
@@ -58,6 +58,7 @@ include/uhdm/clocking_block.h
 include/uhdm/clocking_io_decl.h
 include/uhdm/clone_tree.h
 include/uhdm/concurrent_assertions.h
+include/uhdm/config.h
 include/uhdm/constant.h
 include/uhdm/constr_foreach.h
 include/uhdm/constr_if.h
@@ -205,6 +206,7 @@ include/uhdm/property_typespec.h
 include/uhdm/range.h
 include/uhdm/real_typespec.h
 include/uhdm/real_var.h
+include/uhdm/ref_module.h
 include/uhdm/ref_obj.h
 include/uhdm/ref_obj_interf_net_var_group.h
 include/uhdm/ref_var.h
@@ -290,7 +292,10 @@ include/uhdm/wait_fork.h
 include/uhdm/wait_stmt.h
 include/uhdm/waits.h
 include/uhdm/while_stmt.h
-lib/cmake/UHDMConfig.cmake
+lib/cmake/UHDM/UHDMConfig.cmake
+lib/cmake/UHDM/UHDMConfigVersion.cmake
+lib/cmake/UHDM/UHDMTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/UHDM/UHDMTargets.cmake
 lib/uhdm/UHDM.capnp
 lib/uhdm/libcapnp.so
 lib/uhdm/libcapnp.so.0.8.0