commit:     c02c897d1474bc08ea50455fe2a1eb26232a8849
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  4 16:28:55 2020 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Jan  4 16:34:19 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c02c897d

sci-physics/opticks-okconf: add cuda inherit.

  Remove installation of test cases into /usr/lib.

Suggested-By: Xuewei Liu <18800136075 <AT> 163.com>
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 .../opticks-okconf-0.0.1_p20191110-no_lib_install.patch      | 12 ++++++++++++
 .../opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild     |  8 ++++++--
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git 
a/sci-physics/opticks-okconf/files/opticks-okconf-0.0.1_p20191110-no_lib_install.patch
 
b/sci-physics/opticks-okconf/files/opticks-okconf-0.0.1_p20191110-no_lib_install.patch
new file mode 100644
index 000000000..89b0b7cab
--- /dev/null
+++ 
b/sci-physics/opticks-okconf/files/opticks-okconf-0.0.1_p20191110-no_lib_install.patch
@@ -0,0 +1,12 @@
+Index: opticks-okconf-0.0.1_p20191110/okconf/tests/CMakeLists.txt
+===================================================================
+--- opticks-okconf-0.0.1_p20191110.orig/okconf/tests/CMakeLists.txt
++++ opticks-okconf-0.0.1_p20191110/okconf/tests/CMakeLists.txt
+@@ -46,7 +46,6 @@ foreach(TEST_SOURCE ${TEST_SOURCES})
+     )         
+ 
+ 
+-    install(TARGETS ${TGT} DESTINATION lib)
+ endforeach()
+ 
+ 

diff --git a/sci-physics/opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild 
b/sci-physics/opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild
index fa0a5e70c..1b67f2751 100644
--- a/sci-physics/opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild
+++ b/sci-physics/opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit mercurial cmake-utils
+inherit mercurial cmake-utils cuda
 
 EHG_REPO_URI="https://bitbucket.org/simoncblyth/${PN//-*}";
 EHG_REVISION="a580e704afe9d2c138072835e986542c835c29fc"
@@ -23,6 +23,10 @@ DEPEND="dev-util/cmake
        dev-util/plog
        ${RDEPEND}"
 
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.0.1_p20191110-no_lib_install.patch
+)
+
 src_prepare() {
        cmake-utils_src_prepare
        cuda_src_prepare

Reply via email to