The rrdtool-1.2.0 ebuild seems to work fine with this release.
Fails for me: tclrrd.c:16:22: rrd_tool.h: No such file or directory tclrrd.c:17:24: rrd_format.h: No such file or directory tclrrd.c: In function `getopt_init': tclrrd.c:37: error: `optind' undeclared (first use in this function) tclrrd.c:37: error: (Each undeclared identifier is reported only once tclrrd.c:37: error: for each function it appears in.) emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.200 50125-r0, 2.6.11-gentoo-r5 i686) ================================================================= System uname: 2.6.11-gentoo-r5 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 18 2005, 20:56:03) ] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu"
it fails here too
When I submitted the 1.2.0 ebuild, I forgot 2 lines : --- rrdtool-1.2.0.ebuild 2005-05-03 17:01:55.000000000 +0200 +++ rrdtool-1.2.1.ebuild 2005-05-03 16:55:38.000000000 +0200 @@ -46,6 +46,9 @@ econf ${myconf} || die "econf failed" fi + sed -i -e 's/^CFLAGS.*/& -I$(top_srcdir)\/src/' bindings/tcl/Makefile + sed -i -e 's/-lrrd_private//' bindings/tcl/Makefile + make || die "make failed" } Attached an ebuild for 1.2.1 which works for me.
Created attachment 57929 [details] Fixed ebuild for rrdtool 1.2.1
Created attachment 57937 [details] rrdtool-1.2.0.ebuild.diff I think using src_unpack is a better way... seems to work correctly
I also like src_unpack better. Bumping version 1.2.1, fixing 1.2.0 which had the same problem. Thanks guys.