New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20596 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

xmedcon +fortran has never worked

Reported by: ryandesign@… Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: xmedcon

Description

The +fortran variant of xmedcon has never worked:

$ port install xmedcon +fortran
--->  Fetching xmedcon
--->  Attempting to fetch xmedcon-0.10.4.tar.gz from http://prdownloads.sourceforge.net/xmedcon/
--->  Verifying checksum(s) for xmedcon
--->  Extracting xmedcon
--->  Configuring xmedcon
Error: Target org.macports.configure returned: Invalid value for configure.compiler
Error: Status 1 encountered during processing.

When the port was originally added in r41666, configure.compiler was specified in that variant as "/opt/local/bin/gcc-mp-4.3". This was changed in r55190 to "${prefix}/bin/gcc-mp-4.3" but this is still not right. The value for configure.compiler should be one of those listed here, for example "macports-gcc-4.3". And then it is unnecessary to set configure.f77 yourself, since the purpose of setting configure.compiler is that MacPorts will then set configure.f77 and the other related variables for you.

Even when fixing that, I am unable to determine if the variant is having any effect. For example, I would have expected the gfortran-mp-4.3 program to be used during the build phase, but it does not appear to be.

Attachments

xmedcon.diff (400 bytes) - added by ryandesign@… 6 years ago.

Change History

Changed 6 years ago by ryandesign@…

comment:1 Changed 6 years ago by jameskyle@…

Ah yes, this was one of my first ports. I'll go back over it.

comment:2 Changed 6 years ago by jameskyle@…

Yeah, looks like it does nothing. Been too long to remember why I added it. I replaced it with gcc43 variant.

comment:3 Changed 6 years ago by jameskyle@…

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.