lang/perl5.8 fails

davidt at yadt.co.uk davidt at yadt.co.uk
Tue Nov 27 05:24:00 PST 2007


> David Taylor wrote:
>> Do you have anything odd in your /etc/make.conf (e.g. USE_APACHE)
>
> This did it!
>
> I had USE_APACHE=2.2 in /etc/make.conf,
> because I think php was building with Apache
> 1.3 by default.
>
> Did not think this would confuse perl.
>

The problem is that you should never set USE_* except inside a port
Makefile.  Setting that in /etc/make.conf gives every port a dependency on
a version of apache (which requires perl, hence the problem building
perl).

The 'user settable' options are usually WITH_* or WITHOUT_*.

I'm not 100% sure (and can't check right now), but there might be an
option that you can (reasonably) safely set globally in /etc/make.conf to
prefer apache 2.2, but I don't know what it is.




More information about the freebsd-ports mailing list