sci-calculators/orpie: Minor touchups
authorDavid Seifert <soap@gentoo.org>
Wed, 18 Jan 2017 21:03:05 +0000 (22:03 +0100)
committerDavid Seifert <soap@gentoo.org>
Wed, 18 Jan 2017 21:40:07 +0000 (22:40 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3533

sci-calculators/orpie/orpie-1.5.2-r1.ebuild

index 862d8dd5df40c7394eb2ec6ddef048cf0d3dd762..5020e9309ba186ef0592863e11fd0eef451bbc5b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,12 +17,12 @@ IUSE="doc"
 
 DEPEND="dev-ml/gsl-ocaml
        sys-libs/ncurses:0=
-       || ( <dev-lang/ocaml-4.02 dev-ml/camlp4 )"
+       dev-ml/camlp4"
 RDEPEND="${DEPEND}"
 
 PATCHES=(
        "${FILESDIR}/${PN}-1.5.1-ocaml311.patch"
-       "${FILESDIR}/${P}-nogsl.patch"
+       "${FILESDIR}/${PN}-1.5.2-nogsl.patch"
        "${FILESDIR}/${PN}-1.5.1-orpierc.patch"
        "${FILESDIR}/${PN}-1.5.1-tinfo.patch"
 )
@@ -40,10 +40,9 @@ src_compile() {
 }
 
 src_install() {
-       default
        if use doc; then
                dodoc doc/manual.pdf
-               docinto html/
-               dodoc doc/manual.html
+               HTML_DOCS=( doc/manual.html )
        fi
+       default
 }