]> git.pld-linux.org Git - packages/tcl.git/commitdiff
define TCL_PACKAGE_PATH manually; rel 2
authorJan Palus <atler@pld-linux.org>
Wed, 19 Jan 2022 19:18:07 +0000 (20:18 +0100)
committerJan Palus <atler@pld-linux.org>
Wed, 19 Jan 2022 19:18:07 +0000 (20:18 +0100)
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

index 793379b7ed9c7b45b480b29b898edf405fdd5678..a926e850eb130540223f29ef11224000fa807e4e 100644 (file)
--- 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 \
This page took 0.305626 seconds and 4 git commands to generate.