diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2011-11-19 00:27:52 +0000 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2011-11-19 00:27:52 +0000 |
commit | 81443d714cd68bb8f8c77da660d9abdc0c531b57 (patch) | |
tree | 55ab026c39978bcdb194b7883c027fc7faf52a3d /www-apache | |
parent | retroactively add some credits for bug I missed... (diff) | |
download | gentoo-2-81443d714cd68bb8f8c77da660d9abdc0c531b57.tar.gz gentoo-2-81443d714cd68bb8f8c77da660d9abdc0c531b57.tar.bz2 gentoo-2-81443d714cd68bb8f8c77da660d9abdc0c531b57.zip |
Add debug useflag to enable/disable MP_TRACE and MP_DEBUG.
(Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/mod_perl/ChangeLog | 5 | ||||
-rw-r--r-- | www-apache/mod_perl/mod_perl-2.0.5.ebuild | 17 |
2 files changed, 16 insertions, 6 deletions
diff --git a/www-apache/mod_perl/ChangeLog b/www-apache/mod_perl/ChangeLog index c43f4ddb2459..66a4af1603b1 100644 --- a/www-apache/mod_perl/ChangeLog +++ b/www-apache/mod_perl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for www-apache/mod_perl # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_perl/ChangeLog,v 1.93 2011/08/09 15:50:24 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_perl/ChangeLog,v 1.94 2011/11/19 00:27:52 idl0r Exp $ + + 19 Nov 2011; Christian Ruppert <idl0r@gentoo.org> mod_perl-2.0.5.ebuild: + Add debug useflag to enable/disable MP_TRACE and MP_DEBUG. 09 Aug 2011; Kacper Kowalik <xarthisius@gentoo.org> mod_perl-2.0.5.ebuild: Marked ~ppc/~ppc64 wrt #359047 diff --git a/www-apache/mod_perl/mod_perl-2.0.5.ebuild b/www-apache/mod_perl/mod_perl-2.0.5.ebuild index 44a895094136..4f81457e4b59 100644 --- a/www-apache/mod_perl/mod_perl-2.0.5.ebuild +++ b/www-apache/mod_perl/mod_perl-2.0.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_perl/mod_perl-2.0.5.ebuild,v 1.7 2011/08/09 15:50:24 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_perl/mod_perl-2.0.5.ebuild,v 1.8 2011/11/19 00:27:52 idl0r Exp $ EAPI="3" @@ -12,7 +12,7 @@ HOMEPAGE="http://perl.apache.org/" LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" +IUSE="debug" SLOT="1" # Make sure we always use the latest Apache-Test version or even check the @@ -81,13 +81,20 @@ src_prepare() { } src_configure() { + local myargs= + + if use debug; then + myargs="MP_TRACE=1 MP_DEBUG=1" + else + myargs="MP_TRACE=0 MP_DEBUG=0" + fi + perl Makefile.PL \ PREFIX="${EPREFIX}"/usr \ INSTALLDIRS=vendor \ - MP_TRACE=1 \ - MP_DEBUG=1 \ MP_USE_DSO=1 \ - MP_APXS=${APXS} || die + MP_APXS=${APXS} \ + ${myargs} || die } src_test() { |