Subject: Again: how how best handle libnbcompat (snprintf)?
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <georg.schwarz@freenet.de>
List: tech-pkg
Date: 11/29/2005 14:15:02
pkgtools/digest needs snprintf() to compile, which IRIX 5.3 does not
have. Fortunately libnbcompat provides that function.
Adding
.include "../../pkgtools/libnbcompat/buildlink3.mk" # for snprintf()
in pkgtools/digest/Makefile nicely solves the issue. Now I am wondering
whether this should simply be done unconditionally. Could this add
unnecessary code for other OSes? Or is there some clever mechanism in
libnbcompat to prevent this?
--
Georg Schwarz http://home.pages.de/~schwarz/
georg.schwarz@freenet.de +49 178 8545053