commit:     6f4a834809ccb8c64c75426424224876a6765ae8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 14 08:12:00 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul  5 20:17:01 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f4a8348

net-misc/unison: Replace STRIP_MASK with RESTRICT=strip

Closes: https://bugs.gentoo.org/651454
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 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 55e5485844d..01f53f133df 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 1fec2677b4e..1cbadbf207a 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 25776c6fb51..af6cf20473a 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() {

Reply via email to