Subject: devel/nss and Linux
To: None <mjl@luckie.org.nz, tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 07/05/2005 09:54:49
My first problems with devel/nss was many:
/usr/bin/ld: cannot find -lplc4
I modified all these files to add -L to point to the lib/nspr:
work/nss-3.9.2/mozilla/security/nss/Makefile
work/nss-3.9.2/mozilla/security/nss/lib/ckfw/builtins/Makefile
work/nss-3.9.2/mozilla/security/nss/lib/fortcrypt/swfort/pkcs11/Makefile
work/nss-3.9.2/mozilla/security/nss/lib/nss/config.mk
work/nss-3.9.2/mozilla/security/nss/lib/smime/config.mk
work/nss-3.9.2/mozilla/security/nss/lib/softoken/config.mk
work/nss-3.9.2/mozilla/security/nss/lib/ssl/config.mk
libplc4 is at work/.buildlink/lib/nspr/libplc4.so but no -L was point to
it.
Is there some way to use BUILDLINK_TRANSFORM to add
-L${BUILDLINK_PREFIX.nspr}/lib/nspr when ever -lplc4 is used?
The second problem was that pkgsrc Makefile assumes the files to be
installed are at ${OPSYS}${OS_VERSION}_OPT.OBJ (Linux2.6.9_OPT.OBJ), but
on my system they were at Linux2.6_x86_glibc_PTH_OPT.OBJ.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/