Skip to content

Commit

Permalink
astro/osmium-tool: Update to 1.16.0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ian Wagner authored and lwhsu committed Sep 28, 2023
1 parent eb35fc7 commit b136c72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions 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
Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions 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

0 comments on commit b136c72

Please sign in to comment.