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

net-p2p/mldonkey: Replace STRIP_MASK with RESTRICT=strip

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

 net-p2p/mldonkey/mldonkey-3.1.5-r1.ebuild | 5 +++--
 net-p2p/mldonkey/mldonkey-3.1.6-r1.ebuild | 5 +++--
 net-p2p/mldonkey/mldonkey-3.1.6.ebuild    | 5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/net-p2p/mldonkey/mldonkey-3.1.5-r1.ebuild 
b/net-p2p/mldonkey/mldonkey-3.1.5-r1.ebuild
index 118e1cfae15..2f99a446acc 100644
--- a/net-p2p/mldonkey/mldonkey-3.1.5-r1.ebuild
+++ b/net-p2p/mldonkey/mldonkey-3.1.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -27,6 +27,8 @@ RDEPEND="dev-lang/perl
 DEPEND="${RDEPEND}
        >=dev-lang/ocaml-3.10.2[ocamlopt?]"
 
+RESTRICT="!ocamlopt? ( strip )"
+
 MLUSER="p2p"
 
 pkg_setup() {
@@ -111,7 +113,6 @@ src_compile() {
 src_install() {
        local myext=""
        use ocamlopt || myext=".byte"
-       use ocamlopt || export STRIP_MASK="*/bin/*"
        if ! use guionly; then
                for i in mlnet mld_hash get_range copysources subconv; do
                        newbin $i$myext $i

diff --git a/net-p2p/mldonkey/mldonkey-3.1.6-r1.ebuild 
b/net-p2p/mldonkey/mldonkey-3.1.6-r1.ebuild
index 242b4131422..a92fc8ae472 100644
--- a/net-p2p/mldonkey/mldonkey-3.1.6-r1.ebuild
+++ b/net-p2p/mldonkey/mldonkey-3.1.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -29,6 +29,8 @@ RDEPEND="dev-lang/perl
 DEPEND="${RDEPEND}
        >=dev-lang/ocaml-3.10.2[ocamlopt?]"
 
+RESTRICT="!ocamlopt? ( strip )"
+
 MLUSER="p2p"
 
 pkg_setup() {
@@ -113,7 +115,6 @@ src_compile() {
 src_install() {
        local myext=""
        use ocamlopt || myext=".byte"
-       use ocamlopt || export STRIP_MASK="*/bin/*"
        if ! use guionly; then
                for i in mlnet mld_hash get_range copysources subconv; do
                        newbin $i$myext $i

diff --git a/net-p2p/mldonkey/mldonkey-3.1.6.ebuild 
b/net-p2p/mldonkey/mldonkey-3.1.6.ebuild
index 861c8017b3e..06defbcd139 100644
--- a/net-p2p/mldonkey/mldonkey-3.1.6.ebuild
+++ b/net-p2p/mldonkey/mldonkey-3.1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -27,6 +27,8 @@ RDEPEND="dev-lang/perl
 DEPEND="${RDEPEND}
        >=dev-lang/ocaml-3.10.2[ocamlopt?]"
 
+RESTRICT="!ocamlopt? ( strip )"
+
 MLUSER="p2p"
 
 pkg_setup() {
@@ -109,7 +111,6 @@ src_compile() {
 src_install() {
        local myext=""
        use ocamlopt || myext=".byte"
-       use ocamlopt || export STRIP_MASK="*/bin/*"
        if ! use guionly; then
                for i in mlnet mld_hash get_range copysources subconv; do
                        newbin $i$myext $i

Reply via email to