diff options
author | Itai Ferber <itai@itaiferber.net> | 2024-09-13 15:28:23 -0400 |
---|---|---|
committer | Itai Ferber <itai@itaiferber.net> | 2024-09-13 15:33:30 -0400 |
commit | c05b53a27950e05f4efa22462780df034ef3eb31 (patch) | |
tree | 5f5fafd5d3836259f729e914345aa1d8da33be03 /dev-lang | |
parent | games-emulation/RetroArch: fix media-libs/mesa[gles2] dependency (diff) | |
download | guru-c05b53a27950e05f4efa22462780df034ef3eb31.tar.gz guru-c05b53a27950e05f4efa22462780df034ef3eb31.tar.bz2 guru-c05b53a27950e05f4efa22462780df034ef3eb31.zip |
dev-lang/swift: set up Python to respect PYTHON_SINGLE_TARGET
Signed-off-by: Itai Ferber <itai@itaiferber.net>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/swift/swift-5.10.1.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-lang/swift/swift-5.10.1.ebuild b/dev-lang/swift/swift-5.10.1.ebuild index 751bc6a93..b7cb27b91 100644 --- a/dev-lang/swift/swift-5.10.1.ebuild +++ b/dev-lang/swift/swift-5.10.1.ebuild @@ -113,6 +113,13 @@ src_unpack() { || die } +src_configure() { + default + + # Necessary to respect PYTHON_SINGLE_TARGET, if defined. + python_setup +} + src_compile() { # The Swift 5.10 compiler is partially written in Swift itself (the new # `swift-driver` + macro support via `swift-syntax`), which requires |