Subject: How to best add libnbcompat?
To: None <>
From: Georg Schwarz <>
List: tech-pkg
Date: 08/29/2004 15:06:44
pkgsrc/comms/pilot-link (as an example) requires snprintf, which is not
available on IRIX 5.3, but which is provided by libnbcompat.
Linking in
pkgsrc/comms/pilot-link/work/pilot-link-0.11.7/src/pilot-datebook fails:

Manually adding -L/usr/local/pkg/lib -lnbcompat to the link command
solves this problem.
What would be the best way to have that added automatically?  

BTW, pkgsrc/comms/pilot-link uses strptime(), which does not exist on
IRIX 5.3. Judging from IRIX
6 does not suffer from that problem. Maybe other OSes do, though.
Therefore it might be a good idea to have that fuction in some
compatibility lib for pkgsrc. There seem to be some free implementations

Georg Schwarz     +49 177 8811442