Skip to content

Commit f9d9504

Browse files
Merge pull request #1048 from transmission-remote-gui/update-macOS-compiler
Upgrade Lazarus to v1.8.0 & Free Pascal to v3.0.4 on macOS
2 parents 2ded751 + 2d52924 commit f9d9504

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup/macosx/compilers.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/bin/sh
2-
fpc="fpc-3.0.2.intel-macosx"
3-
lazarus="lazarus-1.6.4-20170226-i386-macosx"
2+
fpc="fpc-3.0.4.intel-macosx"
3+
lazarus="lazarus-1.8.0-i686-macosx"
44

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

99
if [ ! -x "$(command -v fpc 2>&1)" ]; then
10-
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
10+
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
1111
hdiutil attach -quiet $fpc.dmg
1212
pkgpath="$(hdiutil attach $fpc.dmg | grep Apple_HFS | awk '{ print $3 }')"
1313
sudo installer -pkg "$pkgpath/$fpc.pkg" -target /
@@ -16,7 +16,7 @@ if [ ! -x "$(command -v fpc 2>&1)" ]; then
1616
fi
1717

1818
if [ ! -x "$(command -v lazbuild 2>&1)" ]; then
19-
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"
19+
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"
2020
hdiutil attach -quiet "$lazarus.dmg"
2121
pkgpath="$(hdiutil attach "$lazarus.dmg" | grep Apple_HFS | awk '{ print $3 }')"
2222
sudo installer -pkg "$pkgpath/lazarus.pkg" -target /

0 commit comments

Comments
 (0)