1
0
forked from 0ad/0ad

Make FCollada compile on OpenBSD, based on patch by anthonyjbentley. Refs #1463.

This was SVN commit r11936.
This commit is contained in:
leper 2012-06-04 21:33:15 +00:00
parent 66194deedc
commit 0296323c9d
2 changed files with 20 additions and 16 deletions

View File

@ -1,13 +1,15 @@
#!/bin/sh
# FreeBSD's make is different than GNU make, so we allow overriding the make command.
# If not set, MAKE will default to "gmake" on FreeBSD, or "make" on other OSes
if [ "`uname -s`" = "FreeBSD" ]
then
MAKE=${MAKE:="gmake"}
else
MAKE=${MAKE:="make"}
fi
# Some of our makefiles depend on GNU make, so we set some sane defaults if MAKE
# is not set.
case "`uname -s`" in
"FreeBSD" | "OpenBSD" )
MAKE=${MAKE:="gmake"}
;;
* )
MAKE=${MAKE:="make"}
;;
esac
# (We don't attempt to clean up every last file here - output in
# binaries/system/ will still be there, etc. This is mostly just

View File

@ -18,14 +18,16 @@ esac
JOBS=${JOBS:="-j2"}
# FreeBSD's make is different than GNU make, so we allow overriding the make command.
# If not set, MAKE will default to "gmake" on FreeBSD, or "make" on other OSes
if [ "`uname -s`" = "FreeBSD" ]
then
MAKE=${MAKE:="gmake"}
else
MAKE=${MAKE:="make"}
fi
# Some of our makefiles depend on GNU make, so we set some sane defaults if MAKE
# is not set.
case "`uname -s`" in
"FreeBSD" | "OpenBSD" )
MAKE=${MAKE:="gmake"}
;;
* )
MAKE=${MAKE:="make"}
;;
esac
# Parse command-line options: