Skip to content

Commit 985385a

Browse files
committed
g++ is not a FreBSD package
1 parent 3d042e2 commit 985385a

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

scripts/buildLuaRocks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ rm luarocks-3.12.2.tar.gz
1414
cd luarocks-3.12.2
1515
case $(uname -v) in
1616
*FreeBSD*)
17-
./configure --with-lua-bin="/usr/local/bin/$LUA_BIN_NAME"
17+
./configure --with-lua-bin="/usr/local/bin/"
1818
;;
1919
*)
2020
./configure

scripts/compilerName.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ export CXX_COMPILER=""
55

66
if [[ $COMPILER = "gcc" ]]; then
77
export C_COMPILER_PACKAGE="gcc"
8-
export CXX_COMPILER_PACKAGE="g++"
8+
case $(uname -v) in
9+
*FreeBSD*)
10+
export CXX_COMPILER_PACKAGE=""
11+
;;
12+
*)
13+
export CXX_COMPILER_PACKAGE="g++"
14+
;;
15+
esac
16+
917
export C_COMPILER="/usr/bin/gcc"
1018
export CXX_COMPILER="/usr/bin/g++"
1119
elif [[ $COMPILER = "clang" ]]; then

0 commit comments

Comments
 (0)