You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
8448949fff
- drop py39, add py314 subport - swith to PyPI
21 lines
884 B
Diff
21 lines
884 B
Diff
--- setup.py.orig 2026-03-27 15:49:51
|
|
+++ setup.py 2026-03-27 15:52:03
|
|
@@ -203,7 +203,7 @@
|
|
and not platform.uname()[4].startswith(('arm', 'aarch64')):
|
|
# Raspberry Pi doesn't have or need this switch
|
|
compflags = ['-m{0}'.format(bit)] + compflags
|
|
- comp_candidates = ['gfortran']
|
|
+ comp_candidates = ['@@MP_FC@@']
|
|
if sys.platform == 'win32':
|
|
comp_candidates.insert(0, 'gfortran.exe')
|
|
if 'FC' in os.environ:
|
|
@@ -409,7 +409,7 @@
|
|
if not os.path.exists(outlibdir):
|
|
os.makedirs(outlibdir, exist_ok=True)
|
|
for f in libneeded:
|
|
- p = subprocess.Popen(['gfortran', f'--print-file-name={f}.dylib'],
|
|
+ p = subprocess.Popen(['@@MP_FC@@', f'--print-file-name={f}.dylib'],
|
|
stdout=subprocess.PIPE)
|
|
out, err = p.communicate()
|
|
if p.returncode:
|