summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/log4c/log4c-1.0.12.ebuild')
-rw-r--r--dev-libs/log4c/log4c-1.0.12.ebuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/dev-libs/log4c/log4c-1.0.12.ebuild b/dev-libs/log4c/log4c-1.0.12.ebuild
index 7c36c625ddee..510f5dd9c6de 100644
--- a/dev-libs/log4c/log4c-1.0.12.ebuild
+++ b/dev-libs/log4c/log4c-1.0.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4c/log4c-1.0.12.ebuild,v 1.2 2004/10/28 12:34:42 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4c/log4c-1.0.12.ebuild,v 1.3 2004/11/21 08:58:37 dragonheart Exp $
inherit eutils
@@ -18,13 +18,13 @@ DEPEND="doc? ( >=app-doc/doxygen-1.2.15
virtual/ghostscript )
>=media-gfx/graphviz-1.7.15-r2"
-src_compile() {
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-function.patch
+}
- #local myconf
- #if has maketest ${FEATURES} || use maketest;
- #then
- # myconf="${myconf} --enable-test"
- #fi
+src_compile() {
econf --enable-test `use_enable doc` || die
use doc && addwrite "${ROOT}/var/cache/fonts"
@@ -32,7 +32,9 @@ src_compile() {
}
src_test() {
- einfo "Cannot get test working. patches welcome on bugs.gentoo.org"
+ # test case broken
+ #${S}/tests/log4c/test_rc || die "test_rc failed"
+ ${S}/tests/log4c/test_category || die "test_rc failed"
}
src_install() {