USE_APACHE hints

Clement Laforet clement at FreeBSD.org
Tue Nov 8 13:00:09 PST 2005


Hi,

As some of you may have noticed, bsd.apache.mk was finally committed, 
and USE_APACHE knob have be reworked.
It's backward compatible but USE_APACHE=yes is now deprecated.

What's new in bsd.apache.mk?
USE_APACHE can be used for ports of modules but also with apache 
server ports.

* USE_APACHE
  - if set to 1.3/13/2.0/20/2.1/1.3+/2.0+/2.1+
  Installed version is automatically detected, avoiding 
  many build failure if a non-compatible version of 
  apache is installed.
  ${APACHE_PORT} is also USE_APACHE compliant. e.g if you defined 
  APACHE_PORT=www/apache13-modssl, apache version (1.3) is detected and 
  dependencies are still consistant.
  for apache > 2.0, APACHE_MPM is set to current MPM, if apache is 
  installed.
  AP_GENPLIST and such knobs are still present.
  
  - if set to common13/common2/common21, we consider current port as 
  an apache server port.
  It offers the same flexibility apache2 has for any version of 
  apache. Please refer to www/apache2/Makefile.modules to know how 
  ${ALL_MODULES_CATEGORIES} ${DEFAULT_MODULES_CATEGORIES} work to 
  use those facilities in your apache port.

I'll try update to apache@ ports this week-end, if you want to 
contribute, patches are welcome.

Thanks,
clem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20051108/030875e6/attachment.bin


More information about the freebsd-ports mailing list