diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-11-21 08:58:37 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-11-21 08:58:37 +0000 |
commit | 39f52d2d8f6d8044e34b97b3d638a630bf0ef58c (patch) | |
tree | f8e495e000c8314049f3aac78edbbb014edefae9 /dev-libs/log4c/log4c-1.0.12.ebuild | |
parent | mark stable on x86 since it is the initial ebuild (diff) | |
download | gentoo-2-39f52d2d8f6d8044e34b97b3d638a630bf0ef58c.tar.gz gentoo-2-39f52d2d8f6d8044e34b97b3d638a630bf0ef58c.tar.bz2 gentoo-2-39f52d2d8f6d8044e34b97b3d638a630bf0ef58c.zip |
fixed test cases for 1.0.11 and 1.0.12. Patch courtesy of Olaf Freyer <aaron@cs.tu-berlin.de> in bug #70529.
Diffstat (limited to 'dev-libs/log4c/log4c-1.0.12.ebuild')
-rw-r--r-- | dev-libs/log4c/log4c-1.0.12.ebuild | 18 |
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() { |