tcl: Remove old versions.

This commit is contained in:
Augustin Cavalier
2021-11-17 17:55:52 -05:00
parent 2ee28db946
commit 93abfa1c7e
2 changed files with 0 additions and 148 deletions

View File

@@ -1,66 +0,0 @@
From 02a513a41a3a8aaf7a28bbb86db4eafaf63045ff Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Mon, 5 May 2014 16:07:04 +0000
Subject: import patch from previous version
diff --git a/tests/env.test b/tests/env.test
index ee13b7f..db8f1ce 100644
--- a/tests/env.test
+++ b/tests/env.test
@@ -85,7 +85,7 @@ set printenvScript [makeFile {
TCL_LIBRARY PATH LD_LIBRARY_PATH LIBPATH PURE_PROG_NAME DISPLAY
SHLIB_PATH SYSTEMDRIVE SYSTEMROOT DYLD_LIBRARY_PATH DYLD_FRAMEWORK_PATH
DYLD_NEW_LOCAL_SHARED_REGIONS DYLD_NO_FIX_PREBINDING
- __CF_USER_TEXT_ENCODING SECURITYSESSIONID LANG WINDIR TERM
+ __CF_USER_TEXT_ENCODING SECURITYSESSIONID LANG WINDIR TERM LIBRARY_PATH
CommonProgramFiles ProgramFiles CommonProgramW6432 ProgramW6432
} {
lrem names $name
@@ -117,7 +117,7 @@ foreach name [array names env] {
TCL_LIBRARY PATH LD_LIBRARY_PATH LIBPATH DISPLAY SHLIB_PATH
SYSTEMDRIVE SYSTEMROOT DYLD_LIBRARY_PATH DYLD_FRAMEWORK_PATH
DYLD_NEW_LOCAL_SHARED_REGIONS DYLD_NO_FIX_PREBINDING
- SECURITYSESSIONID LANG WINDIR TERM
+ SECURITYSESSIONID LANG WINDIR TERM LIBRARY_PATH
CONNOMPROGRAMFILES PROGRAMFILES COMMONPROGRAMW6432 PROGRAMW6432
}} {
unset env($name)
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index f484989..def649b 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -652,7 +652,13 @@ AC_DEFUN([SC_ENABLE_THREADS], [
# The space is needed
THREADS_LIBS=" -lpthread"
else
- AC_CHECK_LIB(pthreads, pthread_mutex_init,
+ AC_CHECK_LIB(root, pthread_mutex_init,
+ tcl_ok=yes, tcl_ok=no)
+ if test "$tcl_ok" = "yes"; then
+ # The space is needed
+ THREAD_LIBS=" "
+ else
+ AC_CHECK_LIB(pthreads, pthread_mutex_init,
tcl_ok=yes, tcl_ok=no)
if test "$tcl_ok" = "yes"; then
# The space is needed
@@ -671,6 +677,7 @@ AC_DEFUN([SC_ENABLE_THREADS], [
AC_MSG_WARN([Don't know how to find pthread lib on your system - you must disable thread support or edit the LIBS in the Makefile...])
fi
fi
+ fi
fi
fi
@@ -1284,6 +1291,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
DL_OBJS="tclLoadDl.o"
DL_LIBS="-lroot"
+ LD_LIBRARY_PATH_VAR="LIBRARY_PATH"
AC_CHECK_LIB(network, inet_ntoa, [LIBS="$LIBS -lnetwork"])
;;
HP-UX-*.11.*)
--
1.8.3.4

View File

@@ -1,82 +0,0 @@
SUMMARY="A very powerful but easy to learn dynamic programming language"
DESCRIPTION="
Tcl (Tool Command Language) is a very powerful but easy to learn dynamic \
programming language, suitable for a very wide range of uses, including web \
and desktop applications, networking, administration, testing and many more. \
Open source and business-friendly, Tcl is a mature yet evolving language that \
is truly cross platform, easily deployed and highly extensible."
HOMEPAGE="http://www.tcl.tk"
COPYRIGHT="Regents of the University of California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState Corporation and other parties"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="http://sourceforge.net/projects/tcl/files/Tcl/$portVersion/tcl$portVersion-src.tar.gz"
CHECKSUM_SHA256="d3f04456da873d17f02efc30734b0300fb6c3b85028d445fe284b83253a6db18"
SOURCE_DIR="tcl$portVersion"
PATCHES="tcl-$portVersion.patchset"
ARCHITECTURES="all"
PROVIDES="
tcl = $portVersion compat >= 8.5
cmd:tclsh = $portVersion compat >= 8.5
cmd:tclsh8.5 = $portVersion compat >= 8.5
lib:libtcl8.5 = $portVersion compat >= 8.5
"
REQUIRES="
haiku
"
PROVIDES_devel="
tcl_devel = $portVersion
devel:libtclstub8.5 = $portVersion
"
REQUIRES_devel="
tcl == $portVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel
cmd:autoconf
cmd:find
cmd:gcc
cmd:grep
cmd:ld
cmd:make
cmd:sed
"
defineDebugInfoPackage tcl \
"$libDir"/libtcl8.5.so
BUILD()
{
cd unix
autoconf -f
runConfigure ./configure \
--enable-man-symlinks
make
}
INSTALL()
{
cd unix
make install install-private-headers
ln -s tclsh8.5 "${binDir}/tclsh"
sed -i -e "s#${sourceDir}/unix#${developLibDir}#" \
-e "s#${sourceDir}#${includeDir}#" \
${libDir}/tclConfig.sh
prepareInstalledDevelLibs libtclstub8.5
fixPkgconfig
packageEntries devel $developDir ${libDir}/tclConfig.sh
}
TEST()
{
cd unix
make test
}