Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
Re: [update] devel/cli11 2.4.2 -> 2.5.0
To:
Johannes Thyssen Tishman <jtt@openbsd.org>, ports@openbsd.org, rsadowski@openbsd.org
Date:
Sun, 9 Mar 2025 20:48:20 +0100

Download raw body.

Thread
On Sun Mar 09, 2025 at 07:19:01PM +0000, Johannes Thyssen Tishman wrote:
> Please find below an update for devel/cli11 to version 2.5.0.
> 
> The dropped patch and changes in PLIST are due to a discussion I had
> with rsadowski@ about letting upstream decide where CMake files should
> be installed.

OK rsadowski

> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/cli11/Makefile,v
> diff -u -p -r1.2 Makefile
> --- Makefile	24 Feb 2025 19:39:18 -0000	1.2
> +++ Makefile	9 Mar 2025 19:14:13 -0000
> @@ -4,9 +4,7 @@ PKGNAME =		${DISTNAME:L}
>  
>  GH_ACCOUNT =		CLIUtils
>  GH_PROJECT =		CLI11
> -GH_TAGNAME =		v2.4.2
> -
> -REVISION =		0
> +GH_TAGNAME =		v2.5.0
>  
>  CATEGORIES =		devel
>  HOMEPAGE =		https://cliutils.github.io/CLI11/book/
> @@ -25,6 +23,7 @@ CONFIGURE_ARGS =	-DCLI11_BUILD_DOCS=OFF 
>  			-DCLI11_BUILD_EXAMPLES=OFF \
>  			-DCLI11_BUILD_EXAMPLES_JSON=OFF \
>  			-DCLI11_BUILD_TESTS=ON \
> -			-DCLI11_BOOST=ON
> +			-DCLI11_BOOST=ON \
> +			-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
>  
>  .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/cli11/distinfo,v
> diff -u -p -r1.1.1.1 distinfo
> --- distinfo	10 Feb 2025 09:34:37 -0000	1.1.1.1
> +++ distinfo	9 Mar 2025 19:14:13 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (CLI11-2.4.2.tar.gz) = 8tiTplw7EyTFDU5oLAzcAh3QR3riwEhUTznu1mVLaZo=
> -SIZE (CLI11-2.4.2.tar.gz) = 343478
> +SHA256 (CLI11-2.5.0.tar.gz) = F+ArTN3C+jSOXb27WCxZo0hvorJDPnCgw7rLhxM0/VU=
> +SIZE (CLI11-2.5.0.tar.gz) = 361527
> Index: patches/patch-CMakeLists_txt
> ===================================================================
> RCS file: patches/patch-CMakeLists_txt
> diff -N patches/patch-CMakeLists_txt
> --- patches/patch-CMakeLists_txt	10 Feb 2025 09:34:37 -0000	1.1.1.1
> +++ /dev/null	1 Jan 1970 00:00:00 -0000
> @@ -1,20 +0,0 @@
> -Index: CMakeLists.txt
> ---- CMakeLists.txt.orig
> -+++ CMakeLists.txt
> -@@ -193,14 +193,14 @@ if(CLI11_INSTALL)
> - 
> -   # Make version available in the install
> -   install(FILES "${PROJECT_BINARY_DIR}/CLI11ConfigVersion.cmake"
> --          DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/CLI11")
> -+	  DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/CLI11")
> - 
> -   # Install the export target as a file
> -   install(
> -     EXPORT CLI11Targets
> -     FILE CLI11Config.cmake
> -     NAMESPACE CLI11::
> --    DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/CLI11")
> -+    DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/CLI11")
> - 
> -   # Use find_package on the installed package
> -   export(
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/devel/cli11/pkg/PLIST,v
> diff -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST	10 Feb 2025 09:34:37 -0000	1.1.1.1
> +++ pkg/PLIST	9 Mar 2025 19:14:13 -0000
> @@ -26,8 +26,8 @@ include/CLI/impl/Option_inl.hpp
>  include/CLI/impl/Split_inl.hpp
>  include/CLI/impl/StringTools_inl.hpp
>  include/CLI/impl/Validators_inl.hpp
> -lib/cmake/
> -lib/cmake/CLI11/
> -lib/cmake/CLI11/CLI11Config.cmake
> -lib/cmake/CLI11/CLI11ConfigVersion.cmake
>  lib/pkgconfig/CLI11.pc
> +share/cmake/
> +share/cmake/CLI11/
> +share/cmake/CLI11/CLI11Config.cmake
> +share/cmake/CLI11/CLI11ConfigVersion.cmake
>