Skip to main content.

2003-Feb-20

gtexinfo wouldn't build:
/usr/bin/ld: cannot find -liconv
(Also see 10/Jan/2003.) There should be a mk/bsd.pkg.defaults.mk option to force that converters/libiconv is always required when using the converters/libiconv/buildlink2.mk. Also I made it check for library and not just include header; I submitted a patch for that. send-pr: pkg/20448: libiconv not built but needed. (This was discussed a lot. It was closed by jlam on 14/Mar/2003. Different patches were used. I didn't need libiconv, because it was included in glibc. gtexinfo built fine.)

Yesterday, I noticed using packages on different (or changed) machines may not have required install-info. For example, built gmake on a machine that had valid install-info, so gtexinfo was not a DEPENDS. Then installing gmake on another system caused:

sh: /usr/bin/install-info: No such file or directory
pkg_add: command '/usr/bin/install-info /usr/info/make.info
/usr/info/dir' failed
I made a patch for both mk/{bsd.pkg.defaults.mk,texinfo.mk} that adds a DEPENDS_TEXINFO setting which forces the gtexinfo dependency. send-pr: pkg/20450: patch to add pkgsrc option to force depends of gtexinfo (seb closed on 07/Oct/2003; he provided a simple patch for texinfo.mk.)

As saw yesterday, some packages are built using some curses (which may not be included with the system) but still not registered as a DEPENDS. Made a pkgsrc/mk/curses.buildlink2.mk file and a patch for misc/less. This less build was tested under NetBSD and my Linux. Under NetBSD it didn't register the ncurses (which is fine) unless USE_NCURSES was defined. send-pr: pkg/20453: new pkgsrc/mk/curses.buildlink2.mk file. (grant closed on 11/Oct/2003; he said rev. 1.11 of ncurses/buildlink2.mk fixed this.)