When building tcl on NetBSD, LDFLAGS are not passed to the included pkgs.
The fix is easy: add ${LDFLAGS_DEFAULT} to SHLIB_LD= in the NetBSD case in the files.

Looking at the files, this will also affect other operating systems (except Linux, where SHLIB_LD already includes LDFLAGS_DEFAULT).