From 65f066d2f4e2842e86a3d9ac2abbe44d237c8ea3 Mon Sep 17 00:00:00 2001 From: Guilherme Amadio Date: Mon, 21 Jun 2021 17:37:04 +0200 Subject: 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 --- sys-cluster/lmod/lmod-8.5.3.ebuild | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys-cluster') 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[@]}" } -- cgit v1.2.3-65-gdbad