aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2019-12-01 11:32:42 +0800
committerBenda Xu <heroxbd@gentoo.org>2019-12-01 12:35:24 +0800
commitda31ca887c55d497ef971ee5f097fa92195e3a81 (patch)
tree19fb67f934df52c497a7aca8a5cbd4c1af58da51 /dev-util
parentprofiles: no longer propagating AFNI mask to SAMRI (diff)
downloadsci-da31ca887c55d497ef971ee5f097fa92195e3a81.tar.gz
sci-da31ca887c55d497ef971ee5f097fa92195e3a81.tar.bz2
sci-da31ca887c55d497ef971ee5f097fa92195e3a81.zip
dev-util/bcm: initial commit of 0.0.1_p20191110.
This is included as a dependency of sci-physics/opticks. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/bcm/bcm-0.0.1_p20191110.ebuild18
-rw-r--r--dev-util/bcm/files/bcm-0.0.1_donot-send-error.patch13
-rw-r--r--dev-util/bcm/metadata.xml7
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-util/bcm/bcm-0.0.1_p20191110.ebuild b/dev-util/bcm/bcm-0.0.1_p20191110.ebuild
new file mode 100644
index 000000000..3b3bb1c2a
--- /dev/null
+++ b/dev-util/bcm/bcm-0.0.1_p20191110.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils git-r3
+
+DESCRIPTION="Boost cmake modules"
+HOMEPAGE="http://bcm.readthedocs.io"
+
+EGIT_REPO_URI="https://github.com/simoncblyth/bcm.git"
+EGIT_COMMIT="2045990a6ace40eb4c4a9f6e5cc1aeeaf7a05fc9"
+KEYWORDS="~amd64"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+
+PATCHES=( "${FILESDIR}"/bcm-0.0.1_donot-send-error.patch )
diff --git a/dev-util/bcm/files/bcm-0.0.1_donot-send-error.patch b/dev-util/bcm/files/bcm-0.0.1_donot-send-error.patch
new file mode 100644
index 000000000..17c1c51ea
--- /dev/null
+++ b/dev-util/bcm/files/bcm-0.0.1_donot-send-error.patch
@@ -0,0 +1,13 @@
+Index: bcm-0.0.1_p20191110/share/bcm/cmake/BCMExport.cmake
+===================================================================
+--- bcm-0.0.1_p20191110.orig/share/bcm/cmake/BCMExport.cmake
++++ bcm-0.0.1_p20191110/share/bcm/cmake/BCMExport.cmake
+@@ -12,7 +12,7 @@ function(bcm_get_target_package_source O
+ if(TARGET_IMPORTED OR TARGET_ALIAS)
+ get_property(TARGET_FIND_PACKAGE_NAME TARGET ${TARGET} PROPERTY INTERFACE_FIND_PACKAGE_NAME)
+ if(NOT TARGET_FIND_PACKAGE_NAME)
+- message(SEND_ERROR "The target ${TARGET_FIND_PACKAGE_NAME} does not have information about find_package() call.")
++ message(AUTHOR_WARNING "The target ${TARGET_FIND_PACKAGE_NAME} does not have information about find_package() call.")
+ endif()
+ set(PKG_NAME ${TARGET_FIND_PACKAGE_NAME})
+ get_property(TARGET_FIND_PACKAGE_VERSION TARGET ${TARGET} PROPERTY INTERFACE_FIND_PACKAGE_VERSION)
diff --git a/dev-util/bcm/metadata.xml b/dev-util/bcm/metadata.xml
new file mode 100644
index 000000000..7203fb853
--- /dev/null
+++ b/dev-util/bcm/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>heroxbd@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>