summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2021-06-21 17:37:04 +0200
committerGuilherme Amadio <amadio@gentoo.org>2021-06-21 17:37:25 +0200
commit65f066d2f4e2842e86a3d9ac2abbe44d237c8ea3 (patch)
tree7cdac00e23c741f7b90d608f15353c7a0d009bea
parentnet-analyzer/suricata: update HOMEPAGE (diff)
downloadgentoo-65f066d2f4e2842e86a3d9ac2abbe44d237c8ea3.tar.gz
gentoo-65f066d2f4e2842e86a3d9ac2abbe44d237c8ea3.tar.bz2
gentoo-65f066d2f4e2842e86a3d9ac2abbe44d237c8ea3.zip
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@gentoo.org>
-rw-r--r--sys-cluster/lmod/lmod-8.5.3.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-cluster/lmod/lmod-8.5.3.ebuild b/sys-cluster/lmod/lmod-8.5.3.ebuild
index b8c9fbcde3bf..8564d3f3dae6 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[@]}"
}