summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2022-06-19 14:43:28 +0000
committergdt <gdt@pkgsrc.org>2022-06-19 14:43:28 +0000
commite92c9a697309b0218dee347047413b7dc2f9ea9d (patch)
tree8e335c24076188a7b39358166f72c184e3a1d2bf /lang
parent41970d5d16a9ab51a3f535786f217dde0adc108c (diff)
downloadpkgsrc-e92c9a697309b0218dee347047413b7dc2f9ea9d.tar.gz
lang/tcl-expect: Adjust comments
Add a commented-out secondary HOMEPAGE. Rototill patch comments after reading them enough to mostly understand.
Diffstat (limited to 'lang')
-rw-r--r--lang/tcl-expect/Makefile.common3
-rw-r--r--lang/tcl-expect/distinfo8
-rw-r--r--lang/tcl-expect/patches/patch-Makefile.in22
-rw-r--r--lang/tcl-expect/patches/patch-configure21
-rw-r--r--lang/tcl-expect/patches/patch-exp__chan.c4
5 files changed, 31 insertions, 27 deletions
diff --git a/lang/tcl-expect/Makefile.common b/lang/tcl-expect/Makefile.common
index 3209930aa5d..82b93157444 100644
--- a/lang/tcl-expect/Makefile.common
+++ b/lang/tcl-expect/Makefile.common
@@ -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 --git a/lang/tcl-expect/distinfo b/lang/tcl-expect/distinfo
index 6e8eef50302..d553f176d8a 100644
--- a/lang/tcl-expect/distinfo
+++ b/lang/tcl-expect/distinfo
@@ -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 --git a/lang/tcl-expect/patches/patch-Makefile.in b/lang/tcl-expect/patches/patch-Makefile.in
index 6f2de90f11d..7a4b0afd345 100644
--- a/lang/tcl-expect/patches/patch-Makefile.in
+++ b/lang/tcl-expect/patches/patch-Makefile.in
@@ -1,20 +1,20 @@
-$NetBSD: patch-Makefile.in,v 1.5 2022/06/14 10:56:15 gdt Exp $
+$NetBSD: patch-Makefile.in,v 1.6 2022/06/19 14:43:28 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.)
+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).
-Define SHLIB_VERSION, mysteriously.
+Build and install a static version of the expect library.
-Add a variable for a static library version, build and install it.
-
-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 --git a/lang/tcl-expect/patches/patch-configure b/lang/tcl-expect/patches/patch-configure
index 62add2261b4..fecf43c2119 100644
--- a/lang/tcl-expect/patches/patch-configure
+++ b/lang/tcl-expect/patches/patch-configure
@@ -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.
+
+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 Expain why PVNODOTS isn't the PACKAGE_VERSION_NO_DOTS that
-upstream configure already computes.
+Substitute the already-computed SHLIB_VERSION, for use in Makefile.in.
-\todo Push changes upstream, or explain why that's not appropriate.
+\todo File changes upstream (but upstream is not functioning).
--- configure.orig 2010-09-16 20:46:47.000000000 +0000
+++ configure
diff --git a/lang/tcl-expect/patches/patch-exp__chan.c b/lang/tcl-expect/patches/patch-exp__chan.c
index 44dd73d9241..f8b06d7244e 100644
--- a/lang/tcl-expect/patches/patch-exp__chan.c
+++ b/lang/tcl-expect/patches/patch-exp__chan.c
@@ -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 @@ problem as far as it's understood seems to be portable. So don't
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 @@