summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/gotoblas2/gotoblas2-1.13.ebuild')
-rw-r--r--sci-libs/gotoblas2/gotoblas2-1.13.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild b/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
index 7b8b91a..b900536 100644
--- a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
+++ b/sci-libs/gotoblas2/gotoblas2-1.13.ebuild
@@ -95,19 +95,20 @@ src_install() {
URL: ${HOMEPAGE}
Libs: -L\${libdir} -lgoto2 -lm ${threads}
EOF
- insinto /usr/$(get_libdir)/pkgconfig
- doins ${profname}.pc
alternatives_for blas ${profname} 0 \
"/usr/$(get_libdir)/pkgconfig/blas.pc" "${profname}.pc"
if use incblas; then
insinto /usr/include/${PN}
- doins cblas.h || die
+ doins cblas.h
echo >> ${profname}.pc "Cflags: -I\${includedir}/${PN}"
alternatives_for cblas ${profname} 0 \
"/usr/$(get_libdir)/pkgconfig/cblas.pc" "${profname}.pc" \
"/usr/include/cblas.h" "${PN}/cblas.h"
fi
+
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins ${profname}.pc
dodoc 01Readme.txt 03FAQ.txt 05LargePage 06WeirdPerformance
}