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 #!/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

View File

@ -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: