- Replace PERL with REINPLACE_CMD in post-patch.
- Replace "iconv.h" with "${ICONV_PREFIX}/include/iconv.h" so
/usr/include/iconv.h is included on FreeBSD 10 even when
converters/iconv is installed. The port uses iconvctl(3) which
isn't declared in /usr/local/include/iconv.h with -DLIBICONV_PLUG.
- files/patch-lib-error.c: Implement program_name using __progname.
- files/patch-libiconv-Makefile.in: deleted because the libiconv
directory isn't built.
- files/patch-src-Makefile.in:
+ Remove chunks that aren't needed.
+ Remove ../lib/libreco.a from LIBS so CFLAGS+=-fPIC can be removed
from the port Makefile. Instead, just copy lib/error.c (the only
file needed from libreco.a) to src/error.c and compile it into
librecode.so.
PR: 186637
Approved by: demon (maintainer)