summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2006-07-01 19:53:54 +0000
committerRenat Lumpau <rl03@gentoo.org>2006-07-01 19:53:54 +0000
commit50c08e872020e8b57dac58e436f05584d37d13e3 (patch)
treecd8b5a7e0a9399c6bd3ecaf6a5b03abc779c1a3c /app-admin/webalizer
parentMarked 1.10 stable on hppa, ppc, sparc, x86. Removed older versions. Add 1.10... (diff)
downloadgentoo-2-50c08e872020e8b57dac58e436f05584d37d13e3.tar.gz
gentoo-2-50c08e872020e8b57dac58e436f05584d37d13e3.tar.bz2
gentoo-2-50c08e872020e8b57dac58e436f05584d37d13e3.zip
Fix sys-libs/db stuff, bug #135766.
(Portage version: 2.1)
Diffstat (limited to 'app-admin/webalizer')
-rw-r--r--app-admin/webalizer/ChangeLog5
-rw-r--r--app-admin/webalizer/webalizer-2.01.10-r13.ebuild14
2 files changed, 11 insertions, 8 deletions
diff --git a/app-admin/webalizer/ChangeLog b/app-admin/webalizer/ChangeLog
index 0c7456904695..be90e865942a 100644
--- a/app-admin/webalizer/ChangeLog
+++ b/app-admin/webalizer/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/webalizer
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/ChangeLog,v 1.56 2006/04/24 15:46:58 rl03 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/ChangeLog,v 1.57 2006/07/01 19:53:54 rl03 Exp $
+
+ 01 Jul 2006; Renat Lumpau <rl03@gentoo.org> webalizer-2.01.10-r13.ebuild:
+ Fix sys-libs/db stuff, bug #135766.
24 Apr 2006; Renat Lumpau <rl03@gentoo.org>
-files/2.01.10/apache.webalizer, -files/2.01.10/reconfig,
diff --git a/app-admin/webalizer/webalizer-2.01.10-r13.ebuild b/app-admin/webalizer/webalizer-2.01.10-r13.ebuild
index 33c652be9eee..c73c428b6f86 100644
--- a/app-admin/webalizer/webalizer-2.01.10-r13.ebuild
+++ b/app-admin/webalizer/webalizer-2.01.10-r13.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/webalizer-2.01.10-r13.ebuild,v 1.2 2006/04/24 15:46:58 rl03 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/webalizer-2.01.10-r13.ebuild,v 1.3 2006/07/01 19:53:54 rl03 Exp $
# uses webapp.eclass to create directories with right permissions
# probably slight overkill but works well
-inherit eutils webapp
+inherit eutils webapp db-use autotools
SLOT="0"
WEBAPP_MANUAL_SLOT="yes"
@@ -25,7 +25,7 @@ LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="apache2 geoip nls search xtended"
-DEPEND="!geoip? ( =sys-libs/db-4.2* )
+DEPEND="!geoip? ( >=sys-libs/db-4.2 )
>=sys-libs/zlib-1.1.4
>=media-libs/libpng-1.2
>=media-libs/gd-1.8.3
@@ -76,8 +76,8 @@ src_unpack() {
src_compile() {
local myconf=" --enable-dns \
- --with-db=/usr/include/db4.2/ \
- --with-dblib=db-4.2"
+ --with-db=$(db_includedir) \
+ --with-dblib=$(db_libname)"
use geoip && myconf="${myconf} --enable-geoip"
# really dirty hack; necessary due to a really gross ./configure
@@ -93,11 +93,11 @@ src_compile() {
fi
# stupid broken configuration file
- autoconf
+ eautoreconf
econf ${myconf} || die "econf failed"
- emake || die "make failed"
+ emake || die "emake failed"
}
src_install() {