git: b136c72a9116 - main - astro/osmium-tool: Update to 1.16.0

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Thu, 28 Sep 2023 07:51:51 UTC
The branch main has been updated by lwhsu:

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

commit b136c72a91161a02f5e807b73d2befbb7c3a22e7
Author:     Ian Wagner <ianthetechie@gmail.com>
AuthorDate: 2023-09-27 08:23:43 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2023-09-28 07:51:48 +0000

    astro/osmium-tool: Update to 1.16.0
    
    1. Removes libbz2.so from LIB_DEPENDS
    
    I initially thought this was necessary, but saw a warning that it
    probably was not necessary. It looks like no other ports had a similar
    LIB_DEPENDS, and the lib in question is in /usr/lib (should be in base).
    
    2. Cleans up LZ4 CMake options
    
    In the original submission for this port (ports/269616), a committer noted
    that the CMake LZ4 options could be simplified, so I have applied the
    suggestions in this patch.
    
    PR:             274117
---
 astro/osmium-tool/Makefile | 6 ++----
 astro/osmium-tool/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/astro/osmium-tool/Makefile b/astro/osmium-tool/Makefile
index 13ee118bfe11..a5a4ea46b776 100644
--- a/astro/osmium-tool/Makefile
+++ b/astro/osmium-tool/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	osmium-tool
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.15.0
+DISTVERSION=	1.16.0
 CATEGORIES=	astro geography
 
 MAINTAINER=	ianthetechie@gmail.com
@@ -15,7 +15,6 @@ BUILD_DEPENDS=	${LOCALBASE}/include/osmium/version.hpp:astro/libosmium \
 		${LOCALBASE}/include/rapidjson/stringbuffer.h:devel/rapidjson \
 		hs-pandoc>0:textproc/hs-pandoc
 LIB_DEPENDS=	libboost_program_options.so:devel/boost-libs \
-		libbz2.so:archivers/bzip2 \
 		libexpat.so:textproc/expat2
 
 USES=		cmake:testing
@@ -26,8 +25,7 @@ PORTEXAMPLES=		extract-example-config/*
 OPTIONS_DEFINE=		EXAMPLES LZ4
 OPTIONS_DEFAULT=	EXAMPLES LZ4
 
-LZ4_CMAKE_ON=	-DWITH_LZ4=ON
-LZ4_CMAKE_OFF=	-DWITH_LZ4=OFF
+LZ4_CMAKE_BOOL=	WITH_LZ4
 
 LZ4_DESC=		Build with support for LZ4 compression of PBF files
 LZ4_LIB_DEPENDS=	liblz4.so:archivers/liblz4
diff --git a/astro/osmium-tool/distinfo b/astro/osmium-tool/distinfo
index ee3391e41923..21a0b036e0b4 100644
--- a/astro/osmium-tool/distinfo
+++ b/astro/osmium-tool/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674959777
-SHA256 (osmcode-osmium-tool-v1.15.0_GH0.tar.gz) = 0b3be2f07d60dfb93f65d6a9f1af1fc9cf6ef68e5a460997d841c93079c3377b
-SIZE (osmcode-osmium-tool-v1.15.0_GH0.tar.gz) = 490366
+TIMESTAMP = 1695800644
+SHA256 (osmcode-osmium-tool-v1.16.0_GH0.tar.gz) = f98454d9f901be42e0b6751aef40106d734887ee35190c224b174c2f27ef1c0f
+SIZE (osmcode-osmium-tool-v1.16.0_GH0.tar.gz) = 491176