environment variables ...

Ryan Schmidt ryandesign at macports.org
Mon Sep 30 08:47:17 PDT 2013


On Sep 30, 2013, at 10:20, Peter Danecek <Peter.Danecek at bo.ingv.it> wrote:

> Well, if I am now understanding right, for perl, ar, randlib are not set to default values by macports.

That's right.

> Is it save to point these to the systems provided versions with the absolute path?
> 
> something like:
>  PERL=/usr/bin/perl
>  AR=/usr/bin/ar
>  RANDLIB=/usr/bin/randlib
> 
> Or is there a better way?

If those variables need to be set to those values for the port to build, then sure, you can do that.

If your port actually installs perl-related software, you'll want to use a MacPorts perl (usually perl5.12) instead of OS X's



More information about the macports-dev mailing list