sci-mathematics/why3-for-spark: Fix STRIP_MASK usage. Bug #651458
authorTupone Alfredo <tupone@gentoo.org>
Tue, 27 Mar 2018 06:05:35 +0000 (08:05 +0200)
committerTupone Alfredo <tupone@gentoo.org>
Tue, 27 Mar 2018 06:05:35 +0000 (08:05 +0200)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

sci-mathematics/why3-for-spark/why3-for-spark-2017.ebuild

index 1fa2034863d2e6bdafe4d77d211677de407fde33..f79b8ccbe05c8deae58ff4abb1dc4f691f011036 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,6 +16,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE="coq doc emacs gtk html hypothesis-selection +ocamlopt profiling zarith zip"
+RESTRICT=strip
 
 DEPEND=">=dev-lang/ocaml-4.02.3[ocamlopt?]
        dev-ml/menhir
@@ -65,10 +66,6 @@ src_compile() {
        default
        if use ocamlopt; then
                emake byte
-       else
-               # If using bytecode we dont want to strip the binary as it would remove
-               # the bytecode and only leave ocamlrun...
-               export STRIP_MASK="*/bin/*"
        fi
        use doc && emake doc
 }