mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
36 lines
1.1 KiB
Tcl
36 lines
1.1 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup crossgdb 1.0
|
|
|
|
crossgdb.setup arm-none-eabi 17.2
|
|
revision 0
|
|
|
|
maintainers {judaew @judaew} openmaintainer
|
|
|
|
# specific to ARM
|
|
configure.args-append \
|
|
--enable-interwork
|
|
|
|
# We don't actually violate the tree.
|
|
destroot.violate_mtree no
|
|
|
|
# Copied from devel/boost187
|
|
set pythons_versions {3.10 3.11 3.12 3.13 3.14}
|
|
|
|
set pythons_ports {}
|
|
foreach v ${pythons_versions} {
|
|
lappend pythons_ports python[string map {. {}} ${v}]
|
|
}
|
|
foreach v ${pythons_versions} {
|
|
set s [string map {. {}} ${v}]
|
|
set p python${s}
|
|
set i [lsearch -exact ${pythons_ports} ${p}]
|
|
set c [lreplace ${pythons_ports} ${i} ${i}]
|
|
variant ${p} description "Build GDB for Python ${v}" conflicts {*}${c} "
|
|
depends_lib-append port:${p}
|
|
configure.args-delete --without-python
|
|
configure.args-append --with-python=${prefix}/bin/python${v}
|
|
"
|
|
}
|