Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37636902
en ru br
ALT Linux repositórios
S:1.7.22-alt1
5.0: 1.5.1-alt4.1
4.1: 1.5.1-alt4
4.0: 1.5.1-alt3.1
3.0: 1.5.0-alt2

Group :: Desenvolvimento/Tcl
RPM: tcl-tls

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 0002-ALT-TEA.patch
Download


From b56d487c4220023aad3a3ef06fd58b0cec4739cf Mon Sep 17 00:00:00 2001
From: "Vladimir D. Seleznev" <vseleznv@altlinux.org>
Date: Mon, 21 Aug 2017 10:25:39 +0300
Subject: [PATCH 2/4] ALT: TEA
---
 tcltls/Makefile.in | 7 ++++---
 tcltls/aclocal.m4  | 2 +-
 tcltls/configure   | 2 +-
 3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/tcltls/Makefile.in b/tcltls/Makefile.in
index ed361e5..18a0d3d 100644
--- a/tcltls/Makefile.in
+++ b/tcltls/Makefile.in
@@ -60,13 +60,14 @@ dh_params.h: @srcdir@/gen_dh_params Makefile
 # Install the extension
 install: @EXTENSION_TARGET@ pkgIndex.tcl
 	$(INSTALL) -d '$(DESTDIR)$(PACKAGE_INSTALL_DIR)'
-	$(INSTALL_PROGRAM) @EXTENSION_TARGET@ '$(DESTDIR)$(PACKAGE_INSTALL_DIR)'
-	$(INSTALL_DATA)    pkgIndex.tcl '$(DESTDIR)$(PACKAGE_INSTALL_DIR)'
+	$(INSTALL) -d '$(DESTDIR)$(libdir)/tcl/tcltls$(PACKAGE_VERSION)'
+	$(INSTALL_PROGRAM) @EXTENSION_TARGET@ '$(DESTDIR)$(libdir)/tcl/tcltls$(PACKAGE_VERSION)'
+	$(INSTALL_DATA)    pkgIndex.tcl '$(DESTDIR)$(libdir)/tcl/tcltls$(PACKAGE_VERSION)'
 
 # A convienent helper to undo the installation just done
 uninstall:
 	rm -f '$(DESTDIR)$(PACKAGE_INSTALL_DIR)/@EXTENSION_TARGET@'
-	rm -f '$(DESTDIR)$(PACKAGE_INSTALL_DIR)/pkgIndex.tcl'
+	rm -f '$(DESTDIR)$(DESTDIR)$(libdir)/tcl/tcltls$(PACKAGE_VERSION)/pkgIndex.tcl'
 	-rmdir '$(DESTDIR)$(PACKAGE_INSTALL_DIR)'
 
 # Test target, run the automated test suite
diff --git a/tcltls/aclocal.m4 b/tcltls/aclocal.m4
index be2cbb9..2019473 100644
--- a/tcltls/aclocal.m4
+++ b/tcltls/aclocal.m4
@@ -166,7 +166,7 @@ AC_DEFUN([TCLEXT_INIT], [
 	if test "$prefix" = 'NONE' -a "$exec_prefix" = 'NONE' -a "${libdir}" = '${exec_prefix}/lib'; then
 		TCL_PACKAGE_PATH="`echo "${TCL_PACKAGE_PATH}" | sed 's@  *$''@@' | awk '{ print [$]1 }'`"
 	else
-		TCL_PACKAGE_PATH='${libdir}'
+		TCL_PACKAGE_PATH='${libdir}/tcl'
 	fi
 	AC_SUBST(TCL_PACKAGE_PATH)
 
diff --git a/tcltls/configure b/tcltls/configure
index 9dd2c80..6ae25ad 100755
--- a/tcltls/configure
+++ b/tcltls/configure
@@ -3970,7 +3970,7 @@ $as_echo "#define USE_TCL_STUBS 1" >>confdefs.h
 		if test "$prefix" = 'NONE' -a "$exec_prefix" = 'NONE' -a "${libdir}" = '${exec_prefix}/lib'; then
 		TCL_PACKAGE_PATH="`echo "${TCL_PACKAGE_PATH}" | sed 's@  *$''@@' | awk '{ print $1 }'`"
 	else
-		TCL_PACKAGE_PATH='${libdir}'
+		TCL_PACKAGE_PATH='${libdir}/tcl'
 	fi
 
 
-- 
2.25.3
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009