Skip to content

Upgrade Lazarus to v1.8.0 & Free Pascal to v3.0.4 on macOS #1048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 22, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions setup/macosx/compilers.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/sh
fpc="fpc-3.0.2.intel-macosx"
lazarus="lazarus-1.6.4-20170226-i386-macosx"
fpc="fpc-3.0.4.intel-macosx"
lazarus="lazarus-1.8.0-i686-macosx"

if [ -n "${sourceforge_mirror-}" ]; then
mirror_string="&use_mirror=$sourceforge_mirror"
fi

if [ ! -x "$(command -v fpc 2>&1)" ]; then
wget "https://downloads.sourceforge.net/project/lazarus/Lazarus%20Mac%20OS%20X%20i386/Lazarus%201.6.4/$fpc.dmg?r=&ts=$(date +%s)${mirror_string-}" -O $fpc.dmg
wget "https://downloads.sourceforge.net/project/lazarus/Lazarus%20Mac%20OS%20X%20i386/Lazarus%201.8.0/$fpc.dmg?r=&ts=$(date +%s)${mirror_string-}" -O $fpc.dmg
hdiutil attach -quiet $fpc.dmg
pkgpath="$(hdiutil attach $fpc.dmg | grep Apple_HFS | awk '{ print $3 }')"
sudo installer -pkg "$pkgpath/$fpc.pkg" -target /
Expand All @@ -16,7 +16,7 @@ if [ ! -x "$(command -v fpc 2>&1)" ]; then
fi

if [ ! -x "$(command -v lazbuild 2>&1)" ]; then
wget "https://downloads.sourceforge.net/project/lazarus/Lazarus%20Mac%20OS%20X%20i386/Lazarus%201.6.4/$lazarus.dmg?r=&ts=$(date +%s)${mirror_string-}" -O "$lazarus.dmg"
wget "https://downloads.sourceforge.net/project/lazarus/Lazarus%20Mac%20OS%20X%20i386/Lazarus%201.8.0/$lazarus.dmg?r=&ts=$(date +%s)${mirror_string-}" -O "$lazarus.dmg"
hdiutil attach -quiet "$lazarus.dmg"
pkgpath="$(hdiutil attach "$lazarus.dmg" | grep Apple_HFS | awk '{ print $3 }')"
sudo installer -pkg "$pkgpath/lazarus.pkg" -target /
Expand Down