Skip to content

Commit

Permalink
log4cxx: update to 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mascguy committed Mar 8, 2025
1 parent 44033c7 commit d6194a4
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions devel/log4cxx/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

PortSystem 1.0
PortGroup cmake 1.1
PortGroup github 1.0

github.setup apache logging-log4cxx v
name log4cxx
version 1.1.0
revision 1
version 1.4.0
revision 0

categories devel
license Apache-2
Expand All @@ -21,23 +23,26 @@ homepage https://logging.apache.org/log4cxx/
distname apache-log4cxx-${version}
master_sites apache:logging/log4cxx/${version}

checksums rmd160 ba8437437e90346e02d527fef2adbcb220224f57 \
sha256 1fc7d82697534184bc0f757348d969d24852b948f63d6b17283fd1ee29c2c28a \
size 564044
checksums rmd160 dc3b4917a396ad575c6fad5193b7674b268b49be \
sha256 3d2d1f356a546c14562763aaf15fcc3fd59d4ffeb5a2f68fcb0bbd7571ed6f96 \
size 667835

set port_libfmt libfmt9
set port_libfmt libfmt11
cmake.module_path-append \
${prefix}/lib/${port_libfmt}/cmake

depends_build-append \
port:pkgconfig
path:bin/pkg-config:pkgconfig

depends_lib-append \
port:apr-util \
port:expat \
port:${port_libfmt}
port:${port_libfmt} \
port:libiconv

compiler.cxx_standard 2017
# While project defaults to 2020, build will gracefully fallback if set to 2017
cmake.set_cxx_standard yes

# gcc-4.2 fails to build this on darwin 10
# https://trac.macports.org/ticket/40090
Expand All @@ -55,7 +60,7 @@ patchfiles-append gcc43.patch
# See: https://github.com/fmtlib/fmt/issues/2759
patchfiles-append patch-fmt.diff

# This reverts a commit that doesn’t build on PPC:
# This reverts a commit that does not build on PPC:
# https://github.com/apache/logging-log4cxx/commit/23a85d7a711f1cd5bf7170ff2a4106d00995c079#commitcomment-80358572
platform darwin powerpc {
patchfiles-append patch-logstream.diff
Expand Down

0 comments on commit d6194a4

Please sign in to comment.