On Fri, 24 Nov 2017 09:07:24 -0800, Ian Zimmerman wrote:

> > You do have a choice, use /etc/portage/env. here's one I have to patch
> > a specific version of a package
> > 
> > % cat env/app-cdr/cdrdao-1.2.3
> > post_src_unpack() {
> >         cd "${S}"
> >         epatch_user
> > }  
> 
> Again IIRC, when I tried using env for a similar purpose, it didn't work
> at all, it seemed the only things valid in those files were variable
> assignments.  If possible, I would of course much prefer this way, as is
> avoids an ugly switch on the package name.

I've just had to use this again, for the vcdimager ebuild to apply the
patch https://bugs.gentoo.org/638646 - the ebuild doesn't apply patches
in /etc/portage/patches but it did when I created this file

% cat /etc/portage/env/media-video/vcdimager-0.7.24
post_src_unpack() {
    cd "${S}"
    epatch_user
}


-- 
Neil Bothwick

.                            <-Stealth Tagline

Attachment: pgp1SGiZIorb7.pgp
Description: OpenPGP digital signature

Reply via email to