sci-physics/root: rely on MYCMAKEARGS from cmake.eclass

Closes: https://bugs.gentoo.org/897900
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
This commit is contained in:
Guilherme Amadio
2023-02-28 11:44:13 +01:00
parent a756e1d067
commit a20cfd13e6
5 changed files with 10 additions and 15 deletions

View File

@@ -139,9 +139,9 @@ pkg_setup() {
use python && python-single-r1_pkg_setup
elog "There are extra options on packages not available in Gentoo."
elog "You can use the environment variable EXTRA_ECONF to enable"
elog "You can use the environment variable MYCMAKEARGS to enable"
elog "these packages. For example, for Vdt you would set:"
elog "EXTRA_ECONF=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
elog "MYCMAKEARGS=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
}
src_prepare() {
@@ -290,7 +290,6 @@ src_configure() {
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
"${EXTRA_ECONF}"
)
cmake_src_configure

View File

@@ -139,9 +139,9 @@ pkg_setup() {
use python && python-single-r1_pkg_setup
elog "There are extra options on packages not available in Gentoo."
elog "You can use the environment variable EXTRA_ECONF to enable"
elog "You can use the environment variable MYCMAKEARGS to enable"
elog "these packages. For example, for Vdt you would set:"
elog "EXTRA_ECONF=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
elog "MYCMAKEARGS=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
}
src_prepare() {
@@ -290,7 +290,6 @@ src_configure() {
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
"${EXTRA_ECONF}"
)
cmake_src_configure

View File

@@ -143,9 +143,9 @@ pkg_setup() {
use python && python-single-r1_pkg_setup
elog "There are extra options on packages not available in Gentoo."
elog "You can use the environment variable EXTRA_ECONF to enable"
elog "You can use the environment variable MYCMAKEARGS to enable"
elog "these packages. For example, for Vdt you would set:"
elog "EXTRA_ECONF=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
elog "MYCMAKEARGS=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
}
src_prepare() {
@@ -307,7 +307,6 @@ src_configure() {
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
"${EXTRA_ECONF}"
)
# Needs to be here, otherwise gets overriden by cmake.eclass

View File

@@ -143,9 +143,9 @@ pkg_setup() {
use python && python-single-r1_pkg_setup
elog "There are extra options on packages not available in Gentoo."
elog "You can use the environment variable EXTRA_ECONF to enable"
elog "You can use the environment variable MYCMAKEARGS to enable"
elog "these packages. For example, for Vdt you would set:"
elog "EXTRA_ECONF=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
elog "MYCMAKEARGS=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
}
src_prepare() {
@@ -307,7 +307,6 @@ src_configure() {
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
"${EXTRA_ECONF}"
)
# Needs to be here, otherwise gets overriden by cmake.eclass

View File

@@ -143,9 +143,9 @@ pkg_setup() {
use python && python-single-r1_pkg_setup
elog "There are extra options on packages not available in Gentoo."
elog "You can use the environment variable EXTRA_ECONF to enable"
elog "You can use the environment variable MYCMAKEARGS to enable"
elog "these packages. For example, for Vdt you would set:"
elog "EXTRA_ECONF=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
elog "MYCMAKEARGS=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
}
src_prepare() {
@@ -307,7 +307,6 @@ src_configure() {
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
"${EXTRA_ECONF}"
)
# Needs to be here, otherwise gets overriden by cmake.eclass