[42686] trunk/dports/math/metis/Portfile

Ryan Schmidt ryandesign at macports.org
Sat Nov 29 19:53:04 PST 2008


On Nov 29, 2008, at 11:54, mcalhoun at macports.org wrote:

> Revision: 42686
>           http://trac.macports.org/changeset/42686
> Author:   mcalhoun at macports.org
> Date:     2008-11-29 09:54:07 -0800 (Sat, 29 Nov 2008)
> Log Message:
> -----------
> metis: Ensure that the correct C compiler is used.
>
> Modified Paths:
> --------------
>     trunk/dports/math/metis/Portfile
>
> Modified: trunk/dports/math/metis/Portfile
> ===================================================================
> --- trunk/dports/math/metis/Portfile	2008-11-29 17:31:01 UTC (rev  
> 42685)
> +++ trunk/dports/math/metis/Portfile	2008-11-29 17:54:07 UTC (rev  
> 42686)
> @@ -23,6 +23,11 @@
>
>  build.target
>
> +post-configure {
> +	# ensure that the correct compiler is used
> +	build.args-append CC=${configure.cc}
> +}

That doesn't work if someone says

sudo port configure metis
sudo port install metis




More information about the macports-dev mailing list