Philip M. Gollucci pgollucci at
Sun Dec 2 10:47:41 PST 2007

On Tue, 27 Nov 2007, Anton Berezin wrote:

> Hi,
> I'd like you to pay a little bit of attention to the following thread:
> It looks like if a user puts "USE_APACHE" into /etc/make.conf, then during
> portupgrade of perl, everything bombs out because tries to
> invoke apxs (which is present) while perl is not installed.  Since apxs is a
> perl script, the results are not pretty.
Definetely wrong, its APACHE_PORT=www/apacheXX
I'm guessing you are looking for something similiar to:

.ifdef USE_MYSQL
.error You have `USE_MYSQL' variable defined either in environment or in 
  arguments. Please undefine and try again.

> Maybe try and execute perl first, and bail out with something meaningful
> ("you either have USE_APACHE in /etc/make.conf or your environment or you
> are trying to build an apache-related port without perl installed")?
It might be more complicated than that since we ship with an executable 
that merely prints out a message to go install perl.

We'd actually have to parse the output
Philip M. Gollucci (philip at
Senior System Admin - Riderway, Inc. /
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

More information about the freebsd-apache mailing list