Hi all!

I'm trying to add the "95th percentile" patch to MRTG (http://www.seanadams.com/95/) and I'm trying to edit the ebuild to include the patch.

I added the following to the mrtg-2.10.15.ebuild

src_unpack() {
    unpack ${A} ; cd ${S}
    epatch /tmp/95.patch
}

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1 tells me that "epatch" is a valid function, but when I try to run the ebuild, I get this:

>>> Unpacking mrtg-2.10.15.tar.gz to /var/tmp/portage/mrtg-2.10.15/work
/usr/lib/portage/bin/ebuild.sh: line 21: epatch: command not found
>>> Source unpacked.

... and it continues on its merry way, unpatched.

I'm most definately *not* a programmer/coder/developer, but I at least took a stab at the documentation and gave it a try.

Anyone else ever try this? I've been trying a few different things.. no luck yet. Seems that epatch is a function, but I can't really find it anywhere in /var/lib/portage/bin...

yes, I Googled. Yes, I searched the forums. Yes, I asked on IRC.. that's where I got the link to the devrel/handbook.

Help? :) I'd like to get MRTG patched to use this very handy add-on..

Thanks!

--
gentoo-user@gentoo.org mailing list



Reply via email to