[100759] trunk/dports/lang/g95

Ryan Schmidt ryandesign at macports.org
Tue Jan 8 11:10:58 PST 2013


On Dec 23, 2012, at 01:22, takeshi at macports.org wrote:

> Revision: 100759
>          https://trac.macports.org/changeset/100759
> Author:   takeshi at macports.org
> Date:     2012-12-22 23:22:52 -0800 (Sat, 22 Dec 2012)
> Log Message:
> -----------
> g95: revamped for 0.93.
> * Removed gcc40.

> --- trunk/dports/lang/g95/Portfile	2012-12-23 05:31:45 UTC (rev 100758)
> +++ trunk/dports/lang/g95/Portfile	2012-12-23 07:22:52 UTC (rev 100759)

> +if {[variant_isset gcc42]} {
> +    return -code error "gcc42 variant has been deprecated. Uninstall ${name} and reinstall."
> }

> +variant gcc42 description {deprecated variant} {}

If this variant does nothing, and you want users to install without the variant, then why is the variant still in the portfile? All this does is cause errors for users when upgrading:

http://lists.macosforge.org/pipermail/macports-users/2013-January/031340.html

The variant could just be removed, which would accomplish the same thing without annoying the user.




More information about the macports-dev mailing list