commit:     c1a60b4627ba2eb64806c2664c8c5252b863f78d
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  1 09:36:55 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Dec  1 09:36:55 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c1a60b46

sci-libs/cblas-reference: Install header in own namespace

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 ...as-reference-20151113.ebuild => cblas-reference-20151113-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-libs/cblas-reference/cblas-reference-20151113.ebuild 
b/sci-libs/cblas-reference/cblas-reference-20151113-r1.ebuild
similarity index 97%
rename from sci-libs/cblas-reference/cblas-reference-20151113.ebuild
rename to sci-libs/cblas-reference/cblas-reference-20151113-r1.ebuild
index e3e0436..bd7f08d 100644
--- a/sci-libs/cblas-reference/cblas-reference-20151113.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20151113-r1.ebuild
@@ -57,6 +57,7 @@ src_prepare() {
                CBLAS/testing/CMakeLists.txt || die
        sed -i \
                -e 's:BINARY_DIR}/cblas:BINARY_DIR}/${PROFNAME}:' \
+               -e '/CBLAS_INCLUDE/s:include ):include/${PROFNAME} ):g' \
                CBLAS/CMakeLists.txt || die
 }
 
@@ -116,6 +117,6 @@ src_test() {
 
 src_install() {
        numeric-int64-multibuild_foreach_all_abi_variants 
cmake-utils_src_install -C CBLAS
-       numeric-int64-multibuild_install_alternative cblas reference 
/usr/include/cblas.h cblas/cblas.h
+       numeric-int64-multibuild_install_alternative cblas reference 
/usr/include/cblas.h refcblas/cblas.h
        multilib_install_wrappers
 }

Reply via email to