From 6f4a834809ccb8c64c75426424224876a6765ae8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 14 Apr 2019 10:12:00 +0200 Subject: [PATCH] net-misc/unison: 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/651454 Signed-off-by: Michał Górny --- net-misc/unison/unison-2.48.4-r1.ebuild | 4 ++-- net-misc/unison/unison-2.48.4.ebuild | 4 ++-- net-misc/unison/unison-2.51.2.ebuild | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/net-misc/unison/unison-2.48.4-r1.ebuild b/net-misc/unison/unison-2.48.4-r1.ebuild index 55e5485844d4..01f53f133dfd 100644 --- a/net-misc/unison/unison-2.48.4-r1.ebuild +++ b/net-misc/unison/unison-2.48.4-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=7 @@ -25,6 +25,7 @@ RDEPEND="gtk? ( dev-ml/lablgtk || ( net-misc/x11-ssh-askpass net-misc/ssh-askpass-fullscreen ) ) >=app-eselect/eselect-unison-0.4" +RESTRICT="!ocamlopt? ( strip )" SRC_URI="https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}.tar.gz doc? ( https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.pdf https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.html )" @@ -76,7 +77,6 @@ src_install () { HTML_DOCS=( "${DISTDIR}/${P}-manual.html" ) fi einstalldocs - use ocamlopt || export STRIP_MASK="*/bin/*" } pkg_postinst() { diff --git a/net-misc/unison/unison-2.48.4.ebuild b/net-misc/unison/unison-2.48.4.ebuild index 1fec2677b4ed..1cbadbf207ac 100644 --- a/net-misc/unison/unison-2.48.4.ebuild +++ b/net-misc/unison/unison-2.48.4.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" @@ -25,6 +25,7 @@ RDEPEND="gtk? ( dev-ml/lablgtk #PDEPEND="gtk? ( media-fonts/font-schumacher-misc )" +RESTRICT="!ocamlopt? ( strip )" SRC_URI="https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}.tar.gz doc? ( https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.pdf https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.html )" @@ -78,7 +79,6 @@ src_install () { dohtml "${DISTDIR}/${P}-manual.html" dodoc "${DISTDIR}/${P}-manual.pdf" fi - use ocamlopt || export STRIP_MASK="*/bin/*" } pkg_postinst() { diff --git a/net-misc/unison/unison-2.51.2.ebuild b/net-misc/unison/unison-2.51.2.ebuild index 25776c6fb519..af6cf20473a2 100644 --- a/net-misc/unison/unison-2.51.2.ebuild +++ b/net-misc/unison/unison-2.51.2.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=7 @@ -24,6 +24,7 @@ RDEPEND="gtk? ( dev-ml/lablgtk || ( net-misc/x11-ssh-askpass net-misc/ssh-askpass-fullscreen ) ) >=app-eselect/eselect-unison-0.4" +RESTRICT="!ocamlopt? ( strip )" S="${WORKDIR}"/src DOCS=( BUGS.txt CONTRIB INSTALL NEWS README ROADMAP.txt TODO.txt ) @@ -71,7 +72,6 @@ src_install () { HTML_DOCS=( "${DISTDIR}/${P}-manual.html" ) fi einstalldocs - use ocamlopt || export STRIP_MASK="*/bin/*" } pkg_postinst() { -- 2.26.2