As far as I can tell libsvg is at best abandonware and fails to build, can we possibly move to librsvg instead? https://github.com/MapServer/MapServer/blob/rel-8-0-2/CMakeLists.txt#L156 Reference: https://pdr2.bofh.network/data/140-diizzy/libxml2-2131/logs/errors/libsvg-0.1.4_11.log
(In reply to Daniel Engberg from comment #0) Feel free to improve this port. Thank you !
Created attachment 251639 [details] Patch for mapserver * Modernize Makefile * Reduce amount of options and align port to closer match other distros in terms of functionality * Switch to libsvr2 * Remove invalid options (such as PHP) * Prefix binaries * Use framework helpers for INSTALL sections Compile tested on FreeBSD 14.0-RELEASE (amd64) (make, make check-plist) Poudriere testport OK 13.2-RELEASE (amd64) Poudriere testport OK 14.1-RELEASE (amd64)
err libsvr3 --> librsvg2 This should make it much easier to maintain in general
Created attachment 251640 [details] Patch for mapserver v2 Add missing build dep for PERL and PYTHON options
Wen, is the rework to commit or do you want to do some changes?
(In reply to Daniel Engberg from comment #5) Approved. Thank you !
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f1b848156286e5121019b5d18ff3461ef543657 commit 0f1b848156286e5121019b5d18ff3461ef543657 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2024-07-04 21:49:53 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-07-04 21:50:03 +0000 graphics/mapserver: Improve port * Modernize Makefile * Reduce amount of options and align port to closer match other distros in terms of functionality * Switch to from libsvg to librsvg2 * Remove invalid options (such as PHP) * Prefix binaries * Use framework helpers for INSTALL sections PR: 279897 Reviewed by: wen (maintainer) graphics/mapserver/Makefile | 334 ++++++++++++++++--------------------------- graphics/mapserver/pkg-plist | 20 ++- 2 files changed, 135 insertions(+), 219 deletions(-)
Committed, thanks!