# Required variables
WORKSPACE=${WORKSPACE:-}
-arch=${arch:-}
+platform=${platform:-}
conf=${conf:-}
build=${build:-}
cc=${cc:-}
fi
# Set platform variables
-case "$arch" in
+case "$platform" in
macos*)
export MAKE=make
export TAR=tar
export PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export CPPFLAGS="-I/opt/local/include"
export LDFLAGS="-L/opt/local/lib"
- export PYTHON="python3.9"
- export PYTHON_CONFIG="python3.9-config"
+ export PYTHON="python3"
+ export PYTHON_CONFIG="python3-config"
;;
freebsd*)