[78239] trunk/dports/net/vnstat/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Apr 29 10:08:09 PDT 2011


On Apr 29, 2011, at 12:05, and.damore at macports.org wrote:

> Revision: 78239
>          http://trac.macports.org/changeset/78239
> Author:   and.damore at macports.org
> Date:     2011-04-29 10:05:44 -0700 (Fri, 29 Apr 2011)
> Log Message:
> -----------
> port vnstat: explicitly set compiler (use_configure no)

The use of "use_configure no" does not imply that you should set configure.compiler. MacPorts sets configure.compiler for you, to the correct value for the current operating system. So unless your port has special compiler needs, don't set configure.compiler.


> use_configure       no
> -variant universal {}
> +configure.compiler  gcc-4.2
> +variant universal   {}
> if {[variant_isset universal]} {

This will prevent the port from working on Tiger, since Tiger doesn't have gcc-4.2. It built fine for me with gcc-4.0 on Tiger. Is there a special reason why you want to force the use of gcc-4.2?





More information about the macports-dev mailing list