From: Michał Górny Date: Sun, 14 Apr 2019 08:12:00 +0000 (+0200) Subject: net-misc/unison: Replace STRIP_MASK with RESTRICT=strip X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6f4a834809ccb8c64c75426424224876a6765ae8;p=gentoo.git net-misc/unison: Replace STRIP_MASK with RESTRICT=strip Closes: https://bugs.gentoo.org/651454 Signed-off-by: Michał Górny --- 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() {