From: Michał Górny Date: Sun, 14 Apr 2019 08:08:48 +0000 (+0200) Subject: dev-util/omake: Replace STRIP_MASK with RESTRICT=strip X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=85f00aa1698d24bef393b6dfeb3c5a5c8b1a26d9;p=gentoo.git dev-util/omake: Replace STRIP_MASK with RESTRICT=strip Closes: https://bugs.gentoo.org/651452 Signed-off-by: Michał Górny --- diff --git a/dev-util/omake/omake-0.10.2.ebuild b/dev-util/omake/omake-0.10.2.ebuild index 46e34cdb6a51..d8f2abbc56cc 100644 --- a/dev-util/omake/omake-0.10.2.ebuild +++ b/dev-util/omake/omake-0.10.2.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 @@ -20,6 +20,8 @@ DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?] readline? ( >=sys-libs/readline-4.3:0= )" RDEPEND="${DEPEND}" +RESTRICT="!ocamlopt? ( strip )" + src_prepare() { epatch \ "${FILESDIR}/${P}-cflags.patch" @@ -45,5 +47,4 @@ src_install() { dodoc doc/ps/omake-doc.{pdf,ps} doc/txt/omake-doc.txt dohtml -r doc/html/* fi - use ocamlopt || export STRIP_MASK="*/bin/*" } diff --git a/dev-util/omake/omake-0.10.3.ebuild b/dev-util/omake/omake-0.10.3.ebuild index 019e3e3775e7..430979c1cfbd 100644 --- a/dev-util/omake/omake-0.10.3.ebuild +++ b/dev-util/omake/omake-0.10.3.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 @@ -20,6 +20,8 @@ DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?] readline? ( >=sys-libs/readline-4.3:0= )" RDEPEND="${DEPEND}" +RESTRICT="!ocamlopt? ( strip )" + src_prepare() { epatch \ "${FILESDIR}/${PN}-0.10.2-cflags.patch" @@ -45,5 +47,4 @@ src_install() { dodoc doc/ps/omake-doc.{pdf,ps} doc/txt/omake-doc.txt dohtml -r doc/html/* fi - use ocamlopt || export STRIP_MASK="*/bin/*" } diff --git a/dev-util/omake/omake-0.9.8.6.0_rc1.ebuild b/dev-util/omake/omake-0.9.8.6.0_rc1.ebuild index daa7fd04918a..2ca918e00a10 100644 --- a/dev-util/omake/omake-0.9.8.6.0_rc1.ebuild +++ b/dev-util/omake/omake-0.9.8.6.0_rc1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -21,6 +21,8 @@ DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?] readline? ( >=sys-libs/readline-4.3:0= )" RDEPEND="${DEPEND}" +RESTRICT="!ocamlopt? ( strip )" + S=${WORKDIR}/${PN}-${MY_PV%-*} use_boolean() { @@ -77,5 +79,4 @@ src_install() { dodoc doc/ps/omake-doc.{pdf,ps} doc/txt/omake-doc.txt dohtml -r doc/html/* fi - use ocamlopt || export STRIP_MASK="*/bin/*" }