Subject: automatic shared library handling failure on arm32
To: None <tech-pkg@netbsd.org>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: tech-pkg
Date: 01/28/2001 21:22:11
so, on an arm32 system (DNARD) running 1.5-branch, for dynamically
linked executables, file(1) reports:

/usr/bin/netstat: setgid NetBSD/arm32 demand paged shared library

now, this is a bug in itself but it triggers a bug in bsd.pkg.mk..

this causes "automatic none shared library handling", which I don't
think is what was intended.

the following change to bsd.pkg.mk appears to fix this.

@@ -1916,6 +1930,8 @@
                case `${FILE} a.$$$$.out` in                            \
                *ELF*dynamically*)                                      \
                        sotype=ELF ;;                                   \
+               *shared*library*)                                       \
+                       sotype="a.out" ;;                               \
                *dynamically*)                                          \
                        sotype="a.out" ;;                               \
                esac;                                                   \

					- Bill