1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

- fix dependency if apache22 is set as default

Issue found during local exp-run for PR ports/147009

   No version bump, fix is only active if default apache change to 22.

PR:		ports/156338
Submitted by:	me
This commit is contained in:
Olli Hauer 2011-04-11 18:45:36 +00:00
parent cf12b986a0
commit 72b67a2b9a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272534

View File

@ -77,10 +77,11 @@ CONFIGURE_ARGS= --prefix=${RT_PATH} \
PERL_MODULES+= ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi
PERL_MODULES+= ${SITE_PERL}/${PERL_ARCH}/FCGI.pm:${PORTSDIR}/www/p5-FastCGI
.else
PERL_MODULES+= ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI
. if ${APACHE_VERSION} == 13
PERL_MODULES+= ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI-mp1
PERL_MODULES+= ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq
. else
PERL_MODULES+= ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI-mp2
PERL_MODULES+= ${LOCALBASE}/${APACHEMODDIR}/mod_perl.so:${PORTSDIR}/www/mod_perl2
. endif
.endif