summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2007-01-15 16:58:56 +0000
committerLuca Longinotti <chtekk@gentoo.org>2007-01-15 16:58:56 +0000
commited9e21c6fc3865ac1fac0811a9cbb9245f5e0916 (patch)
tree5f1d0ef3ba5b74226f0cf4f5a92dbd327f619884 /www-apache/mod_diagnostics/mod_diagnostics-0.0.1.ebuild
parentadded block to media-video/requant (diff)
downloadhistorical-ed9e21c6fc3865ac1fac0811a9cbb9245f5e0916.tar.gz
historical-ed9e21c6fc3865ac1fac0811a9cbb9245f5e0916.tar.bz2
historical-ed9e21c6fc3865ac1fac0811a9cbb9245f5e0916.zip
Compile fixes.
Package-Manager: portage-2.1.2_rc4-r8
Diffstat (limited to 'www-apache/mod_diagnostics/mod_diagnostics-0.0.1.ebuild')
-rw-r--r--www-apache/mod_diagnostics/mod_diagnostics-0.0.1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/www-apache/mod_diagnostics/mod_diagnostics-0.0.1.ebuild b/www-apache/mod_diagnostics/mod_diagnostics-0.0.1.ebuild
index b9296f7353cd..7f2d5ffa28ac 100644
--- a/www-apache/mod_diagnostics/mod_diagnostics-0.0.1.ebuild
+++ b/www-apache/mod_diagnostics/mod_diagnostics-0.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_diagnostics/mod_diagnostics-0.0.1.ebuild,v 1.5 2007/01/15 16:08:24 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_diagnostics/mod_diagnostics-0.0.1.ebuild,v 1.6 2007/01/15 16:58:56 chtekk Exp $
inherit apache-module
@@ -13,7 +13,8 @@ LICENSE="GPL-2"
SLOT="0"
IUSE=""
-S="${WORKDIR}"
+DEPEND=""
+RDEPEND=""
APACHE2_MOD_CONF="20_${PN}"
APACHE2_MOD_DEFINE="DIAGNOSTICS"
@@ -21,5 +22,6 @@ APACHE2_MOD_DEFINE="DIAGNOSTICS"
need_apache2
src_unpack() {
- cp -f "${DISTDIR}/${P}.c" "${S}/" || die "source copy failed"
+ mkdir -p "${S}" || die "mkdir S failed"
+ cp -f "${DISTDIR}/${P}.c" "${S}/${PN}.c" || die "source copy failed"
}