Created attachment 199047 [details] patch with USES+= iconv The actual version of cabextract links with ${LOCALBASE}/libiconv.so.2 if and only if converters/libiconv is installed and this (conditional) dependency is never declared in cabextract's Makefile. My patch just adds iconv to the USES flags, which has as consequence to enforce link with the native iconv (i.e. cabextract is linked only to libc). All supported release have a native iconv since 10-CURRENT, so there are no special cases that need to link with libiconv from ports. I tested the patch in a 11.2-RELEASE/amd64 jail and on poudriere (11.2-RELEASE, both on amd64 and i386).
A commit references this bug: Author: sunpoet Date: Sat Nov 10 07:59:09 UTC 2018 New revision: 484591 URL: https://svnweb.freebsd.org/changeset/ports/484591 Log: Register iconv dependency - Bump PORTREVISION for dependency and package change PR: 233055 Submitted by: Lorenzo Salvadore <phascolarctos@protonmail.ch> Changes: head/archivers/cabextract/Makefile
Committed. Thanks!