This port depends on lcms, which recently started to install its lcms.h into ${PREFIX}/include/ instead of ${PREFIX}/include/lcms/ .
Provide a post-patch workaround, which looks for lcms.h and patches the
libmng_types.h if necessary. This fix was sitting in my own ports tree
for a while and I thought I committed it, until the pr 28202 got transfered
to me this morning:
PR: 28202
Submitted by: Dan Pelleg <dpelleg+bsd@cs.cmu.edu>53ac9ea355Port details
graphics/libmng 2.0.3_3
Multiple-image Network Graphics (MNG) reference library
Port info
- Maintainer
- ports@virtual-estates.net
- Packages
- latest: 2.0.3_3
- Upstream
- up to date
- Last update
- to 2.0.3_3 · 2adc4bef7d
- Quarterly
- 2026Q4: 2.0.3_3
- WWW
- https://sourceforge.net/projects/libmng/
- Links
- cgit · VuXML
Install
- Package
# pkg install libmnginstalls 2.0.3_3 fromlatest; fromquarterly(2026Q4) 2.0.3_3- Port
# cd /usr/ports/graphics/libmng && make install clean- Size
- 238 KiB download · 1.3 MiB installed
- Depends on
- graphics/jpeg-turbo 3.1.4.1, graphics/lcms2 2.19.1
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 2.0.3_3 | 2.0.3_3 | – |
| FreeBSD 15 | 2.0.3_3 | 2.0.3_3 | – |
| FreeBSD 14 | 2.0.3_3 | 2.0.3_3 | 2.0.3_3 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 2.0.3_3 | 2.0.3_3 | – |
| FreeBSD 14 | 2.0.3_3 | 2.0.3_3 | 2.0.3_3 |
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 2.0.3_3.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (58)
Fix LIB_DEPENDS to actually include a version number.. it's jpeg.9:... not jpeg:... PR: 27590 (partly) Submitted by: Jan L. Peterson <jlp@flipdog.com>a7894efe10
Although the port formally depended on lcms, the software was compiling without it :( Add the explicit -D to CFLAGS. Good noone tried to use the lcms part of the library... Also, add library dependencies to LDADD -- -ljpeg -lz -llcms.2483852c86
Explicitly link resulting library with libm, because other ports expect to be able to link just with ``-lmng'', not with ``-lmng -lm''. Submitted by: bento (sorta)b4d45cf41d
Upgrade to version 1.0.0. Drop the configure, libtool, etc. non-sense and just use our own clean and straightforward Makefile.bsd. While here, remove the SHLIB_VER variable -- I think it was not worth it to have it there... Thanks to Nathan for letting me know, the new version is available... PR: 25580 Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>1d6002b35d
Massive style enforcement - use ^I instead of spaces for variables identation.2b1a883dc4
- Use USE_LIBTOOL; - remove strange @exec/@unexec hack to create symlink to a shared library from pkg-plist. Our pkg_install tools should handle it w/o any problems.a673458923
Add new port of libmng 0.9.3, a library to support images in MNG format. MNG permits losslessly compressed, animated images. PR: 22547 Submitted by: Mikhail Teterin <mi@aldan.algebra.com>e2b43ed65d