mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
- add test for apache version
- set USE_APACHE=13 explicit, since build with higher version is long time broken. with hat apache@ (with focus on changing default apache version to 22)
This commit is contained in:
parent
89161554ac
commit
589069db9a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276526
@ -15,7 +15,9 @@ COMMENT= A module issuing the "correct" cookies for counting the site visitors
|
||||
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
USE_APACHE= 13-20
|
||||
# Changed to apache13 exclusive, else apache13 ports
|
||||
# are broken if apache22 is set as default
|
||||
USE_APACHE= 13
|
||||
|
||||
PORTDOCS= README.html
|
||||
|
||||
@ -24,7 +26,7 @@ AP_GENPLIST= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(APACHE_PORT) || ${APACHE_VERSION} == "13"
|
||||
.if ${APACHE_VERSION} == 13
|
||||
MODULENAME= mod_uid
|
||||
.else
|
||||
IGNORE= does not build with latest apache20/22
|
||||
|
@ -14,15 +14,20 @@ PKGNAMEPREFIX= p5-
|
||||
MAINTAINER= skv@FreeBSD.org
|
||||
COMMENT= Log various bits of per-request data
|
||||
|
||||
.if defined(WITH_MODPERL2)
|
||||
IGNORE= This port does not support mod_perl2
|
||||
# Changed to apache13 exclusive, else apache13 ports
|
||||
# are broken if apache22 is set as default
|
||||
USE_APACHE= 13
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_MODPERL2) || ${APACHE_VERSION} > 13
|
||||
IGNORE= this port does not support mod_perl2
|
||||
.else
|
||||
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
|
||||
BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
.endif
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Apache::DebugInfo.3
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -15,8 +15,9 @@ PKGNAMEPREFIX= p5-
|
||||
MAINTAINER= skv@FreeBSD.org
|
||||
COMMENT= A data debugging tool for the XS programmer (under mod_perl)
|
||||
|
||||
USE_APACHE= 13+
|
||||
|
||||
# Changed to apache13 exclusive, else apache13 ports
|
||||
# are broken if apache22 is set as default
|
||||
USE_APACHE= 13
|
||||
PERL_CONFIGURE= YES
|
||||
|
||||
CONFIGURE_ARGS= -httpd ${LOCALBASE}/sbin/httpd
|
||||
@ -25,18 +26,18 @@ MAN3= Apache::Peek.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
.if defined(WITH_MODPERL2) || ${APACHE_VERSION} > 13
|
||||
BROKEN= Broken due the new mod_perl2 API
|
||||
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache2/mod_perl.pm:${PORTSDIR}/www/mod_perl2
|
||||
IGNORE= broken due the new mod_perl2 API
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache2/mod_perl.pm:${PORTSDIR}/www/mod_perl2
|
||||
MOD_PERL= 2
|
||||
.else
|
||||
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \
|
||||
${SITE_PERL}/${PERL_ARCH}/Apache/Test.pm:${PORTSDIR}/www/p5-Apache-Test
|
||||
MOD_PERL= 1
|
||||
.endif
|
||||
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e '$$_="" if /^test_configure\(/;' ${WRKSRC}/Makefile.PL
|
||||
|
||||
|
@ -14,16 +14,22 @@ PKGNAMEPREFIX= p5-
|
||||
MAINTAINER= tcornpropst@cox.net
|
||||
COMMENT= Show information about subroutine lexical variables
|
||||
|
||||
.if defined(WITH_MODPERL2)
|
||||
BROKEN= Broken due the new mod_perl2 API
|
||||
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache2/mod_perl.pm:${PORTSDIR}/www/mod_perl2
|
||||
# Changed to apache13 exclusive, else apache13 ports
|
||||
# are broken if apache22 is set as default
|
||||
USE_APACHE= 13
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_MODPERL2) || ${APACHE_VERSION} > 13
|
||||
IGNORE= broken due the new mod_perl2 API
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache2/mod_perl.pm:${PORTSDIR}/www/mod_perl2
|
||||
.else
|
||||
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
|
||||
.endif
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= YES
|
||||
|
||||
MAN3= B::LexInfo.3 Apache::RegistryLexInfo.3
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user