summaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-02-09 17:48:50 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-02-09 17:48:50 +0100
commit81b111036ebbc6bf4977a9b5d68b652504acbc17 (patch)
treedb27b8070635463a35705898761b6a1695f0b50f /makefiles
parentd9084ea789c68bf874039d1f22ae9551f25fc8a2 (diff)
downloadwolfbones-81b111036ebbc6bf4977a9b5d68b652504acbc17.tar.gz
wolfbones-81b111036ebbc6bf4977a9b5d68b652504acbc17.tar.bz2
made it work on NetBSD 4.0
Diffstat (limited to 'makefiles')
-rwxr-xr-xmakefiles/guess_env10
1 files changed, 9 insertions, 1 deletions
diff --git a/makefiles/guess_env b/makefiles/guess_env
index ae7728a..81900e5 100755
--- a/makefiles/guess_env
+++ b/makefiles/guess_env
@@ -30,6 +30,14 @@ case "$UNAME_SYSTEM.$UNAME_RELEASE" in
LIBS_SSP=
;;
+ NetBSD*) PLATFORM=NETBSD
+ OS_MAJOR_VERSION=`echo $UNAME_RELEASE | cut -d . -f 1`
+ OS_MINOR_VERSION=`echo $UNAME_RELEASE | cut -d . -f 2 | cut -d - -f 1`
+ INSTALL='install'
+ LIBS_DL=
+ LIBS_SSP=
+ ;;
+
SunOS*) PLATFORM=SUNOS
OS_MAJOR_VERSION=`echo $UNAME_RELEASE | cut -d . -f 1`
OS_MINOR_VERSION=`echo $UNAME_RELEASE | cut -d . -f 2`
@@ -48,7 +56,7 @@ case "$UNAME_SYSTEM.$UNAME_RELEASE" in
*)
PLATFORM=UNKNOWN
- echo "Unknown platform '$UNAME_SYSTEM#$UNAME_RELEASE'"
+ echo "Unknown platform '$UNAME_SYSTEM $UNAME_RELEASE'"
exit 1
esac