public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sci-libs/ann/
Date: Sun,  8 Mar 2020 16:21:21 +0000 (UTC)	[thread overview]
Message-ID: <1583248473.186d007e643a33ece440c606560d9995ec18b477.andrewammerlaan@gentoo> (raw)
Message-ID: <20200308162121.1_Mpkpg3NgoZCaVkl64orJuTMXFA47tHblgeiP9hwWs@z> (raw)

commit:     186d007e643a33ece440c606560d9995ec18b477
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Mar  3 15:14:33 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Mar  3 15:14:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=186d007e

sci-libs/ann: Fix issue with installing docs

if you cd in the ebuild, please remeber to cd back to ${S}
otherwise things like einstalldocs may fail because it is
being run in the wrong dir

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-libs/ann/ann-1.1.2_p7.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/sci-libs/ann/ann-1.1.2_p7.ebuild b/sci-libs/ann/ann-1.1.2_p7.ebuild
index 29ae28e..b13f224 100644
--- a/sci-libs/ann/ann-1.1.2_p7.ebuild
+++ b/sci-libs/ann/ann-1.1.2_p7.ebuild
@@ -16,8 +16,10 @@ http://cdn-fastly.deb.debian.org/debian/pool/main/a/${PN}/${PN}_${MY_PV}+doc-${P
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64"
+
 IUSE="debug test"
 RESTRICT="!test? ( test )"
+
 RDEPEND=""
 DEPEND=""
 BDEPEND="dev-util/quilt"
@@ -44,10 +46,11 @@ src_test() {
 	cd test
 	./ann_test < test1.in > /dev/null || die
 	./ann_test < test2.in > /dev/null || die
+	cd ..
 }
 
 src_install() {
-	emake DESTDIR="${D}" install
+	default
 
 	insinto /usr/include/ANN
 	doins -r include/ANN/.
@@ -64,8 +67,7 @@ src_install() {
 	doman ann_sample.1
 	doman ann_test.1
 	doman ann2fig.1
-
-	einstalldocs
+	cd "${S}"
 
 	find "${D}" -name '*.la' -delete || die
 }


             reply	other threads:[~2020-03-08 16:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-03 15:14 Andrew Ammerlaan [this message]
2020-03-08 16:21 ` [gentoo-commits] repo/proj/guru:master commit in: sci-libs/ann/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2021-10-16  7:36 [gentoo-commits] repo/proj/guru:dev " Alessandro Barbieri
2021-09-27  7:09 Alessandro Barbieri
2021-09-27  7:09 Alessandro Barbieri
2021-07-11  7:52 Alessandro Barbieri
2020-03-03  8:58 Alessandro Barbieri
2020-03-03  5:11 Alessandro Barbieri
2020-02-23  3:41 Alessandro Barbieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1583248473.186d007e643a33ece440c606560d9995ec18b477.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox