* Re: [gentoo-user] How to get overlaid ebuilds to use custom patches
[not found] <87lkps3kw0.fsf@newsguy.com>
@ 2006-08-13 18:47 ` Richard Fish
0 siblings, 0 replies; only message in thread
From: Richard Fish @ 2006-08-13 18:47 UTC (permalink / raw
To: gentoo-user
On 8/13/06, reader@newsguy.com <reader@newsguy.com> wrote:
> The Overlay how seems to be saying one just needs to put any patches
> in ../portage/subname/pkg/files
>
> To get ebuild to use them. That appears not to happen for me.
You also need to modify your new .ebuild. In the current samba
ebuilds, you will find a src_unpack() function, and a couple of lines
that look like this:
export EPATCH_SUFFIX="patch"
epatch ${PATCHDIR}/general
if use oav ; then
...
fi
So after the "fi" line, add a new line to tell portage to apply your
patch. Something like:
epatch ${PATCHDIR}/mypatch
Your patch will need a ".patch" extension, and you will need to re-run
the ebuild digest command again after modifying it.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-13 18:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <87lkps3kw0.fsf@newsguy.com>
2006-08-13 18:47 ` [gentoo-user] How to get overlaid ebuilds to use custom patches Richard Fish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox