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

Closes: https://bugs.gentoo.org/651456
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2019-04-14 10:15:47 +02:00
parent 6f4a834809
commit e8a99e83d3
3 changed files with 9 additions and 6 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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