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:dev commit in: sci-libs/jdqz/
Date: Mon, 30 Mar 2020 08:09:57 +0000 (UTC)	[thread overview]
Message-ID: <1585555786.dd748761a71442cb4f0429fa6feb72748552134f.andrewammerlaan@gentoo> (raw)
Message-ID: <20200330080957.tBlZQRmNLIrv_Q_yvGNXvnpCzCKGi-r6bThfTe-LSQU@z> (raw)

commit:     dd748761a71442cb4f0429fa6feb72748552134f
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Mar 30 08:09:46 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Mar 30 08:09:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dd748761

sci-libs/jdqz: do not die if USE="-doc"

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

 sci-libs/jdqz/jdqz-1997.11.07.ebuild | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/sci-libs/jdqz/jdqz-1997.11.07.ebuild b/sci-libs/jdqz/jdqz-1997.11.07.ebuild
index 08e7ab7..b2530c7 100644
--- a/sci-libs/jdqz/jdqz-1997.11.07.ebuild
+++ b/sci-libs/jdqz/jdqz-1997.11.07.ebuild
@@ -8,11 +8,16 @@ inherit flag-o-matic fortran-2
 DESCRIPTION="Jacobi-Davidson type method for the generalized standard eigenvalue problem."
 HOMEPAGE="https://www.win.tue.nl/casa/research/scientificcomputing/topics/jd/software.html"
 SRC_URI="https://www.win.tue.nl/casa/research/scientificcomputing/topics/jd/${PN}.tar.gz -> ${P}.tar.gz"
+
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
+
+IUSE="doc"
+
+# /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../jdlib/libjdqz.so: undefined reference to `zgegs_'
+#/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../jdlib/libjdqz.so: undefined reference to `zgegv_'
+RESTRICT="test"
 
 DEPEND="
 	virtual/blas
@@ -39,9 +44,11 @@ src_prepare() {
 }
 
 src_compile() {
-	use doc && pdflatex manual.tex || die
+	if use doc; then
+		pdflatex manual.tex || die
+	fi
 
-	cd jdlib
+	cd "jdlib" || die
 
 	echo '#!/bin/sh' > make.sh || die
 	echo "${FC}" *.f "${FFLAGS} -shared -fPIC -Wl,-soname,libjdqz.so.0 -lm ${libs} ${LDFLAGS} -o libjdqz.so.0" >> make.sh || die
@@ -49,12 +56,11 @@ src_compile() {
 
 	./make.sh || die
 	ln -s libjdqz.so.0 libjdqz.so || die
-
-	cd ../jdtest
-	use test && emake
 }
 
 src_test() {
+	cd jdtest || die
+	emake
 	LD_LIBRARY_PATH="./jdlib" ./jdtest/example || die
 }
 


             reply	other threads:[~2020-03-30  8:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-30  8:10 Andrew Ammerlaan [this message]
2020-03-30  8:09 ` [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/jdqz/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2021-05-02 10:51 [gentoo-commits] repo/proj/guru:master " Theo Anderson
2021-05-02 10:51 Theo Anderson
2021-02-05 12:19 Andrew Ammerlaan
2020-04-08 17:43 Andrew Ammerlaan
2020-03-30 19:22 Andrew Ammerlaan
2020-03-30  8:10 Andrew Ammerlaan

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=1585555786.dd748761a71442cb4f0429fa6feb72748552134f.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