Ryan,
> To consolidate the redundant code, the gcc variants could be reduced to e.g.:
>
> variant gcc45 {
> configure.compiler macports-gcc-4.5
> }
>
> And then later, it would do:
>
> pre-build {
> build.env-append CC=${configure.cc} CXX=${configure.cxx}
> }
>
> pre-destroot {
> destroot.env-append CC=${configure.cc} CXX=${configure.cxx}
> }
Well, I guess you’re right, that was not a good example at all. I give up, it’s
too late, and the weather is too hot! But there will be a lot of housekeeping
to do before we can safely rely just on configure.compiler to do the job.
Have a great day!
Vincent
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev