Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/ann/
Date: Tue, 03 Mar 2020 15:14:46
Message-Id: 1583248473.186d007e643a33ece440c606560d9995ec18b477.andrewammerlaan@gentoo
1 commit: 186d007e643a33ece440c606560d9995ec18b477
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Tue Mar 3 15:14:33 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Tue Mar 3 15:14:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=186d007e
7
8 sci-libs/ann: Fix issue with installing docs
9
10 if you cd in the ebuild, please remeber to cd back to ${S}
11 otherwise things like einstalldocs may fail because it is
12 being run in the wrong dir
13
14 Package-Manager: Portage-2.3.89, Repoman-2.3.20
15 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
16
17 sci-libs/ann/ann-1.1.2_p7.ebuild | 8 +++++---
18 1 file changed, 5 insertions(+), 3 deletions(-)
19
20 diff --git a/sci-libs/ann/ann-1.1.2_p7.ebuild b/sci-libs/ann/ann-1.1.2_p7.ebuild
21 index 29ae28e..b13f224 100644
22 --- a/sci-libs/ann/ann-1.1.2_p7.ebuild
23 +++ b/sci-libs/ann/ann-1.1.2_p7.ebuild
24 @@ -16,8 +16,10 @@ http://cdn-fastly.deb.debian.org/debian/pool/main/a/${PN}/${PN}_${MY_PV}+doc-${P
25 LICENSE="LGPL-2.1"
26 SLOT="0"
27 KEYWORDS="~amd64"
28 +
29 IUSE="debug test"
30 RESTRICT="!test? ( test )"
31 +
32 RDEPEND=""
33 DEPEND=""
34 BDEPEND="dev-util/quilt"
35 @@ -44,10 +46,11 @@ src_test() {
36 cd test
37 ./ann_test < test1.in > /dev/null || die
38 ./ann_test < test2.in > /dev/null || die
39 + cd ..
40 }
41
42 src_install() {
43 - emake DESTDIR="${D}" install
44 + default
45
46 insinto /usr/include/ANN
47 doins -r include/ANN/.
48 @@ -64,8 +67,7 @@ src_install() {
49 doman ann_sample.1
50 doman ann_test.1
51 doman ann2fig.1
52 -
53 - einstalldocs
54 + cd "${S}"
55
56 find "${D}" -name '*.la' -delete || die
57 }