diff options
Diffstat (limited to 'www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild')
-rw-r--r-- | www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
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" |