Fix conditional target

This commit is contained in:
Xavier L'Heureux 2020-05-02 20:45:15 -04:00
parent bed8fcc41a
commit a622fc1001
No known key found for this signature in database
GPG key ID: A06A06A3924D1F17
2 changed files with 3 additions and 1 deletions

View file

@ -148,6 +148,7 @@ osx_homebrew()
###############################################################################
freebsd()
{
set -xe
echo "FreeBSD detected!"
echo "Installing missing packages..."
@ -168,6 +169,7 @@ freebsd()
install_freebsd_pkg "cmake"
install_freebsd_pkg "gmake"
install_freebsd_pkg "wget"
set +xe
}
###############################################################################

View file

@ -18,7 +18,7 @@ ifeq ($(UNAME),Darwin)
PREFIX_BINARY=0
VB_AUDIO=coreaudio
VBM=/Applications/VirtualBox.app/Contents/MacOS/VBoxManage
ifeq ($(UNAME),FreeBSD)
else ifeq ($(UNAME),FreeBSD)
FUMOUNT=sudo umount
export NPROC=sysctl -n hw.ncpu
PREFIX_BINARY=0