[MacPorts] #57365: slatec @4.1: f77: No such file or directory
MacPorts
noreply at macports.org
Sat Oct 20 00:21:47 UTC 2018
#57365: slatec @4.1: f77: No such file or directory
-------------------------+----------------------
Reporter: ryandesign | Owner: smaret
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: slatec |
-------------------------+----------------------
Comment (by ryandesign):
Replying to [comment:9 smaret]:
> I've tried to set FC in a pre-build block (with an export) but it didn't
work either.
It worked for me:
{{{
--- Portfile (revision 151828)
+++ Portfile (working copy)
@@ -31,8 +31,10 @@
compilers.choose fc f77 f90
compilers.setup require_fortran
-
-build.args-append FC=${configure.fc}
+
+pre-build {
+ build.args-append FC=${configure.fc}
+}
build.target libslatec.a
destroot {
}}}
Are you sure this doesn't work for you?
--
Ticket URL: <https://trac.macports.org/ticket/57365#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list