Gentoo Archives: gentoo-dev

From: Sergei Trofimovich <slyfox@g.o>
To: Georgy Yakovlev <gyakovlev@g.o>, gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] opam.eclass: unbreak on EAPI=7
Date: Sun, 03 Feb 2019 09:01:46
Message-Id: 20190203090117.032cd5f4@sf
In Reply to: [gentoo-dev] [PATCH] opam.eclass: unbreak on EAPI=7 by Georgy Yakovlev
1 On Sat, 2 Feb 2019 21:27:29 -0800
2 Georgy Yakovlev <gyakovlev@g.o> wrote:
3
4 > Since D, ED, ROOT, EROOT no longer have a trailing slash in EAPI=7
5 > This eclass is terribly broken, installing things into
6 > imageusr/...
7 ...
8 > opam-installer -i \
9 > - --prefix="${ED}usr" \
10 > + --prefix="${ED%/}usr" \
11
12 Now this change strips '/' on older EAPIs as well. I guess you meant:
13 --prefix="${ED%/}/usr" \
14
15 --
16
17 Sergei

Replies

Subject Author
Re: [gentoo-dev] [PATCH] opam.eclass: unbreak on EAPI=7 Georgy Yakovlev <gyakovlev@g.o>