Skip to content

Commit e96b301

Browse files
committed
COMMON: Adjust paths for macports-tff (DIRTY)
1 parent b98d878 commit e96b301

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

toolchains/common/functions.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
2+
13
__do_make_bdir () {
24
# If build dir hasn't been cleant with do_clean_dir before this step will fail
35
# It's intended to keep images size at minimum
@@ -75,7 +77,7 @@ __do_http_fetch () {
7577
rm -r "$1"*/
7678
fi
7779
fname=$(basename $2)
78-
wget --no-hsts --progress=dot "$2" -O "$fname"
80+
/opt/macports-tff/bin/curl -L -o "$fname" "$2"
7981

8082
__do_verify "$fname" "$4"
8183

@@ -102,7 +104,7 @@ __do_configure () {
102104
__do_cmake () {
103105
mkdir -p build
104106
cd build
105-
cmake -DCMAKE_INSTALL_PREFIX=$PREFIX \
107+
/opt/macports-tff/bin/cmake -DCMAKE_INSTALL_PREFIX=$PREFIX \
106108
-DBUILD_SHARED_LIBS=no "$@" ..
107109
}
108110

0 commit comments

Comments
 (0)