Permalink
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (48 sloc) 1.94 KB
# -*- 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 perl5 1.0
perl5.branches 5.26
perl5.setup ExtUtils-F77 1.20
revision 1
license {Artistic-1 GPL}
maintainers nomaintainer
description Helper for linking C with Fortran subroutines
long_description ExtUtils::F77 describes to the calling perl code how to link C programs \
with Fortran subroutines on the current system.
platforms darwin
supported_archs noarch
checksums rmd160 61d1b69fdec18d7324cbbb982adf8a5fdbcc97e1 \
sha256 c42ba548d4b274ffae1535d0ece163b3ba42dc175ee6bdc537071dc52ebbd19a
if {${perl5.major} != ""} {
platform darwin {
set lib ""
patchfiles-append patch-F77.pm.diff
post-patch {
reinplace "s|@@GCCLIB@@|${lib}|g" ${worksrcpath}/F77.pm
reinplace "s|@@F77@@|${configure.f77}|g" ${worksrcpath}/F77.pm
}
}
variant gcc48 conflicts gcc49 gcc5 gcc6 gcc7 description {Build with GFortran 4.8} {
configure.compiler macports-gcc-4.8
set lib ${prefix}/lib/gcc48
}
variant gcc49 conflicts gcc48 gcc5 gcc6 gcc7 description {Build with GFortran 4.9} {
configure.compiler macports-gcc-4.9
set lib ${prefix}/lib/gcc49
}
variant gcc5 conflicts gcc48 gcc49 gcc6 gcc7 description {Build with GFortran 5} {
configure.compiler macports-gcc-5
set lib ${prefix}/lib/gcc5
}
variant gcc6 conflicts gcc48 gcc49 gcc5 gcc7 description {Build with GFortran 6} {
configure.compiler macports-gcc-6
set lib ${prefix}/lib/gcc6
}
variant gcc7 conflicts gcc48 gcc49 gcc5 gcc6 description {Build with GFortran 7} {
configure.compiler macports-gcc-7
set lib ${prefix}/lib/gcc7
}
if {![variant_isset gcc48] && ![variant_isset gcc49] && ![variant_isset gcc5] && ![variant_isset gcc6]} {
default_variants +gcc7
}
}