sci-libs/jdqz: other fixes

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-05-28 14:59:09 +02:00
parent 205eec029e
commit a935ee0e74

View File

@@ -27,13 +27,9 @@ BDEPEND="doc? ( dev-texlive/texlive-latex )"
PATCHES=( "${FILESDIR}/makefile.patch" )
RESTRICT="!test? ( test )"
src_prepare() {
local pkgc="$(tc-getPKG_CONFIG)"
append-fflags "$(${pkgc} --libs blas) $({pkgc} --libs lapack)"
default
}
src_compile() {
local pkgc="$(tc-getPKG_CONFIG)"
append-fflags "$(${pkgc} --libs blas) $(${pkgc} --libs lapack)"
if use doc; then
pdflatex manual.tex || die
fi