From ef6ca5620925c9c7f6cca8ba066cccb8843d7faa Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Sun, 26 Aug 2018 01:07:24 -0400 Subject: [PATCH] Pass --with-tcl to ensure tclConfig.sh is found On x86_64 the default search path configure uses for tclConfig.sh does not include /usr/lib64. The tcl module builds with default settings, but we can do better by explicitly setting --with-tcl. This ensures that TCL_FLAGS is set by tclConfig.sh rather than guessed. --- znc.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/znc.spec b/znc.spec index 14074d9..c8e331a 100644 --- a/znc.spec +++ b/znc.spec @@ -138,7 +138,7 @@ rm -rf "$gpghome" $key.gpg # Cleanup tmp gpg home dir and dearmored key %else # 0%{?with_modpython} --disable-python \ %endif # 0%{?with_modpython} - --enable-ipv6 --enable-cyrus --enable-tcl + --enable-ipv6 --enable-cyrus --enable-tcl --with-tcl=%{_libdir} %make_build V=1 @@ -222,6 +222,7 @@ getent passwd znc >/dev/null || \ - Check upstream GPG signature in %%prep - Simplify %%{_libdir}/znc/ file list - Enable verbose make +- Pass --with-tcl to ensure tclConfig.sh is found * Mon Jul 23 2018 Nick Bebout - 1.7.1-2 - Add gcc-c++ and redhat-rpm-config to znc-devel's dependencies