Skip to content

Commit 6cc0bd6

Browse files
author
Sam Townsend
committed
Reverted VERSION.txt and changed compilers.sh to build correct version of Lazarus
1 parent e170881 commit 6cc0bd6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

VERSION.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.16.0-cocoa-alpha1
1+
5.16.0

setup/macosx/compilers.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -x
44

55
fpc="fpc-3.0.4.intel-macosx"
6-
lazarus="lazarus-1.8.2-i686-macosx"
6+
lazarus="lazarus-2.0.2-i686-macosx"
77

88
if [ -n "${sourceforge_mirror-}" ]; then
99
mirror_string="&use_mirror=${sourceforge_mirror}"
@@ -19,10 +19,11 @@ if [ ! -x "$(command -v fpc 2>&1)" ]; then
1919
fi
2020

2121
if [ ! -x "$(command -v lazbuild 2>&1)" ]; then
22-
wget "https://downloads.sourceforge.net/project/lazarus/Lazarus%20Mac%20OS%20X%20i386/Lazarus%201.8.2/$lazarus.dmg?r=&ts=$(date +%s)${mirror_string-}" -O "$lazarus.dmg"
22+
wget "https://downloads.sourceforge.net/project/lazarus/Lazarus%20Mac%20OS%20X%20i386/Lazarus%202.0.2/$lazarus.dmg?r=&ts=$(date +%s)${mirror_string-}" -O "$lazarus.dmg"
2323
hdiutil attach -quiet "$lazarus.dmg"
2424
pkgpath="$(hdiutil attach "$lazarus.dmg" | command awk "/Apple_HFS/ { print \$3 }")"
2525
sudo installer -pkg "$pkgpath/lazarus.pkg" -target /
2626
hdiutil unmount "$pkgpath"
2727
rm "$lazarus.dmg"
28+
lazbuild --build-ide= --cpu=x86_64 --widgetset=cocoa
2829
fi

0 commit comments

Comments
 (0)