Skip to content

Commit

Permalink
Merge pull request #936 from dhomeier/ninja-py3
Browse files Browse the repository at this point in the history
Enable python3 for ninja bootstrap on macOS 11+
  • Loading branch information
nieder authored Feb 1, 2023
2 parents 5b679af + 469685b commit 533fdac
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion 10.9-libcxx/stable/main/finkinfo/devel/ninja.info
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ Source-Checksum: SHA256(3c6ba2e66400fe3f1ae83deb4b235faf3137ec20bd5b08c29bfc368d
SourceRename: %n-%v.tar.gz
# re2c >= 0.15.3 for its --no-version flag
BuildDepends: re2c (>= 0.15.3)
CompileScript: ./configure.py --bootstrap
CompileScript: <<
#!/bin/sh -ex
if [ -x /usr/bin/python ]; then
./configure.py --bootstrap
else
/usr/bin/python3 configure.py --bootstrap
fi
<<
InstallScript: <<
#!/bin/sh -ex
mkdir -p %i/bin
Expand Down

0 comments on commit 533fdac

Please sign in to comment.