[packages/tcl] define TCL_PACKAGE_PATH manually; rel 2
atler
atler at pld-linux.org
Wed Jan 19 20:22:58 CET 2022
commit 7de2991a2b9bb985f018982fabbf9433a9d1181a
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Jan 19 20:18:07 2022 +0100
define TCL_PACKAGE_PATH manually; rel 2
whatever's the deal with braces around paths...
supposedly to allow paths with spaces TCL_PACKAGE_PATH wraps all paths
in braces ie:
TCL_PACKAGE_PATH="{/usr/lib64} {/usr/lib64/tcl8.6} {/usr/lib} {/usr/lib/tcl8.6}"
it is unclear how it contributes to allowing spaces... but it surely
contributes to dependant packages confusion which take brace as part of
path (brltty). also what if path must contain braces?
tcl.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tcl.spec b/tcl.spec
index 793379b..a926e85 100644
--- a/tcl.spec
+++ b/tcl.spec
@@ -15,7 +15,7 @@ Summary(tr.UTF-8): Tcl ile kullanılabilen betik dili
Summary(uk.UTF-8): Tool Command Language - вбудовувана мова скриптів
Name: tcl
Version: %{major}.%{minor}
-Release: 1
+Release: 2
License: BSD
Group: Development/Languages/Tcl
Source0: http://downloads.sourceforge.net/tcl/%{name}-core%{version}-src.tar.gz
@@ -141,6 +141,7 @@ cd unix
%{__autoconf}
%configure \
OPTFLAGS="%{rpmcflags} %{rpmcppflags}" \
+ TCL_PACKAGE_PATH="%{?have_ulibdir:%{_libdir} %{_libdir}/tcl%{major} }%{_ulibdir} %{_ulibdir}/tcl%{major} %{_datadir}/tcl%{major}" \
--enable-langinfo \
--enable-shared \
--%{?with_threads:en}%{!?with_threads:dis}able-threads \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tcl.git/commitdiff/e3c06f58cbe3ecdd28fabc2ecc92e1bf800d0086
More information about the pld-cvs-commit
mailing list