mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user