git: 78ce19d97ee0 - main - math/polyclipper: Update 1.2.3-2 → 1.2.4

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 01 Apr 2023 07:19:14 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=78ce19d97ee06e1772c437cf512bcd39ede586fb

commit 78ce19d97ee06e1772c437cf512bcd39ede586fb
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-04-01 06:55:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-04-01 07:19:08 +0000

    math/polyclipper: Update 1.2.3-2 → 1.2.4
    
    Reported by:    portscout
---
 math/polyclipper/Makefile                   | 10 ++++------
 math/polyclipper/distinfo                   | 12 +++++-------
 math/polyclipper/files/patch-CMakeLists.txt | 26 ++------------------------
 3 files changed, 11 insertions(+), 37 deletions(-)

diff --git a/math/polyclipper/Makefile b/math/polyclipper/Makefile
index c18d8c3713b0..b6574aed3b4e 100644
--- a/math/polyclipper/Makefile
+++ b/math/polyclipper/Makefile
@@ -1,7 +1,5 @@
 PORTNAME=	polyclipper
-DISTVERSIONPREFIX=	v
-DISTVERSION=	1.2.3-2
-DISTVERSIONSUFFIX=	-g2a727eb
+DISTVERSION=	1.2.4
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -11,16 +9,16 @@ WWW=		https://github.com/LLNL/PolyClipper
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake
+USES=		cmake:testing
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	LLNL
 GH_PROJECT=	PolyClipper
-GH_TUPLE=	llnl:blt:0ae6bd2:blt/cmake/blt \
-		jmikeowen:PYB11Generator:f351df2:cmake/PYB11Generator
+GH_TUPLE=	jmikeowen:PYB11Generator:eb954d0:PYB11Generator/extern/PYB11Generator
 
 CMAKE_ON=	ENABLE_CXXONLY # otherwise it looks for python2
 CMAKE_OFF=	BUILD_TESTING
+CMAKE_TESTING_OFF=	BUILD_TESTING
 
 NO_BUILD=	yes
 NO_ARCH=	yes
diff --git a/math/polyclipper/distinfo b/math/polyclipper/distinfo
index 7faa1e547491..396a763bd76e 100644
--- a/math/polyclipper/distinfo
+++ b/math/polyclipper/distinfo
@@ -1,7 +1,5 @@
-TIMESTAMP = 1670066215
-SHA256 (LLNL-PolyClipper-v1.2.3-2-g2a727eb_GH0.tar.gz) = 6a0d2734a9cdc88e575134a7a4f0603456aa80d90fd316ace20f85d1526e7e98
-SIZE (LLNL-PolyClipper-v1.2.3-2-g2a727eb_GH0.tar.gz) = 275308
-SHA256 (llnl-blt-0ae6bd2_GH0.tar.gz) = a881609c8b3048487a230b696e38a48cb3f11c2a00bbb03034d0700fa18cf2d7
-SIZE (llnl-blt-0ae6bd2_GH0.tar.gz) = 1178467
-SHA256 (jmikeowen-PYB11Generator-f351df2_GH0.tar.gz) = 036462d577b08ac6e6c45eac4b691cda9314364ebb931dfd93d677a71c3b3e3d
-SIZE (jmikeowen-PYB11Generator-f351df2_GH0.tar.gz) = 64833
+TIMESTAMP = 1680327270
+SHA256 (LLNL-PolyClipper-1.2.4_GH0.tar.gz) = 02066fbf34b8bdbd22414514583c481c573cbb003e6dace398bc78678d967d38
+SIZE (LLNL-PolyClipper-1.2.4_GH0.tar.gz) = 274062
+SHA256 (jmikeowen-PYB11Generator-eb954d0_GH0.tar.gz) = 35e1d549775e251a73412fc27bd704f0e62ecc9030fb443620956fff496c5ab2
+SIZE (jmikeowen-PYB11Generator-eb954d0_GH0.tar.gz) = 74983
diff --git a/math/polyclipper/files/patch-CMakeLists.txt b/math/polyclipper/files/patch-CMakeLists.txt
index 24c560204f66..e113fc7b92bf 100644
--- a/math/polyclipper/files/patch-CMakeLists.txt
+++ b/math/polyclipper/files/patch-CMakeLists.txt
@@ -1,28 +1,6 @@
---- CMakeLists.txt.orig	2021-12-29 18:25:59 UTC
+--- CMakeLists.txt.orig	2023-03-30 17:11:57 UTC
 +++ CMakeLists.txt
-@@ -22,18 +22,18 @@ option(ENABLE_DOCS "enable the sphinx documentation" O
- #-------------------------------------------------------------------------------
- set(ENABLE_OPENMP ON CACHE BOOL "")
- 
--if (NOT POLYCLIPPER_BLT_DIR) 
-+if (FALSE AND NOT POLYCLIPPER_BLT_DIR) 
-   set (POLYCLIPPER_BLT_REL_DIR "${PROJECT_SOURCE_DIR}/cmake/blt" CACHE PATH "")
-   get_filename_component(POLYCLIPPER_BLT_DIR "${POLYCLIPPER_BLT_REL_DIR}" ABSOLUTE)
- endif()
- 
--if (NOT EXISTS "${POLYCLIPPER_BLT_DIR}/SetupBLT.cmake")
-+if (FALSE AND NOT EXISTS "${POLYCLIPPER_BLT_DIR}/SetupBLT.cmake")
-     message(FATAL_ERROR 
-             "${POLYCLIPPER_BLT_DIR} is not present.\n"
-             "call cmake with -DPOLYCLIPPER_BLT_DIR=/your/installation/of/blt\n")
- endif()
- 
--include(${POLYCLIPPER_BLT_DIR}/SetupBLT.cmake)
-+#include(${POLYCLIPPER_BLT_DIR}/SetupBLT.cmake)
- 
- #-------------------------------------------------------------------------------
- # Install
-@@ -118,4 +118,6 @@ endif()
+@@ -78,4 +78,6 @@ endif()
  #-------------------------------------------------------------------------------
  # Add any tests
  #-------------------------------------------------------------------------------