commit: 65f066d2f4e2842e86a3d9ac2abbe44d237c8ea3
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 21 15:37:04 2021 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jun 21 15:37:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65f066d2
sys-cluster/lmod: fix on prefix
Build system has CPPFLAGS="-I $TCL_INCLUDE", which breaks if the
TCL_INCLUDE returned by pkg-config is empty. However, this only
affects prefix.
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sys-cluster/lmod/lmod-8.5.3.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys-cluster/lmod/lmod-8.5.3.ebuild
b/sys-cluster/lmod/lmod-8.5.3.ebuild
index b8c9fbcde3b..8564d3f3dae 100644
--- a/sys-cluster/lmod/lmod-8.5.3.ebuild
+++ b/sys-cluster/lmod/lmod-8.5.3.ebuild
@@ -95,6 +95,8 @@ src_configure() {
$(use_with cache cachedLoads)
$(use_with duplicate-paths duplicatePaths)
$(use_with auto-swap autoSwap)
+ # needed because configure.ac relies on TCL_INCLUDE not being
empty
+ PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
)
econf "${myconf[@]}"
}