pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/libtcl-nothread libtcl-nothread: Remove



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66f56556c0eb
branches:  trunk
changeset: 415134:66f56556c0eb
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Wed Oct 02 18:11:39 2019 +0000

description:
libtcl-nothread: Remove

tcl8.4 is long eol.

This package used to be a shortlived workaround for postgresql-pltcl in
2004.

diffstat:

 lang/libtcl-nothread/DESCR            |    8 -
 lang/libtcl-nothread/Makefile         |   50 ---
 lang/libtcl-nothread/PLIST            |    3 -
 lang/libtcl-nothread/buildlink3.mk    |   27 -
 lang/libtcl-nothread/distinfo         |   13 -
 lang/libtcl-nothread/patches/patch-aa |  117 -------
 lang/libtcl-nothread/patches/patch-ab |  565 ----------------------------------
 lang/libtcl-nothread/patches/patch-ac |   47 --
 lang/libtcl-nothread/patches/patch-ae |   40 --
 lang/libtcl-nothread/patches/patch-af |  524 -------------------------------
 lang/libtcl-nothread/patches/patch-ag |   15 -
 lang/libtcl-nothread/patches/patch-ah |   21 -
 12 files changed, 0 insertions(+), 1430 deletions(-)

diffs (truncated from 1478 to 300 lines):

diff -r 00f75258e6d3 -r 66f56556c0eb lang/libtcl-nothread/DESCR
--- a/lang/libtcl-nothread/DESCR        Wed Oct 02 18:10:15 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-This package contains Tcl, John Osterhout's Tool Command Language, an
-exceedingly simple language great for general scripting and for
-embedding in other programs.
-
-The best way to get started with Tcl is to read ``Tcl and the Tk
-Toolkit'' by John K. Ousterhout, Addison-Wesley, ISBN 0-201-63337-X
-or ``Practical Programming in Tcl and Tk'' by Brent B. Welch,
-Prentice Hall PTR, ISBN 0-13-616830-X.
diff -r 00f75258e6d3 -r 66f56556c0eb lang/libtcl-nothread/Makefile
--- a/lang/libtcl-nothread/Makefile     Wed Oct 02 18:10:15 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-# $NetBSD: Makefile,v 1.11 2014/01/11 14:42:00 adam Exp $
-#
-
-DISTNAME=              tcl8.4.6-src
-PKGNAME=               libtcl-nothread-8.4.6
-PKGREVISION=           3
-CATEGORIES=            lang
-MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=tcl/}
-
-MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=              http://www.tcl.tk/
-COMMENT=               TCL library for embedding
-
-DEPENDS+=              tcl>=8.4.6nb5:../../lang/tcl
-
-WRKSRC=                        ${WRKDIR}/${DISTNAME:C/-src//}/unix
-GNU_CONFIGURE=         yes
-MAKE_ENV+=             TOUCH=${TOUCH:Q}
-MAKE_ENV+=             NOTHREAD_SUFX=-nothread
-
-USE_LIBTOOL=           yes
-
-TCLLIB=                        libtcl84-nothread.la
-BUILD_TARGET=          ${TCLLIB}
-
-# Add ${VIEWBASE}/lib/tcl to the list of locations for Tcl packages.
-CONFIGURE_ENV+=                TCL_PACKAGE_PATH="${VIEWBASE}/lib/tcl"
-
-.include "../../mk/bsd.prefs.mk"
-
-# NetBSD-1.5.x-m68k platforms apparently have a compiler optimization bug
-# tickled by the Tcl code that manifests in code generation problems.
-#
-.if (${MACHINE_PLATFORM:MNetBSD-1.5*-m68k} != "")
-CONFIGURE_ENV+=                COMPILER_OPTIMIZATION_BUG=YES
-.endif
-
-INSTALLATION_DIRS=     lib
-
-post-configure:
-       ${SED} 's|tcl84|tcl84-nothread|g' <${WRKSRC}/tclConfig.sh \
-               >${WRKSRC}/tclConfig-nothread.sh
-
-do-install:
-       cd ${WRKSRC} && \
-       ${LIBTOOL} --mode=install ${INSTALL_DATA} ${TCLLIB} \
-               ${DESTDIR}${PREFIX}/lib; \
-       ${INSTALL_DATA} tclConfig-nothread.sh ${DESTDIR}${PREFIX}/lib
-
-.include "../../mk/bsd.pkg.mk"
diff -r 00f75258e6d3 -r 66f56556c0eb lang/libtcl-nothread/PLIST
--- a/lang/libtcl-nothread/PLIST        Wed Oct 02 18:10:15 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2004/09/22 08:09:40 jlam Exp $
-lib/libtcl84-nothread.la
-lib/tclConfig-nothread.sh
diff -r 00f75258e6d3 -r 66f56556c0eb lang/libtcl-nothread/buildlink3.mk
--- a/lang/libtcl-nothread/buildlink3.mk        Wed Oct 02 18:10:15 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.9 2014/01/11 14:42:00 adam Exp $
-
-BUILDLINK_TREE+=       tclnt
-
-.if !defined(TCLNT_BUILDLINK3_MK)
-TCLNT_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.tclnt+=  libtcl-nothread>=8.4.6
-BUILDLINK_ABI_DEPENDS.tclnt+=  libtcl-nothread>=8.4.6nb3
-BUILDLINK_PKGSRCDIR.tclnt?=    ../../lang/libtcl-nothread
-
-BUILDLINK_FILES.tcl=   bin/tclsh*
-#
-# Make "-ltcl" and "-ltcl8.4" resolve into "-ltcl84", so that we don't
-# need to patch so many Makefiles.
-#
-BUILDLINK_TRANSFORM+=  l:tcl:tcl84-nothread
-BUILDLINK_TRANSFORM+=  l:tcl8.4:tcl84-nothread
-
-TCLCONFIG_SH?=         ${BUILDLINK_PREFIX.tcl}/lib/tclConfig-nothread.sh
-PKGSRC_MAKE_ENV+=      _TCL_NOTHREAD=yes
-
-_TCL_NOTHREAD=         yes
-.include "../../lang/tcl/buildlink3.mk"
-.endif # TCLNT_BUILDLINK3_MK
-
-BUILDLINK_TREE+=       -tclnt
diff -r 00f75258e6d3 -r 66f56556c0eb lang/libtcl-nothread/distinfo
--- a/lang/libtcl-nothread/distinfo     Wed Oct 02 18:10:15 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: distinfo,v 1.6 2015/12/29 23:34:50 dholland Exp $
-
-SHA1 (tcl8.4.6-src.tar.gz) = d21495ca04419fc3b1594b96b19116040c33a3f0
-RMD160 (tcl8.4.6-src.tar.gz) = c282a1ce3b71d6b91b0b59fbc323d6ce05cba66f
-SHA512 (tcl8.4.6-src.tar.gz) = 1d2d213cecaee5e516e12e62ef0b67d483123a75c7ffee47fb89c0b76066ce2142928e4fffe1db5a51ffc43e91894a1754d3a1d6635017632755da16a3b89d5b
-Size (tcl8.4.6-src.tar.gz) = 3448711 bytes
-SHA1 (patch-aa) = fbd2b8fa522f8aca21bf5497cd5e77668b23d207
-SHA1 (patch-ab) = d7d7ff38c6098903e28b66323f581bb013a0b176
-SHA1 (patch-ac) = dec38b6ef6edcc2af4d9a02d3e61749a995022bd
-SHA1 (patch-ae) = 09e29118e61f3bf371b24d4ffe7b8977293150c8
-SHA1 (patch-af) = 7881f1cda30e5b6fc412763e2dc862c8c4ba104d
-SHA1 (patch-ag) = a3aa22e36b4afcb6f969142ea989a682adc0b716
-SHA1 (patch-ah) = 746dd0f3853759b9a612e16de031e108e9620012
diff -r 00f75258e6d3 -r 66f56556c0eb lang/libtcl-nothread/patches/patch-aa
--- a/lang/libtcl-nothread/patches/patch-aa     Wed Oct 02 18:10:15 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,117 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2015/12/29 23:34:50 dholland Exp $
-
-Honor pkgsrc LDFLAGS.
-Use libtool.
-Feed in NOTHREAD_SUFX.
-
---- Makefile.in.orig   2004-03-02 00:58:59.000000000 +0100
-+++ Makefile.in
-@@ -76,7 +76,7 @@ MANN_INSTALL_DIR     = $(MAN_INSTALL_DIR)/ma
- TCL_PACKAGE_PATH      = @TCL_PACKAGE_PATH@
- 
- # Libraries built with optimization switches have this additional extension
--TCL_DBGX              = @TCL_DBGX@
-+TCL_DBGX              = ${NOTHREAD_SUFX}
- 
- # warning flags
- CFLAGS_WARNING                = @CFLAGS_WARNING@
-@@ -95,7 +95,7 @@ CFLAGS                       = @CFLAGS@ @CFLAGS_DEFAULT@ -DT
- # Flags to pass to the linker
- LDFLAGS_DEBUG         = @LDFLAGS_DEBUG@
- LDFLAGS_OPTIMIZE      = @LDFLAGS_OPTIMIZE@
--LDFLAGS                       = @LDFLAGS@ @LDFLAGS_DEFAULT@
-+LDFLAGS                       = @LD_FLAGS@ @LDFLAGS@ @LDFLAGS_DEFAULT@
- 
- # To disable ANSI-C procedure prototypes reverse the comment characters
- # on the following lines:
-@@ -172,8 +172,8 @@ SHELL                      = /bin/sh
- INSTALL_STRIP_PROGRAM   = -s
- INSTALL_STRIP_LIBRARY  = -S -S
- 
--INSTALL                       = @srcdir@/install-sh -c
--INSTALL_PROGRAM               = ${INSTALL}
-+INSTALL                 := ${LIBTOOL} --mode=install @srcdir@/install-sh -c
-+INSTALL_PROGRAM         = ${INSTALL} -s
- INSTALL_LIBRARY               = ${INSTALL}
- INSTALL_DATA          = ${INSTALL} -m 644
- 
-@@ -191,7 +191,7 @@ TCL_EXE                    = tclsh
- # these definitions by hand.
- 
- STLIB_LD              = @STLIB_LD@
--SHLIB_LD              = @SHLIB_LD@
-+SHLIB_LD              = ${LIBTOOL} --mode=link @CC@ -rpath ${PREFIX}/lib
- SHLIB_CFLAGS          = @SHLIB_CFLAGS@
- SHLIB_LD_FLAGS                = @SHLIB_LD_FLAGS@
- SHLIB_LD_LIBS         = @SHLIB_LD_LIBS@
-@@ -217,6 +217,7 @@ BUILD_DLTEST               = @BUILD_DLTEST@
- #BUILD_DLTEST         =
- 
- TCL_LIB_FILE          = @TCL_LIB_FILE@
-+TCL_LA_FILE           = ${TCL_LIB_FILE:C/@SHLIB_SUFFIX@/.la/}
- #TCL_LIB_FILE         = libtcl.a
- 
- # Generic lib name used in rules that apply to tcl and tk
-@@ -254,8 +255,9 @@ DLTEST_DIR         = @TCL_SRC_DIR@/unix/dltest
- # Must be absolute to so the corresponding tcltest's tcl_library is absolute.
- TCL_BUILDTIME_LIBRARY = @TCL_SRC_DIR@/library
- 
--CC                    = @CC@
- #CC                   = purify -best-effort @CC@ -DPURIFY
-+CC                    = ${LIBTOOL} --mode=compile @CC@
-+LD                    = ${LIBTOOL} --mode=link @CC@
- 
- # Flags to be passed to mkLinks to control whether the manpages
- # should be compressed and linked with softlinks
-@@ -445,7 +447,7 @@ SRCS = $(GENERIC_SRCS) $(UNIX_SRCS) $(ST
- 
- all: binaries libraries doc
- 
--binaries: ${LIB_FILE} $(STUB_LIB_FILE) $(TCL_BUILD_EXP_FILE) tclsh
-+binaries: ${TCL_LA_FILE} $(STUB_LIB_FILE) $(TCL_BUILD_EXP_FILE) tclsh
- 
- libraries:
- 
-@@ -453,7 +455,7 @@ doc:
- 
- # The following target is configured by autoconf to generate either
- # a shared library or non-shared library for Tcl.
--${LIB_FILE}: ${OBJS} ${STUB_LIB_FILE}
-+${TCL_LA_FILE}: ${OBJS} ${STUB_LIB_FILE}
-       rm -f $@
-       @MAKE_LIB@
- 
-@@ -473,8 +475,8 @@ tclLibObjs:
- objs: ${OBJS}
- 
- 
--tclsh: ${TCLSH_OBJS} ${TCL_LIB_FILE}
--      ${CC} ${LDFLAGS} ${TCLSH_OBJS} @TCL_BUILD_LIB_SPEC@ ${LIBS} \
-+tclsh: ${TCLSH_OBJS} ${TCL_LA_FILE}
-+      ${LD} ${LDFLAGS} ${TCLSH_OBJS} @TCL_BUILD_LIB_SPEC@ ${LIBS} \
-               ${CC_SEARCH_FLAGS} -o tclsh
- 
- # Resetting the LIB_RUNTIME_DIR below is required so that
-@@ -482,11 +484,11 @@ tclsh: ${TCLSH_OBJS} ${TCL_LIB_FILE}
- # burned into its ld search path. This keeps tcltest from
- # picking up an already installed version of the Tcl library.
- 
--tcltest: ${TCLTEST_OBJS} ${TCL_LIB_FILE} ${BUILD_DLTEST}
-+tcltest: ${TCLTEST_OBJS} ${TCL_LA_FILE} ${BUILD_DLTEST}
-       $(MAKE) tcltest-real LIB_RUNTIME_DIR=`pwd`
- 
- tcltest-real:
--      ${CC} ${LDFLAGS} ${TCLTEST_OBJS} @TCL_BUILD_LIB_SPEC@ ${LIBS} \
-+      ${LD} ${LDFLAGS} ${TCLTEST_OBJS} @TCL_BUILD_LIB_SPEC@ ${LIBS} \
-               ${CC_SEARCH_FLAGS} -o tcltest
- 
- # Note, in the target below TCL_LIBRARY needs to be set or else
-@@ -1054,7 +1056,7 @@ tclMacOSXBundle.o: $(MAC_OSX_DIR)/tclMac
- 
- xttest:  ${XTTEST_OBJS} ${GENERIC_OBJS} ${UNIX_OBJS} ${COMPAT_OBJS} \
-       @DL_OBJS@ ${BUILD_DLTEST}
--      ${CC} ${XTTEST_OBJS} ${GENERIC_OBJS} ${UNIX_OBJS} ${COMPAT_OBJS} \
-+      ${LD} ${XTTEST_OBJS} ${GENERIC_OBJS} ${UNIX_OBJS} ${COMPAT_OBJS} \
-               @DL_OBJS@ @TCL_BUILD_LIB_SPEC@ ${LIBS} \
-               ${CC_SEARCH_FLAGS} -L/usr/openwin/lib -lXt -o xttest
- 
diff -r 00f75258e6d3 -r 66f56556c0eb lang/libtcl-nothread/patches/patch-ab
--- a/lang/libtcl-nothread/patches/patch-ab     Wed Oct 02 18:10:15 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,565 +0,0 @@
-$NetBSD: patch-ab,v 1.4 2015/12/29 23:34:50 dholland Exp $
-
-Fix shell quoting error.
-Rolled-in version of patch-ae and patch-af.
-
---- configure.orig     2004-03-02 00:58:59.000000000 +0100
-+++ configure
-@@ -5552,7 +5552,7 @@ echo "configure:5543: checking system ve
-           # results, and the version is kept in special file).
-       
-           if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
--              system=MP-RAS-`awk '{print }' /etc/.relid'`
-+              system=MP-RAS-`awk '{print }' /etc/.relid`
-           fi
-           if test "`uname -s`" = "AIX" ; then
-               system=AIX-`uname -v`.`uname -r`
-@@ -5613,12 +5613,13 @@ fi
-     # Step 3: set configuration options based on system name and version.
- 
-     do64bit_ok=no
-+    TCL_LIB_SPEC_RPATH=""
-     EXTRA_CFLAGS=""
-     TCL_EXPORT_FILE_SUFFIX=""
-     UNSHARED_LIB_SUFFIX=""
-     TCL_TRIM_DOTS='`echo ${VERSION} | tr -d .`'
-     ECHO_VERSION='`echo ${VERSION}`'
--    TCL_LIB_VERSIONS_OK=ok
-+    TCL_LIB_VERSIONS_OK=nodots
-     CFLAGS_DEBUG=-g
-     CFLAGS_OPTIMIZE=-O
-     if test "$GCC" = "yes" ; then
-@@ -5682,7 +5683,7 @@ fi
-           SHLIB_SUFFIX=".so"
- 
-           DL_OBJS="tclLoadDl.o"
--          LDFLAGS=""
-+          LD_FLAGS=""
- 
-           LD_LIBRARY_PATH_VAR="LIBPATH"
- 
-@@ -5693,7 +5694,7 @@ fi
-               else 
-                   do64bit_ok=yes
-                   EXTRA_CFLAGS="-q64"
--                  LDFLAGS="-q64"
-+                  LD_FLAGS="-q64"
-                   RANLIB="${RANLIB} -X64"
-                   AR="${AR} -X64"
-                   SHLIB_LD_FLAGS="-b64"
-@@ -5734,7 +5735,7 @@ fi
-           SHLIB_SUFFIX=".so"
-           DL_OBJS="tclLoadDl.o"
-           DL_LIBS="-ldl"
--          LDFLAGS=""



Home | Main Index | Thread Index | Old Index