Subject: call for review: extending www/apache/module.mk to support apache2
To: None <tech-pkg@netbsd.org>
From: Stoned Elipot <seb@ssr.univ-paris7.fr>
List: tech-pkg
Date: 09/20/2004 23:20:02
Hi,
Here are diffs so that www/apache/module.mk can be used to build
apache 1 or apache 2 modules with the help of apxs.
In the diff you'll also find how to use this for a package that supports
both apache 1 and apache 2 (www/ap-fastcgi, the diffs also have an update
of the package) and another example on how to use this for a package
that supports only one version of apache (www/ap2-auth-pgsql) with
the help of PKG_APACHE_ACCEPTED.
For dealing with apache manual location being different between the apache2
package and other apache pkgs I've also added some PLIST related stuff in
mk/apache.mk.
Of course package supporting apache2 package and other apache packages would
have to be fixed to take advantage of that (see the example www/ap-fastcgi
example).
So what do you people think of this ?
Cheers, Stoned.