cvs commit: ports/devel/p5-Log-Dispatch Makefile
Masafumi NAKANE
max at FreeBSD.org
Sat Feb 13 07:56:57 UTC 2010
On Fri, 12 Feb 2010 18:38:35 -0500,
"Philip M. Gollucci" <pgollucci at p6m7g8.com> wrote:
> > | .if defined(WITH_APACHELOG)
> > | .if defined(WITH_APACHE2)
> > | -RUN_DEPENDS+= mod_perl>=2.0:${PORTSDIR}/www/mod_perl2
> > | +RUN_DEPENDS+= mod_perl2>=2.0:${PORTSDIR}/www/mod_perl2
> > | .else
> > | RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
> > | .endif
> WITH_APACHE2 is deprecated and you use use WITH_APACHE and trigger based
> on APACHE_VERSION
Not in this case, I believe. In this case, WITH_APACHE2 is used to
determine (or rather, let the user define) which version of Apache is
on the system. If Apache 2.0+ is being used, the port depends on
mod_perl2, and if it's 1.3, then the dependency is on mod_perl-1.x.
So, if there's any appropriate way to find out which version of Apache
is being used on the system, that should replace this part instead,
but I'm not aware of any such method.
Cheers,
Max
More information about the cvs-ports
mailing list