$NetBSD: patch-co,v 1.2 2008/10/10 21:58:43 he Exp $ --- hints/freebsd.sh.orig 2007-12-18 11:47:07.000000000 +0100 +++ hints/freebsd.sh @@ -114,7 +114,7 @@ case "$osvers" in lddlflags="-Bshareable $lddlflags" ;; -*) +3*|4*|5*|6*) objformat=`/usr/bin/objformat` if [ x$objformat = xaout ]; then if [ -e /usr/lib/aout ]; then @@ -130,6 +130,14 @@ case "$osvers" in fi cccdlflags='-DPIC -fPIC' ;; + +*) + libpth="/usr/lib /usr/local/lib" + glibpth="/usr/lib /usr/local/lib" + ldflags="-Wl,-E " + lddlflags="-shared " + cccdlflags='-DPIC -fPIC' + ;; esac case "$osvers" in