pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/tcl-expect lang/tcl-expect: Adjust comments



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f3a63d55e36e
branches:  trunk
changeset: 380938:f3a63d55e36e
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sun Jun 19 14:43:28 2022 +0000

description:
lang/tcl-expect: Adjust comments

Add a commented-out secondary HOMEPAGE.

Rototill patch comments after reading them enough to mostly understand.

diffstat:

 lang/tcl-expect/Makefile.common           |   3 ++-
 lang/tcl-expect/distinfo                  |   8 ++++----
 lang/tcl-expect/patches/patch-Makefile.in |  22 +++++++++++-----------
 lang/tcl-expect/patches/patch-configure   |  21 +++++++++++----------
 lang/tcl-expect/patches/patch-exp__chan.c |   4 +++-
 5 files changed, 31 insertions(+), 27 deletions(-)

diffs (120 lines):

diff -r e13944b8d1bf -r f3a63d55e36e lang/tcl-expect/Makefile.common
--- a/lang/tcl-expect/Makefile.common   Sun Jun 19 10:39:22 2022 +0000
+++ b/lang/tcl-expect/Makefile.common   Sun Jun 19 14:43:28 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.14 2022/06/14 10:56:15 gdt Exp $
+# $NetBSD: Makefile.common,v 1.15 2022/06/19 14:43:28 gdt Exp $
 
 # used by lang/tcl-expect/Makefile
 # \todo Explain why there is only one user, or fold into Makefile.
@@ -6,6 +6,7 @@
 DISTNAME=      expect${EXPECT_FNAME}
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=expect/}
 HOMEPAGE=      http://expect.sourceforge.net/
+#HOMEPAGE+=    https://core.tcl-lang.org/expect/index
 
 EXPECT_FNAME=  5.45
 EXPECT_VERSION=        5.45.0
diff -r e13944b8d1bf -r f3a63d55e36e lang/tcl-expect/distinfo
--- a/lang/tcl-expect/distinfo  Sun Jun 19 10:39:22 2022 +0000
+++ b/lang/tcl-expect/distinfo  Sun Jun 19 14:43:28 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.24 2022/06/14 10:56:15 gdt Exp $
+$NetBSD: distinfo,v 1.25 2022/06/19 14:43:28 gdt Exp $
 
 BLAKE2s (expect5.45.tar.gz) = 38c440ed0868322b6ec7438decaa036a636e7d700191b754c1e4a7dc0fdd0c46
 SHA512 (expect5.45.tar.gz) = be991c68241e607b3a689eae7e7966056dbfb577e857331d54a4911bd178c1816425217603b43918ad1b6d2e966271a0f01e79d7028a22e223562d59d10c8c51
 Size (expect5.45.tar.gz) = 628808 bytes
-SHA1 (patch-Makefile.in) = 3b234d232a47adc64b3a4d275237b64bbbf7fdf6
-SHA1 (patch-configure) = 843b330b46c7dd17deab1b2c133e5ae52d609ae9
-SHA1 (patch-exp__chan.c) = 5af6bf31fa87a4d9951be6bc978ede5440380981
+SHA1 (patch-Makefile.in) = 06858e50b7517901d0a7dc58f2149e7ef09b615b
+SHA1 (patch-configure) = 51ae6c4aaf6ff1ac510aec0d062310a91cb959c2
+SHA1 (patch-exp__chan.c) = 045d3442cfdc0976c8767a6cbdd9bbf2dcc8ed87
diff -r e13944b8d1bf -r f3a63d55e36e lang/tcl-expect/patches/patch-Makefile.in
--- a/lang/tcl-expect/patches/patch-Makefile.in Sun Jun 19 10:39:22 2022 +0000
+++ b/lang/tcl-expect/patches/patch-Makefile.in Sun Jun 19 14:43:28 2022 +0000
@@ -1,20 +1,20 @@
-$NetBSD: patch-Makefile.in,v 1.5 2022/06/14 10:56:15 gdt Exp $
-
-(This patch was created in 2012 and not adequately commented.  The
-comment included "no libtool", but there is no hint of libtool
-upstream and this patch does not remove it.)
+$NetBSD: patch-Makefile.in,v 1.6 2022/06/19 14:43:28 gdt Exp $
 
-Define SHLIB_VERSION, mysteriously.
+Add a shlib version to the shared library, which does not have one,
+for reasons not understood.  This is accomplished by defining a
+SHLIB_VERSION make variable by autoconf substitution (and oddly but
+not importantly, including a . in the make variable rather than where
+used).
 
-Add a variable for a static library version, build and install it.
+Build and install a static version of the expect library.
 
-Use standard rather than namespaced directories.
+Use standard rather than namespaced directories for data/lib/include.
+\todo Decide if this is working around an upstream bug, and if so file
+upstream, or if it is a pkgsrc accomodation.
 
 Include LDFLAGS when linking (for RELRO).
 
-Version the shlib and the expect binary.
-
-\todo Push changes upstream, or explain why that's not appropriate.
+\todo File changes upstream (but upstream is not functioning).
 
 --- Makefile.in.orig   2010-09-30 17:14:07.000000000 +0000
 +++ Makefile.in
diff -r e13944b8d1bf -r f3a63d55e36e lang/tcl-expect/patches/patch-configure
--- a/lang/tcl-expect/patches/patch-configure   Sun Jun 19 10:39:22 2022 +0000
+++ b/lang/tcl-expect/patches/patch-configure   Sun Jun 19 14:43:28 2022 +0000
@@ -1,19 +1,20 @@
-$NetBSD: patch-configure,v 1.2 2022/06/14 10:56:15 gdt Exp $
-
-(This patch was created in 2012 and not adequately commented.  The
-comment included "no libtool", but there is no hint of libtool
-upstream and this patch does not remove it.)
+$NetBSD: patch-configure,v 1.3 2022/06/19 14:43:28 gdt Exp $
 
 Add support for MirBSD as OpenBSD and DragonFly as FreeBSD.
 
 Upstream has support to use the version with or without dots as the
-shlib suffix.  This patch forces that to be the "NODOTS" flavor
-always, perhaps for PLIST consistency.
+shlib suffix, conditioned on TCL_LIB_VERSIONS_OK.  This patch forces
+that to be the "NODOTS" flavor always.  \todo Explain the plan; this
+seems likely to make the build the same on all pkgsrc platforms.
 
-\todo Expain why PVNODOTS isn't the PACKAGE_VERSION_NO_DOTS that
-upstream configure already computes.
+Define PVNODOTS and use it to overwrite SHARED_LIB_SUFFIX and
+define UNSHARED_LIB_SUFFIX.  PVNODOTS appears to have the same value as
+PACKAGE_VERSION_NO_DOTS, that upstream configure already computes.
+\todo Explain why there is a new variable.
 
-\todo Push changes upstream, or explain why that's not appropriate.
+Substitute the already-computed SHLIB_VERSION, for use in Makefile.in.
+
+\todo File changes upstream (but upstream is not functioning).
 
 --- configure.orig     2010-09-16 20:46:47.000000000 +0000
 +++ configure
diff -r e13944b8d1bf -r f3a63d55e36e lang/tcl-expect/patches/patch-exp__chan.c
--- a/lang/tcl-expect/patches/patch-exp__chan.c Sun Jun 19 10:39:22 2022 +0000
+++ b/lang/tcl-expect/patches/patch-exp__chan.c Sun Jun 19 14:43:28 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-exp__chan.c,v 1.1 2022/05/15 01:56:24 dholland Exp $
+$NetBSD: patch-exp__chan.c,v 1.2 2022/06/19 14:43:28 gdt Exp $
 
 Add hack to work around deadlock situation that occurs on Solaris and
 Linux. See PR 34442.
@@ -9,6 +9,8 @@
 conditionalize it, as the check should be safe. If this turns out to
 cause problems, we can wrap it in ifdefs.
 
+\todo File changes upstream (but upstream is not functioning).
+
 --- exp_chan.c.orig    2010-07-01 00:53:49.000000000 +0000
 +++ exp_chan.c
 @@ -7,6 +7,7 @@



Home | Main Index | Thread Index | Old Index