Date: Sat, 13 Feb 2010 16:56:56 +0900 From: Masafumi NAKANE <max@FreeBSD.org> To: pgollucci@p6m7g8.com Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/devel/p5-Log-Dispatch Makefile Message-ID: <86fx55wotz.wl%max@wide.ad.jp> In-Reply-To: <4B75E67B.8020302@p6m7g8.com> References: <201002122334.o1CNYUKF010088@repoman.freebsd.org> <4B75E67B.8020302@p6m7g8.com>
index | next in thread | previous in thread | raw e-mail
On Fri, 12 Feb 2010 18:38:35 -0500,
"Philip M. Gollucci" <pgollucci@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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86fx55wotz.wl%max>
