1 |
commit: a50786bd3e18274da494d0ae2f88c6e41a8e3460 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 14 08:39:47 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 5 20:17:03 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a50786bd |
7 |
|
8 |
app-misc/ledit: Replace STRIP_MASK with RESTRICT=strip |
9 |
|
10 |
Closes: https://bugs.gentoo.org/651426 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/11676 |
13 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
14 |
|
15 |
app-misc/ledit/ledit-2.03.ebuild | 7 ++----- |
16 |
1 file changed, 2 insertions(+), 5 deletions(-) |
17 |
|
18 |
diff --git a/app-misc/ledit/ledit-2.03.ebuild b/app-misc/ledit/ledit-2.03.ebuild |
19 |
index caec36f6240..4810b328c9a 100644 |
20 |
--- a/app-misc/ledit/ledit-2.03.ebuild |
21 |
+++ b/app-misc/ledit/ledit-2.03.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2014 Gentoo Foundation |
24 |
+# Copyright 1999-2019 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=5 |
28 |
@@ -18,15 +18,12 @@ RDEPEND="${DEPEND}" |
29 |
SLOT="0" |
30 |
LICENSE="BSD" |
31 |
KEYWORDS="amd64 ppc x86 ~x86-fbsd" |
32 |
+RESTRICT="!ocamlopt? ( strip )" |
33 |
|
34 |
src_compile() { |
35 |
emake -j1 all |
36 |
if use ocamlopt; then |
37 |
emake -j1 ledit.opt |
38 |
- else |
39 |
- # If using bytecode we dont want to strip the binary as it would remove the |
40 |
- # bytecode and only leave ocamlrun... |
41 |
- export STRIP_MASK="*/bin/*" |
42 |
fi |
43 |
} |