From a3eb51b2de11615df42973b11cfea3c3d6cc98ed Mon Sep 17 00:00:00 2001 From: Benedikt Boehm Date: Thu, 10 Jan 2008 15:49:54 +0000 Subject: fix #205172 (Portage version: 2.1.4_rc11) --- www-apache/mod_backtrace/ChangeLog | 8 ++++++-- www-apache/mod_backtrace/files/10_mod_backtrace.conf | 8 +++----- www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild | 11 +++++++++-- 3 files changed, 18 insertions(+), 9 deletions(-) (limited to 'www-apache') diff --git a/www-apache/mod_backtrace/ChangeLog b/www-apache/mod_backtrace/ChangeLog index 6ffb2098fa49..2f6d2a11b00d 100644 --- a/www-apache/mod_backtrace/ChangeLog +++ b/www-apache/mod_backtrace/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-apache/mod_backtrace -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_backtrace/ChangeLog,v 1.1 2007/09/08 17:10:36 hollow Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_backtrace/ChangeLog,v 1.2 2008/01/10 15:49:54 hollow Exp $ + + 10 Jan 2008; Benedikt Böhm + files/10_mod_backtrace.conf, mod_backtrace-0.0.1.ebuild: + fix #205172 *mod_backtrace-0.0.1 (08 Sep 2007) diff --git a/www-apache/mod_backtrace/files/10_mod_backtrace.conf b/www-apache/mod_backtrace/files/10_mod_backtrace.conf index aacfc06e9bfc..3127477a2fc4 100644 --- a/www-apache/mod_backtrace/files/10_mod_backtrace.conf +++ b/www-apache/mod_backtrace/files/10_mod_backtrace.conf @@ -1,7 +1,5 @@ - - LoadModule backtrace_module modules/mod_backtrace.so - - EnableExceptionHook On - BacktraceLog /var/log/apache2/backtrace_log +LoadModule backtrace_module modules/mod_backtrace.so +EnableExceptionHook On +BacktraceLog /var/log/apache2/backtrace_log diff --git a/www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild b/www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild index d33ae8d1a179..5fc8e140cb9f 100644 --- a/www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild +++ b/www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild,v 1.1 2007/09/08 17:10:36 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild,v 1.2 2008/01/10 15:49:54 hollow Exp $ inherit apache-module eutils @@ -21,6 +21,13 @@ APACHE2_MOD_DEFINE="BACKTRACE" need_apache2 +pkg_setup() { + apache-module_pkg_setup + if ! built_with_use www-servers/apache debug; then + die "you need to build www-servers/apache with USE=debug" + fi +} + src_unpack() { mkdir -p "${S}" || die "mkdir S failed" cp -f "${DISTDIR}/${P}.c" "${S}/${PN}.c" || die "source copy failed" -- cgit v1.2.3-65-gdbad