On 1/7/19 2:11 PM, Oleh Kravchenko wrote:
> Hello Gentoo developers!
>
> I would like to do minimal changes in already existed ebuilds,
> but I don't want to create and modify copy of ebuild.
>
> Can we have in Gentoo Linux similar functionality like in Yocto?
> https://www.yoctoproject.org/docs/
# Mike Gilbert
Hello Gentoo developers!
I would like to do minimal changes in already existed ebuilds,
but I don't want to create and modify copy of ebuild.
Can we have in Gentoo Linux similar functionality like in Yocto?
https://www.yoctoproject.org/docs/2.1/dev-manual/dev-manual.html#using-bbappend-files
--
But not set IUSE=test by default
Signed-off-by: Georgy Yakovlev
---
eclass/cargo.eclass | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index 06c85ce9de8..051d5c499a6 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.ec
for example:
src_compile() {
cargo_src_compile $(usex pcre "--features pcre2" "")"
}
Signed-off-by: Georgy Yakovlev
---
eclass/cargo.eclass | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index 50f7830c51b..06c85ce9de8