Created attachment 224332 [details]
Patch for tiff
Update to 4.3.0
Switch to CMake
Compile and run tested on FreeBSD 13.0-RC1 (aarch64) (make, make check-plist, make test)
Poudriere testport OK 12.2-RELEASE (amd64)
Poudriere testport OK 11.4-RELEASE (amd64)
Enable lzma(2) and zstd support to align us to other distributions such as Arch Linux, Alpine, Debian, Gentoo, OpenSUSE etc.
MANPAGES should not be an option, it should be always on
Also, the man page links are no longer created
Sure, I can add that to defaults however I don't see why it shouldn't be optional. We have a lot of ports where it's optional and it's also been in Mk/bsd.options.desc.mk since 2012
I tried to track down the MLNKS thing, I can't find any other distro doing something similar and looking at the commit history I didn't find any obvious reason to it.
(In reply to daniel.engberg.lists from comment #4)
The MANPAGES option is only when it needs exotic build dependencies.
For the links, it's so that the man pages are usable. Otherwise, "man TIFFmalloc" etc will not work.
Created attachment 224336 [details]
Patch for tiff v2
Use CMAKE_ON instead of CMAKE_ARGS
Enable manpages by default
Add back symlinks for manpages
MANPAGES should not be an option
Created attachment 224337 [details]
Patch for tiff v3
Always install manpages
tiffgt.1.gz has to be removed to avoid conflict with graphics/tiffgt
Created attachment 224338 [details]
Patch for tiff v4
Remove tiffgt.1 man page
I will commit my own version of the update that keeps using gnu configure.
The CMake version is buggy (broken pkgconfig file, removed static lib that is needed by some ports etc.)