Source
30
30
sudo sed -E -i "" "s,{} ({} ARCHIVE_SITE_LOCAL),\1," /opt/local/libexec/macports/lib/package1.0/portarchivefetch.tcl
31
31
# Fix bug in MacPorts 2.5.4 that mishandles multiple URLs in archive_site_local
32
32
# See https://trac.macports.org/ticket/57718
33
33
sudo sed -E -i "" 's,\[list (\$env\(\$senv\))\],\1,' /opt/local/libexec/macports/lib/port1.0/fetch_common.tcl
34
34
35
35
# Update PortIndex
36
36
rsync --no-motd -zvl "rsync://rsync.macports.org/macports/release/ports/PortIndex_darwin_${OS_MAJOR}_i386/PortIndex*" .
37
37
git remote add macports https://github.com/macports/macports-ports.git
38
38
git fetch macports master
39
39
## Run portindex on recent commits if PR is newer
40
-
git checkout -qf macports/master~8
40
+
git checkout -qf macports/master~4
41
41
git checkout -qf -
42
42
git checkout -qf "$(git merge-base macports/master HEAD)"
43
43
## Ignore portindex errors on common ancestor
44
44
portindex
45
45
git checkout -qf -
46
46
portindex -e
47
47
48
48
# Create macports user
49
49
sudo /opt/local/postflight && sudo rm -f /opt/local/postflight
50
50