On Fri, 12 Feb 2010 18:38:35 -0500,
"Philip M. Gollucci" <[email protected]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[email protected]"