commit:     85f00aa1698d24bef393b6dfeb3c5a5c8b1a26d9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 14 08:08:48 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul  5 20:17:00 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85f00aa1

dev-util/omake: Replace STRIP_MASK with RESTRICT=strip

Closes: https://bugs.gentoo.org/651452
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/omake/omake-0.10.2.ebuild        | 5 +++--
 dev-util/omake/omake-0.10.3.ebuild        | 5 +++--
 dev-util/omake/omake-0.9.8.6.0_rc1.ebuild | 5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/dev-util/omake/omake-0.10.2.ebuild 
b/dev-util/omake/omake-0.10.2.ebuild
index 46e34cdb6a5..d8f2abbc56c 100644
--- a/dev-util/omake/omake-0.10.2.ebuild
+++ b/dev-util/omake/omake-0.10.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -20,6 +20,8 @@ DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
        readline? ( >=sys-libs/readline-4.3:0= )"
 RDEPEND="${DEPEND}"
 
+RESTRICT="!ocamlopt? ( strip )"
+
 src_prepare() {
        epatch \
                "${FILESDIR}/${P}-cflags.patch"
@@ -45,5 +47,4 @@ src_install() {
                dodoc doc/ps/omake-doc.{pdf,ps} doc/txt/omake-doc.txt
                dohtml -r doc/html/*
        fi
-       use ocamlopt || export STRIP_MASK="*/bin/*"
 }

diff --git a/dev-util/omake/omake-0.10.3.ebuild 
b/dev-util/omake/omake-0.10.3.ebuild
index 019e3e3775e..430979c1cfb 100644
--- a/dev-util/omake/omake-0.10.3.ebuild
+++ b/dev-util/omake/omake-0.10.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -20,6 +20,8 @@ DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
        readline? ( >=sys-libs/readline-4.3:0= )"
 RDEPEND="${DEPEND}"
 
+RESTRICT="!ocamlopt? ( strip )"
+
 src_prepare() {
        epatch \
                "${FILESDIR}/${PN}-0.10.2-cflags.patch"
@@ -45,5 +47,4 @@ src_install() {
                dodoc doc/ps/omake-doc.{pdf,ps} doc/txt/omake-doc.txt
                dohtml -r doc/html/*
        fi
-       use ocamlopt || export STRIP_MASK="*/bin/*"
 }

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
index daa7fd04918..2ca918e00a1 100644
--- a/dev-util/omake/omake-0.9.8.6.0_rc1.ebuild
+++ b/dev-util/omake/omake-0.9.8.6.0_rc1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -21,6 +21,8 @@ DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
        readline? ( >=sys-libs/readline-4.3:0= )"
 RDEPEND="${DEPEND}"
 
+RESTRICT="!ocamlopt? ( strip )"
+
 S=${WORKDIR}/${PN}-${MY_PV%-*}
 
 use_boolean() {
@@ -77,5 +79,4 @@ src_install() {
                dodoc doc/ps/omake-doc.{pdf,ps} doc/txt/omake-doc.txt
                dohtml -r doc/html/*
        fi
-       use ocamlopt || export STRIP_MASK="*/bin/*"
 }

Reply via email to