Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/omake/
Date: Fri, 05 Jul 2019 20:17:52
Message-Id: 1562357820.85f00aa1698d24bef393b6dfeb3c5a5c8b1a26d9.mgorny@gentoo
1 commit: 85f00aa1698d24bef393b6dfeb3c5a5c8b1a26d9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 14 08:08:48 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 5 20:17:00 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85f00aa1
7
8 dev-util/omake: Replace STRIP_MASK with RESTRICT=strip
9
10 Closes: https://bugs.gentoo.org/651452
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 dev-util/omake/omake-0.10.2.ebuild | 5 +++--
14 dev-util/omake/omake-0.10.3.ebuild | 5 +++--
15 dev-util/omake/omake-0.9.8.6.0_rc1.ebuild | 5 +++--
16 3 files changed, 9 insertions(+), 6 deletions(-)
17
18 diff --git a/dev-util/omake/omake-0.10.2.ebuild b/dev-util/omake/omake-0.10.2.ebuild
19 index 46e34cdb6a5..d8f2abbc56c 100644
20 --- a/dev-util/omake/omake-0.10.2.ebuild
21 +++ b/dev-util/omake/omake-0.10.2.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2017 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 @@ -20,6 +20,8 @@ DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
29 readline? ( >=sys-libs/readline-4.3:0= )"
30 RDEPEND="${DEPEND}"
31
32 +RESTRICT="!ocamlopt? ( strip )"
33 +
34 src_prepare() {
35 epatch \
36 "${FILESDIR}/${P}-cflags.patch"
37 @@ -45,5 +47,4 @@ src_install() {
38 dodoc doc/ps/omake-doc.{pdf,ps} doc/txt/omake-doc.txt
39 dohtml -r doc/html/*
40 fi
41 - use ocamlopt || export STRIP_MASK="*/bin/*"
42 }
43
44 diff --git a/dev-util/omake/omake-0.10.3.ebuild b/dev-util/omake/omake-0.10.3.ebuild
45 index 019e3e3775e..430979c1cfb 100644
46 --- a/dev-util/omake/omake-0.10.3.ebuild
47 +++ b/dev-util/omake/omake-0.10.3.ebuild
48 @@ -1,4 +1,4 @@
49 -# Copyright 1999-2017 Gentoo Foundation
50 +# Copyright 1999-2019 Gentoo Authors
51 # Distributed under the terms of the GNU General Public License v2
52
53 EAPI=5
54 @@ -20,6 +20,8 @@ DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
55 readline? ( >=sys-libs/readline-4.3:0= )"
56 RDEPEND="${DEPEND}"
57
58 +RESTRICT="!ocamlopt? ( strip )"
59 +
60 src_prepare() {
61 epatch \
62 "${FILESDIR}/${PN}-0.10.2-cflags.patch"
63 @@ -45,5 +47,4 @@ src_install() {
64 dodoc doc/ps/omake-doc.{pdf,ps} doc/txt/omake-doc.txt
65 dohtml -r doc/html/*
66 fi
67 - use ocamlopt || export STRIP_MASK="*/bin/*"
68 }
69
70 diff --git a/dev-util/omake/omake-0.9.8.6.0_rc1.ebuild b/dev-util/omake/omake-0.9.8.6.0_rc1.ebuild
71 index daa7fd04918..2ca918e00a1 100644
72 --- a/dev-util/omake/omake-0.9.8.6.0_rc1.ebuild
73 +++ b/dev-util/omake/omake-0.9.8.6.0_rc1.ebuild
74 @@ -1,4 +1,4 @@
75 -# Copyright 1999-2016 Gentoo Foundation
76 +# Copyright 1999-2019 Gentoo Authors
77 # Distributed under the terms of the GNU General Public License v2
78
79 EAPI=5
80 @@ -21,6 +21,8 @@ DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
81 readline? ( >=sys-libs/readline-4.3:0= )"
82 RDEPEND="${DEPEND}"
83
84 +RESTRICT="!ocamlopt? ( strip )"
85 +
86 S=${WORKDIR}/${PN}-${MY_PV%-*}
87
88 use_boolean() {
89 @@ -77,5 +79,4 @@ src_install() {
90 dodoc doc/ps/omake-doc.{pdf,ps} doc/txt/omake-doc.txt
91 dohtml -r doc/html/*
92 fi
93 - use ocamlopt || export STRIP_MASK="*/bin/*"
94 }