Created attachment 209137 [details] Patch Optionize NLS for shared-mime-info: this would allow to free around to 2MB of space which is useful for VMs and embedded systems. NB: It doesn't seem to properly handle --disable-nls, so it links gettext regardless. % pkg info -ql shared-mime-info-1.10_1 | xargs ls -l | awk '$9~/LC_MESSAGES/{s+=$5}END{printf("%.2fMiB\n", s/1024.0/1024.0)}' 1.99MiB
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/99098331
A commit references this bug: Author: amdmi3 Date: Tue Dec 3 11:53:43 UTC 2019 New revision: 518935 URL: https://svnweb.freebsd.org/changeset/ports/518935 Log: - OPTIONize NLS PR: 241957 Submitted by: amdmi3 Approved by: maintainer timeout (desktop, 2 weeks) Changes: head/misc/shared-mime-info/Makefile head/misc/shared-mime-info/pkg-plist