Make FCollada compile on OpenBSD, based on patch by anthonyjbentley. Refs #1463.
This was SVN commit r11936.
This commit is contained in:
parent
66194deedc
commit
0296323c9d
@ -1,13 +1,15 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# FreeBSD's make is different than GNU make, so we allow overriding the make command.
|
# Some of our makefiles depend on GNU make, so we set some sane defaults if MAKE
|
||||||
# If not set, MAKE will default to "gmake" on FreeBSD, or "make" on other OSes
|
# is not set.
|
||||||
if [ "`uname -s`" = "FreeBSD" ]
|
case "`uname -s`" in
|
||||||
then
|
"FreeBSD" | "OpenBSD" )
|
||||||
MAKE=${MAKE:="gmake"}
|
MAKE=${MAKE:="gmake"}
|
||||||
else
|
;;
|
||||||
MAKE=${MAKE:="make"}
|
* )
|
||||||
fi
|
MAKE=${MAKE:="make"}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# (We don't attempt to clean up every last file here - output in
|
# (We don't attempt to clean up every last file here - output in
|
||||||
# binaries/system/ will still be there, etc. This is mostly just
|
# binaries/system/ will still be there, etc. This is mostly just
|
||||||
|
@ -18,14 +18,16 @@ esac
|
|||||||
|
|
||||||
JOBS=${JOBS:="-j2"}
|
JOBS=${JOBS:="-j2"}
|
||||||
|
|
||||||
# FreeBSD's make is different than GNU make, so we allow overriding the make command.
|
# Some of our makefiles depend on GNU make, so we set some sane defaults if MAKE
|
||||||
# If not set, MAKE will default to "gmake" on FreeBSD, or "make" on other OSes
|
# is not set.
|
||||||
if [ "`uname -s`" = "FreeBSD" ]
|
case "`uname -s`" in
|
||||||
then
|
"FreeBSD" | "OpenBSD" )
|
||||||
MAKE=${MAKE:="gmake"}
|
MAKE=${MAKE:="gmake"}
|
||||||
else
|
;;
|
||||||
MAKE=${MAKE:="make"}
|
* )
|
||||||
fi
|
MAKE=${MAKE:="make"}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Parse command-line options:
|
# Parse command-line options:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user