Date: Thu, 17 Mar 2011 23:25:06 +0100 From: Olli Hauer <ohauer@FreeBSD.org> To: pav@FreeBSD.org Cc: "Philip M. Gollucci" <pgollucci@p6m7g8.com>, cvs-ports@FreeBSD.org, ohauer@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/devel/otrs Makefile Message-ID: <4D828A42.7050606@FreeBSD.org> In-Reply-To: <1300397730.93905.27.camel@hood.oook.cz> References: <201103162128.p2GLSVOR045823@repoman.freebsd.org> <4D8173F8.70706@p6m7g8.com> <4D81E7CA.7080409@FreeBSD.org> <4D8215CB.10604@p6m7g8.com> <4D8258FF.2090103@gmx.de> <1300390857.93905.0.camel@hood.oook.cz> <4D826AB0.3020003@gmx.de> <1300397730.93905.27.camel@hood.oook.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------020008080001080901000006 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit On 2011-03-17 22:35, Pav Lucistnik wrote: > Don't see how this could help (and indeed, it does not.) > I've overlooked that MOD_PERL2 was added meanwhile as OPTION and defaults to ON! The following diff was tested with the original bsd.apache.mk and a patched one for PR 152498 (apache22 as default). It reverts the settings of otrs/Makefile to rev. 1.34 and fix build with apache13/20/22 --- otrs/Makefile 2011/03/17 19:52:03 1.1 +++ otrs/Makefile 2011/03/17 22:03:02 @@ -39,11 +39,8 @@ ${SITE_PERL}/XML/FeedPP.pm:${PORTSDIR}/textproc/p5-XML-FeedPP RUN_DEPENDS= ${BUILD_DEPENDS} -BROKEN= conflicting dependencies - OPTIONS= MYSQL "MySQL database support" on \ PGSQL "PostgreSQL database support" off \ - MODPERL2 "ModPerl2 support" on \ REPORTS_MODULES "Reports support" on \ SMTP "Send email via SMTP" on \ POP3 "Fetch email via POP3" on \ @@ -76,6 +73,7 @@ var/httpd/htdocs/js/thirdparty/ckeditor-3.4.2/_source \ var/httpd/htdocs/skins/Agent/*/img/source +USE_APACHE= 1.3+ USE_PERL5= yes .include <bsd.port.pre.mk> @@ -90,11 +88,8 @@ USE_PGSQL= yes .endif -.ifdef WITH_MODPERL2 -USE_APACHE= 2.2+ +.if ${APACHE_VERSION} > 13 RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=2.0.0:${PORTSDIR}/www/mod_perl2 -.else -USE_APACHE= 1.3+ .endif .ifdef WITH_REPORTS_MODULES --------------020008080001080901000006 Content-Type: text/plain; name="otrs_diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="otrs_diff.txt" --- otrs/Makefile 2011/03/17 19:52:03 1.1 +++ otrs/Makefile 2011/03/17 22:03:02 @@ -39,11 +39,8 @@ ${SITE_PERL}/XML/FeedPP.pm:${PORTSDIR}/textproc/p5-XML-FeedPP RUN_DEPENDS= ${BUILD_DEPENDS} -BROKEN= conflicting dependencies - OPTIONS= MYSQL "MySQL database support" on \ PGSQL "PostgreSQL database support" off \ - MODPERL2 "ModPerl2 support" on \ REPORTS_MODULES "Reports support" on \ SMTP "Send email via SMTP" on \ POP3 "Fetch email via POP3" on \ @@ -76,6 +73,7 @@ var/httpd/htdocs/js/thirdparty/ckeditor-3.4.2/_source \ var/httpd/htdocs/skins/Agent/*/img/source +USE_APACHE= 1.3+ USE_PERL5= yes .include <bsd.port.pre.mk> @@ -90,11 +88,8 @@ USE_PGSQL= yes .endif -.ifdef WITH_MODPERL2 -USE_APACHE= 2.2+ +.if ${APACHE_VERSION} > 13 RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=2.0.0:${PORTSDIR}/www/mod_perl2 -.else -USE_APACHE= 1.3+ .endif .ifdef WITH_REPORTS_MODULES --------------020008080001080901000006--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D828A42.7050606>