science/libkml: Fix building with CMake 4 PR: 298527 Approved by: sunpoet (maintainer timeout)5fef8bd57a
Port details
science/libkml 1.3.0_32
Reference implementation of OGC KML 2.2
Port info
- Maintainer
- sunpoet@FreeBSD.org
- Packages
- latest: 1.3.0_32
- Upstream
- up to date
- Last update
- to 1.3.0_32 · 5fef8bd57a
- Quarterly
- 2026Q4: 1.3.0_32
- WWW
- https://github.com/libkml/libkml
- Links
- cgit · VuXML · Report wrong data
Install
- Package
# pkg install libkmlinstalls 1.3.0_32 fromlatest; fromquarterly(2026Q4) 1.3.0_32- Port
# cd /usr/ports/science/libkml && make install clean# make -C /usr/ports/science/libkml config # change options first
- Size
- 921 KiB download · 4.5 MiB installed
- Depends on
- archivers/minizip 1.3.2_1, devel/boost-libs 1.92.0, ftp/curl 8.23.0, net/uriparser 1.0.2, textproc/expat2 2.9.0
- License
- BSD3CLAUSE
- Options
- 1 of 1 on in the package: EXAMPLES
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 1.3.0_32 | 1.3.0_32 | – |
| FreeBSD 15 | 1.3.0_32 | 1.3.0_32 | – |
| FreeBSD 14 | 1.3.0_32 | 1.3.0_32 | 1.3.0_32 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 1.3.0_32 | 1.3.0_32 | – |
| FreeBSD 14 | 1.3.0_32 | 1.3.0_32 | 1.3.0_32 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 1.3.0_32.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (76)
*/*: update boost consumers after boost-1.9297a84ef467
science/libkml: Remove USES=pathfix0e39238402
devel/boost: bump consumers after boost upgrade (+) Get rid of direct dependency ob libbost_system.so, use libboost_thread.so instead67fb95fb3b
devel/boost: bump consumers after Boost update18632db919
science/libkml: Simplify expat fix6ab2eadcf0
devel/boost: bump consumers after Boost-1.87 update Sponsored by: Future Crew, LLCfa53920e72
devel/boost: bump consu,ers after update Boost to 1.86 release Sponsored by: Future Crew, LLC312ee18b02
*/*: bump consumers after devel/boost* update With hat: office Sponsored by: Future Crew, LLC55cfbcf56c
science/libkml: Fix linking with CMake >= 3.27 Due to changes [1] in the FindEXPAT module, this was failing to link with newer versions of CMake. FAILED: bin/example_balloonwalker : && /usr/bin/c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -DNDEBUG -lz -fstack-protector-strong examples/engine/CMakeFiles/example_balloonwalker.dir/balloonwalker.cc.o -o bin/example_balloonwalker -Wl,-rpath,/wrkdirs/usr/ports/science/libkml/work/.build/lib:/usr/local/lib lib/libkmlengine.so.1.3.1 lib/libkmldom.so.1.3.1 lib/libkmlbase.so.1.3.1 /usr/local/lib/libminizip.so /usr/local/lib/liburiparser.so && : ld: error: lib/libkmldom.so.1.3.1: undefined reference to XML_StopParser [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_ParserCreateNS [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_ParserCreate [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_SetUserData [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_SetElementHandler [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_SetCharacterDataHandler [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_SetEntityDeclHandler [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_SetNamespaceDeclHandler [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_StopParser [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_ParserFree [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_Parse [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_GetBuffer [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_ParseBuffer [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_GetParsingStatus [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_GetErrorCode [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_ErrorString [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_GetCurrentLineNumber [--no-allow-shlib-undefined] ld: error: lib/libkmlbase.so.1.3.1: undefined reference to XML_GetCurrentColumnNumber [--no-allow-shlib-undefined] c++: error: linker command failed with exit code 1 (use -v to see invocation) [1] https://github.com/Kitware/CMake/commit/13079f382b480c8fe6a68d98afc2cec716a75e59 PR: 274225baf3577af4
science/libkml: Fix build with Clang 16 Clang 16 uses c++17 by default.a6a8311b88
science/libkml: Update to newer snapshot (916a801) - Re-apply 71a4cedd0383a76f847f0fa1ab32b9209df20959 - Clean up BUILD_DEPENDS: all of them are in the ports tree for years - Bump PORTREVISION of dependent port (graphics/gdal) for shlib change - Bump PORTREVISION for package change Local patches have been merged by upstream in 916a801 [1]. Tested all dependent ports of graphics/gdal in case of potential breakage. - math/openturns and science/paraview are skipped due to ceres-solver breakage - graphics/mapnik is skipped due to potential boost-libs breakage [2][3] Changes: https://github.com/libkml/libkml/commits/master Reference: https://github.com/libkml/libkml/commit/916a801ed3143ab82c07ec108bad271aa441da16 [1] https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p3b548e384d0b_sfc4a676827/logs/mapnik-3.1.0_3.log [2] https://pkg-status.freebsd.org/beefy16/data/132amd64-default/3b548e384d0b/logs/mapnik-3.1.0_3.log [3] PR: 266221, 266252e17f183ac7
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
science/libkml: Revert 71a4cedd0383a76f847f0fa1ab32b9209df20959 - Bump PORTREVISION for dependency and package change PR: 266221 Reported by: thierry357b6cc9c0
science/libkml: Update to newer snapshot (916a801) - Bump PORTREVISION for package change Local patches have been merged by upstream in 916a801 [1]. Changes: https://github.com/libkml/libkml/commits/master Reference: https://github.com/libkml/libkml/commit/916a801ed3143ab82c07ec108bad271aa441da16 [1]71a4cedd03
science/libkml: Remove unneeded googletest - Bump PORTREVISION for dependency change PR: 266043 Reported by: yuri058c43068e
*/*: bump all consumers after recent boost upgrade4cf39decb3
science: remove 'Created by' lines A big Thank You to the original contributors of these ports: * Andreas Fehlner <fehlner@gmx.de> * Brad Huntting <huntting@glarp.com> * Chao Shin <quakelee@cn.FreeBSD.org> * Cheng-Lung Sung <clsung@FreeBSD.org> * Chia-Hsing Yu <me@davidyu.org> * Chris Rees <utisoft@gmail.com> * David Naylor <dbn@FreeBSD.org> * Dmitry Sivachenko <demon@FreeBSD.org> * Ed Schouten <ed@FreeBSD.org> * Eric Freeman <freebsdports@chillibear.com> * Erik B Knudsen * Fernan Aguero <fernan@iib.unsam.edu.ar> * Frederic Culot <frederic@culot.org> * Gea-Suan Lin <gslin@gslin.org> * Glenn Johnson * Greg Lewis <glewis@FreeBSD.org> * Igor Serikov <iserikov@acm.org> * Johannes Dieterich <dieterich@ogolem.org> * Johannes Dieterich <jmd@FreeBSD.org> * Johannes M Dieterich <jmd@FreeBSD.org> * Johannes Meixner <johannes@perceivon.net> * Ju Pengfei <jupengfei@gmail.com> * Kay Lehmann <kay_lehmann@web.de> * Klaus Aehlig <aehlig@linta.de> * Kurt Kanzenbach <kurt@kmk-computers.de> * Leland Wang <llwang@infor.org> * Li-Lun Wang <llwang@infor.org> * Markus Brueffer <markus@FreeBSD.org> * NAKATA Maho <maho@FreeBSD.org> * NAKATA, Maho <maho@FreeBSD.org> * Nakata Maho <chat95@mbox.kyoto-inet.or.jp> * Nakata Maho <maho@FreeBSD.org> * Pav Lucistnik <pav@FreeBSD.org> * Pav Lucistnik <pav@oook.cz> * Pedro F. Giffuni * Pedro F. Giffuni <giffunip@tutopia.com> * Pedro Giffuni * Pedro Giffuni <giffunip@asme.org> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Rong-En Fan <rafan@FreeBSD.org> * Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp> * Seamus Venasse <svenasse@polaris.ca> * Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp> * Shin-ya MURAKAMI <murashin@gfd-dennou.org> * Shin-ya Murakami <murashin@gfd-dennou.org> * Stas Timokhin <devel@stasyan.com> * Stephen Montgomery-Smith <stephen@math.missouri.edu> * Steve Wills <steve@mouf.net * Steve Wills <steve@mouf.net> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> * TAKATSU Tomonari <tota@FreeBSD.org> * TAOKA Fumiyoshi * Thierry Thomas <thierry@pompo.net> * Tim Cas <ports@stdrand.com> * Uffe Jakobsen <uffe@uffe.org> * Veniamin Gvozdikov <vg@FreeBSD.org> * Vsevolod Stakhov <vsevolod@highsecure.ru> * Wen Heping <wen@FreeBSD.org> * Wen Heping <wenheping@gmail.com> * Wen heping <wenheping@gmail.com> * Ying-Chieh Liao <ijliao@FreeBSD.org> * Yuri Victorovich <yuri@rawbw.com> * anholt@FreeBSD.org * bacon@smithers.neuro.mcw.edu * batman <batman@udel.edu> * db * gurkan@phys.ethz.ch * ijliao * jbacon * maintainer.freebsd@xpoundit.com * mi * rafan@infor.org * shurd@FreeBSD.org * thierry@pompo.net * will With hat: portmgr46196047a4
devel/googletest: update to 1.12.1 Changes: https://github.com/google/googletest/releases/tag/release-1.12.1 Reported by: GitHub (watch releases)957aa87c3d
devel/googletest: update to 1.12.0 Changes: https://github.com/google/googletest/releases/tag/release-1.12.0 Reported by: GitHub (watch releases)3ff1f557e4
devel/boost-all: bump all library consumers after boost upgrade PR: 246106b082b3d13e
archivers/minizip*: Add minizip-ng and zlib-ng and create USES=minizip
Import minizip-ng and zlib-ng
Minizip was originally developed in 1998. It was first included in the zlib
distribution as an additional code contribution starting in zlib 1.1.2. Since
that time, it has been continually improved upon and contributed to by many
people.
+ Creating and extracting zip archives.
+ Adding and removing entries from zip archives.
+ Read and write raw zip entry data.
+ Reading and writing zip archives from memory.
+ Zlib, BZIP2, LZMA, and ZSTD compression methods.
+ Password protection through Traditional PKWARE and WinZIP AES encryption.
+ Buffered streaming for improved I/O performance.
some ports bundle it, some ports allow building against a systemwide
one, some ports bundle/rely on an incompatible version - all those will be
fixed in following commits.
Mk/Uses: Introduce USES=minizip[:ng]
To simplify, the LIB_DEPENDS part a new USES tag is added.
USES=minizip will add a LIB_DEPENDS on legacy minizip and
USES=minizip:ng will add a LIB_DEPENDS on minizip-ng.
minizip [1]:
databases/spatialite
databases/spatialite-tools
devel/collada-dom
games/mrboom
games/oolite
graphics/comical
misc/xiphos
science/libkml
textproc/sigil
www/domoticz
deskutils/anydesk
emulators/mupen64plus-core
multimedia/assimp
multimedia/vlc
net-im/psi
net-im/telegram-desktop
minizip-ng:
devel/axmldec
[1] Some are known to work with minizip-ng but have to be patched.
Approved by: tcberner (portmgr)
Differential Revision: https://reviews.freebsd.org/D3377145ab80b9dfdevel/googletest: update to 1.11.0 Changes: https://github.com/google/googletest/compare/53495a2a...release-1.11.0 Changes: https://github.com/google/googletest/releases/tag/release-1.11.0 Reported by: GitHub (watch releases)44216098e5
devel/googletest: update to 1.10.0.667 Upstream no longer makes releases, see https://github.com/google/googletest/commit/861d535e2595 Changes: https://github.com/google/googletest/compare/release-1.10.0...53495a2a Reported by: ngie (1 year ago)ab6322ef63
Remove # $FreeBSD$ from Makefiles.305f148f48
Convert REINPLACE_CMD to patch files8ae03c6a7b
devel/boost-*: update to 1.72.0 Changes: http://www.boost.org/users/history/version_1_72_0.html PR: 241449 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D22136701aa3bcf8
devel/google{test,mock}: update to 1.10.0
- Drop static library
- Drop gtest-config and gmock-config
- Drop GTEST_LIB_CHECK autoconf macro
- Drop gmock_doctory.py as it's too old
- Expose tests via option
Changes: https://github.com/google/googletest/compare/release-1.8.1...release-1.10.0
Reported by: GitHub (watch releases)
PR: 239654
Differential Revision: https://reviews.freebsd.org/D19430fbea4307e8devel/boost-*: update to 1.71.0 Changes: http://www.boost.org/users/history/version_1_71_0.html PR: 238827 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D20774befa71e0f3
Cosmetic changed41dd4068c
science/libkml: fix build with GCC architectures Typedef redefinitions were introduced in C11. Approved by: mentors (implicit approval)4af00fce4c
devel/boost-*: update to 1.70.0 Changes: http://www.boost.org/users/history/version_1_70_0.html PR: 235956 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D193039b21a3a084
devel/boost-*: update to 1.69.0 Changes: http://www.boost.org/users/history/version_1_69_0.html PR: 232525 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D176457c879267dc
devel/google{test,mock}: update to 1.8.1
Changes: https://github.com/google/googletest/compare/9bda90b...release-1.8.1a519cdfee3devel/boost-*: update to 1.68.0 - Switch to C++14 for libboost_system to support C++14 consumers Changes: http://www.boost.org/users/history/version_1_68_0.html PR: 229569 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D161650b055d47f2
Convert PORTEXAMPLES=* to PLIST entries1e5ee3f9c9
devel/boost-*: update to 1.67.0 Changes: http://www.boost.org/users/history/version_1_67_0.html PR: 227427 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D15030cc95712fbe
devel/google{test,mock}: update to 1.8.0.712
Changes: https://github.com/google/googletest/compare/5490beb...9bda90bf2dc6771beUse CMAKE_BOOL075392f21d
Fix build with Clang 6 MFH: 2018Q18290653fcc
Use CMAKE_OFF55daf7bf23
devel/boost-*: update to 1.66.0 Changes: http://www.boost.org/users/history/version_1_66_0.html PR: 223922 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D1327925beeff079
devel/google{test,mock}: update to 1.8.0.450
Changes: https://github.com/google/googletest/compare/f1a87d7...5490beb95ad0a601cdevel/google{test,mock}: update to 1.8.0.358
Changes: https://github.com/google/googletest/compare/59c795c...f1a87d73c2e383c73devel/boost-*: update to 1.65.1 Changes: http://www.boost.org/users/history/version_1_65_1.html PR: 218835 Approved by: maintainer timeout (1.65.1: 2 weeks; 1.65.0: 1 month) Tested by: jhibbits (on powerpc64, earlier version) Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D1158298eb11b2f0
devel/boost-*: enable C++11 features PR: 218835 Obtained from: https://github.com/DragonFlyBSD/DeltaPorts/pull/690 Approved by: maintainer timeout (2 months) Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D115827e21a6476a
Pet portlint: move BROKEN_* upwardfc0629ec64
Mark some ports failing on power64. In cases where the error message was a stub, provide a real one. While here, pet portlint. Approved by: portmgr (tier-2 blanket) Reported by: swills197f08abf4
devel/google{test,mock}: update to 1.8.0.50
Changes: https://github.com/google/googletest/compare/a2b8a8e...59c795c1cbf47a8da