(harmless) following error message is printed when hints are run:
./hints/freebsd.sh: /usr/bin/objformat: not found
The reason for this is outlined in this email from Feb 2007
http://lists.freebsd.org/pipermail/freebsd-ports/2007-February/038523.html
This patch just skips the objformat check for versions 7+ and
assumes ELF. (The end result is unchanged, but the error
message will not be printed anymore.)
lddlflags="-Bshareable $lddlflags"
;;
-*)
+3*|4*|5*|6*)
objformat=`/usr/bin/objformat`
if [ x$objformat = xaout ]; then
if [ -e /usr/lib/aout ]; then
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