From: | Tom Wesley <tom.wesley@××××××××.com> | ||
---|---|---|---|
To: | Ajai Khattri <ajai@××××.net> | ||
Cc: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] Apply patch depending on USE flag | ||
Date: | Thu, 29 Apr 2004 17:19:43 | ||
Message-Id: | 1083259248.16211.2.camel@localhost | ||
In Reply to: | [gentoo-dev] Apply patch depending on USE flag by Ajai Khattri |
1 | On Thu, 2004-04-29 at 18:18, Ajai Khattri wrote: |
2 | > I would like to have an ebuild apply a patch based on whether a USE flag |
3 | > is set or not - what is the standard way to do this in an ebuild? (Or is |
4 | > there some function already available to do it?). |
5 | |
6 | You can |
7 | |
8 | if use nntp; then |
9 | epatch ${DISTDIR}/${nntp_patch} |
10 | fi |
11 | |
12 | snipped and edited from the mutt ebuild |
13 | |
14 | Tom |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-dev] Apply patch depending on USE flag | Lars Strojny <lars@×××××××.net> |