From e8a99e83d3320a44b8ba8949d84e6459776b143a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 14 Apr 2019 10:15:47 +0200 Subject: [PATCH] net-p2p/mldonkey: Replace STRIP_MASK with RESTRICT=strip MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/651456 Signed-off-by: Michał Górny --- 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 118e1cfae15e..2f99a446acca 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 242b41314223..a92fc8ae4722 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 861c8017b3ed..06defbcd139a 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 -- 2.26.2