pkgsrc-WIP-changes archive

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

Created wip/tcl-expect using expect5.45.4.



Module Name:	pkgsrc-wip
Committed By:	Boyd Lynn Gerber <gerberb%zenez.com@localhost>
Pushed By:	gerberb
Date:		Sat Apr 30 10:31:04 2022 -0600
Changeset:	2130ccf543a383843b5a65aaca8e83c00825b91b

Added Files:
	tcl-expect/DESCR
	tcl-expect/Makefile
	tcl-expect/Makefile.common
	tcl-expect/PLIST
	tcl-expect/buildlink3.mk
	tcl-expect/distinfo
	tcl-expect/patches/patch-Makefile.in
	tcl-expect/patches/patch-configure
	tcl-expect/patches/patch-retoglob.c
	tcl-expect/patches/patch-tclconfig_tcl.m4

Log Message:
Created wip/tcl-expect using expect5.45.4.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2130ccf543a383843b5a65aaca8e83c00825b91b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 tcl-expect/DESCR                          |   5 ++
 tcl-expect/Makefile                       |  33 +++++++++
 tcl-expect/Makefile.common                |  31 ++++++++
 tcl-expect/PLIST                          |  45 ++++++++++++
 tcl-expect/buildlink3.mk                  |  16 +++++
 tcl-expect/distinfo                       |   9 +++
 tcl-expect/patches/patch-Makefile.in      |  78 ++++++++++++++++++++
 tcl-expect/patches/patch-configure        | 116 ++++++++++++++++++++++++++++++
 tcl-expect/patches/patch-retoglob.c       |  45 ++++++++++++
 tcl-expect/patches/patch-tclconfig_tcl.m4 |  68 ++++++++++++++++++
 10 files changed, 446 insertions(+)

diffs:
diff --git a/tcl-expect/DESCR b/tcl-expect/DESCR
new file mode 100644
index 0000000000..ed772c3264
--- /dev/null
+++ b/tcl-expect/DESCR
@@ -0,0 +1,5 @@
+Expect is a program that performs programmed dialogue with other
+interactive programs.  It is briefly described by its man page, expect(1).
+
+It uses pseudo-tty's to control the child processes, so it is not affected
+by programs that refuse to read from stdin or pipes. (eg: passwd(1) etc).
diff --git a/tcl-expect/Makefile b/tcl-expect/Makefile
new file mode 100644
index 0000000000..b2f06832ac
--- /dev/null
+++ b/tcl-expect/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.34 2018/09/07 08:51:39 jperkin Exp $
+
+.include "Makefile.common"
+
+PKGNAME=	tcl-expect-${EXPECT_VERSION}
+PKGREVISION=	0
+CATEGORIES=	lang
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+COMMENT=	Extensions to Tcl to support scripting of interactive programs
+LICENSE=	public-domain
+
+USE_GCC_RUNTIME=	yes
+
+CONFIGURE_ARGS+=	--enable-shared
+CONFIGURE_ARGS+=	--with-tclconfig=${BUILDLINK_PREFIX.tcl}/lib
+CONFIGURE_ARGS+=	--without-x
+
+INSTALL_MAKE_FLAGS+=	INSTALL_ROOT=${DESTDIR:Q}
+
+.include "../../mk/bsd.prefs.mk"
+
+# XXX: libexpect should have .dylib suffix
+.if ${OPSYS} == "Darwin"
+post-build:
+	install_name_tool -id ${PREFIX}/lib/libexpect${EXPECT_SONUM}.so \
+		${WRKSRC}/libexpect${EXPECT_SONUM}.so
+	install_name_tool -change libexpect${EXPECT_SONUM}.so \
+		${PREFIX}/lib/libexpect${EXPECT_SONUM}.so ${WRKSRC}/expect
+.endif
+
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/tcl-expect/Makefile.common b/tcl-expect/Makefile.common
new file mode 100644
index 0000000000..8a5ad46859
--- /dev/null
+++ b/tcl-expect/Makefile.common
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile.common,v 1.12 2020/03/20 11:57:56 nia Exp $
+
+DISTNAME=	expect${EXPECT_FNAME}
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=expect/}
+HOMEPAGE=	http://expect.sourceforge.net/
+
+EXPECT_FNAME=	5.45.4
+EXPECT_VERSION=	5.45.4
+EXPECT_SONUM=	5454
+
+GNU_CONFIGURE=		yes
+TEST_TARGET=		test
+
+PLIST_SUBST+=		SONUM=${EXPECT_SONUM}
+PLIST_SUBST+=		BASEVER=${EXPECT_FNAME}
+
+.include "../../mk/bsd.prefs.mk"
+
+# NetBSD 5.99 strip complains it doesn't recognized the format of
+# the utility scripts and didn't install any of them as a result.
+# Just in case there are other platforms like this, don't install
+# stripped binaries on any platform.
+INSTALL_UNSTRIPPED=	yes
+
+# on IRIX 5.3 inttypes.h and sys/types.h are known to conflict
+.if ${OPSYS} == "IRIX" && ${OS_VERSION} == 5.3
+CONFIGURE_ENV+=		ac_cv_header_inttypes_h="no"
+.endif
+
+DISTINFO_FILE=	${.CURDIR}/../../lang/tcl-expect/distinfo
+PATCHDIR=	${.CURDIR}/../../lang/tcl-expect/patches
diff --git a/tcl-expect/PLIST b/tcl-expect/PLIST
new file mode 100644
index 0000000000..f484bbc6be
--- /dev/null
+++ b/tcl-expect/PLIST
@@ -0,0 +1,45 @@
+@comment $NetBSD: PLIST,v 1.14 2013/06/10 21:49:21 markd Exp $
+bin/autoexpect
+bin/autopasswd
+bin/cryptdir
+bin/decryptdir
+bin/dislocate
+bin/expect
+bin/ftp-rfc
+bin/kibitz
+bin/lpunlock
+bin/mkpasswd
+bin/multixterm
+bin/passmass
+bin/rftp
+bin/rlogin-cwd
+bin/timed-read
+bin/timed-run
+bin/tknewsbiff
+bin/tkpasswd
+bin/unbuffer
+bin/weather
+bin/xkibitz
+bin/xpstat
+include/expect.h
+include/expect_comm.h
+include/expect_tcl.h
+include/tcldbg.h
+lib/libexpect${SONUM}.a
+lib/libexpect${SONUM}.so
+lib/libexpect5454.so.@SHLIB_VERSION@
+lib/tcl/expect${BASEVER}/libexpect${SONUM}.so
+lib/tcl/expect${BASEVER}/pkgIndex.tcl
+man/man1/autoexpect.1
+man/man1/cryptdir.1
+man/man1/decryptdir.1
+man/man1/dislocate.1
+man/man1/expect.1
+man/man1/kibitz.1
+man/man1/mkpasswd.1
+man/man1/multixterm.1
+man/man1/passmass.1
+man/man1/tknewsbiff.1
+man/man1/unbuffer.1
+man/man1/xkibitz.1
+man/man3/libexpect.3
diff --git a/tcl-expect/buildlink3.mk b/tcl-expect/buildlink3.mk
new file mode 100644
index 0000000000..d3ab3af60f
--- /dev/null
+++ b/tcl-expect/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.9 2014/01/11 14:42:00 adam Exp $
+
+BUILDLINK_TREE+=	tcl-expect
+
+.if !defined(TCL_EXPECT_BUILDLINK3_MK)
+TCL_EXPECT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.tcl-expect+=	tcl-expect>=5.38.0nb1
+BUILDLINK_ABI_DEPENDS.tcl-expect+=	tcl-expect>=5.45.0nb3
+BUILDLINK_ABI_DEPENDS.tcl-expect+=	tcl-expect>=5.45.4nb3
+BUILDLINK_PKGSRCDIR.tcl-expect?=	../../lang/tcl-expect
+
+.include "../../lang/tcl/buildlink3.mk"
+.endif # TCL_EXPECT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-tcl-expect
diff --git a/tcl-expect/distinfo b/tcl-expect/distinfo
new file mode 100644
index 0000000000..2a7c327102
--- /dev/null
+++ b/tcl-expect/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.22 2021/10/26 10:51:57 nia Exp $
+
+BLAKE2s (expect5.45.4.tar.gz) = 41310882c3658679f60911aca1a3cf9c353784f164410abf919ce7adefdc73e0
+SHA512 (expect5.45.4.tar.gz) = a8dc25e8175f67e029e15cbcfca1705165c1c4cb2dd37eaaaebffb61e3ba132d9519cd73ca5add4c3358a2b0b7a91e878279e8d0b72143ff2c287fce07e4659a
+Size (expect5.45.4.tar.gz) = 632363 bytes
+SHA1 (patch-Makefile.in) = 24efcbdb0a21985cb8a0fb7812c5f45f67de7c30
+SHA1 (patch-configure) = 728a648a818d9957ddffb5b30d4cb04f00a8f6ec
+SHA1 (patch-retoglob.c) = b270b27fcc70cf93c9a7cc9ea5613cb0d3f4f4e1
+SHA1 (patch-tclconfig_tcl.m4) = 013bc82da8a5d6630638e3b9863b19e0ebd75bdb
diff --git a/tcl-expect/patches/patch-Makefile.in b/tcl-expect/patches/patch-Makefile.in
new file mode 100644
index 0000000000..8ca14c67fb
--- /dev/null
+++ b/tcl-expect/patches/patch-Makefile.in
@@ -0,0 +1,78 @@
+$NetBSD: patch-Makefile.in,v 1.4 2018/08/27 07:12:08 wiz Exp $
+
+New Makefile.in patch, no libtool
+
+--- Makefile.in.orig	2010-09-30 17:14:07.000000000 +0000
++++ Makefile.in
+@@ -99,7 +99,9 @@ PKG_HEADERS	= @PKG_HEADERS@
+ # configuration options) composed of the named objects.
+ #========================================================================
+ 
++SHLIB_VERSION	= .@SHLIB_VERSION@
+ PKG_LIB_FILE	= @PKG_LIB_FILE@
++PKG_LIB_A_FILE  = ${PKG_LIB_FILE:.so=.a}
+ PKG_STUB_LIB_FILE = @PKG_STUB_LIB_FILE@
+ 
+ lib_BINARIES	= $(PKG_LIB_FILE)
+@@ -121,9 +123,9 @@ includedir	= @includedir@
+ DESTDIR		=
+ 
+ PKG_DIR		= $(PACKAGE_NAME)$(PACKAGE_VERSION)
+-pkgdatadir	= $(datadir)/$(PKG_DIR)
+-pkglibdir	= $(libdir)/$(PKG_DIR)
+-pkgincludedir	= $(includedir)/$(PKG_DIR)
++pkgdatadir	= $(datadir)
++pkglibdir	= $(libdir)
++pkgincludedir	= $(includedir)
+ 
+ top_builddir	= .
+ 
+@@ -149,7 +151,7 @@ RANLIB		= @RANLIB@
+ RANLIB_STUB	= @RANLIB_STUB@
+ SHLIB_CFLAGS	= @SHLIB_CFLAGS@
+ SHLIB_LD	= @SHLIB_LD@
+-SHLIB_LD_LIBS	= @SHLIB_LD_LIBS@
++SHLIB_LD_LIBS	= @SHLIB_LD_LIBS@ ${LDFLAGS}
+ STLIB_LD	= @STLIB_LD@
+ TCL_DEFS	= @TCL_DEFS@
+ TCL_BIN_DIR	= @TCL_BIN_DIR@
+@@ -214,10 +216,15 @@ all: binaries libraries doc
+ # of the Makefile, in the "BINARIES" variable.
+ #========================================================================
+ 
+-binaries: $(BINARIES) pkgIndex.tcl-hand
++binaries: $(BINARIES) pkgIndex.tcl-hand ${PKG_LIB_A_FILE}
+ 
+ libraries:
+ 
++${PKG_LIB_A_FILE}: $(PKG_OBJECTS)
++	rm -rf $@
++	ar cr $@ $(PKG_OBJECTS)
++	$(RANLIB) $@
++
+ doc:
+ 
+ install: all install-binaries install-libraries install-doc
+@@ -547,6 +554,9 @@ install-lib-binaries:
+ 	    fi; \
+ 	  fi; \
+ 	done
++	mv $(DESTDIR)$(pkglibdir)/$(PKG_LIB_FILE) $(DESTDIR)$(pkglibdir)/$(PKG_LIB_FILE)$(SHLIB_VERSION)
++	cd $(DESTDIR)$(pkglibdir) && ln -fs $(PKG_LIB_FILE)$(SHLIB_VERSION) $(PKG_LIB_FILE)
++	$(INSTALL_DATA) $(PKG_LIB_A_FILE) $(DESTDIR)$(pkglibdir)/$(PKG_LIB_A_FILE)
+ 	@list='$(PKG_TCL_SOURCES)'; for p in $$list; do \
+ 	  if test -f $(srcdir)/$$p; then \
+ 	    destp=`basename $$p`; \
+@@ -554,9 +564,11 @@ install-lib-binaries:
+ 	    $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkglibdir)/$$destp; \
+ 	  fi; \
+ 	done
++	mkdir -p $(DESTDIR)$(pkglibdir)/tcl/expect$(PACKAGE_VERSION)
++	ln -fs ../../$(PKG_LIB_FILE) $(DESTDIR)$(pkglibdir)/tcl/expect$(PACKAGE_VERSION)/
+ 	@if test "x$(SHARED_BUILD)" = "x1"; then \
+ 	    echo " Install pkgIndex.tcl $(DESTDIR)$(pkglibdir)"; \
+-	    $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir); \
++	    $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)/tcl/expect$(PACKAGE_VERSION); \
+ 	fi
+ 
+ #========================================================================
diff --git a/tcl-expect/patches/patch-configure b/tcl-expect/patches/patch-configure
new file mode 100644
index 0000000000..d0285c6042
--- /dev/null
+++ b/tcl-expect/patches/patch-configure
@@ -0,0 +1,116 @@
+--- configure.orig	2022-04-30 10:09:40.227456128 +0000
++++ configure	2022-04-30 10:09:45.000000000 +0000
+@@ -6945,19 +6945,54 @@
+ 
+ 		SHLIB_CFLAGS="-fPIC -melf"
+ 		LDFLAGS="$LDFLAGS -melf -Wl,-Bexport"
++	        SHLIB_LD="gcc"
+ 
+ else
+ 
+ 	       SHLIB_CFLAGS="-Kpic -belf"
+ 	       LDFLAGS="$LDFLAGS -belf -Wl,-Bexport"
++	       SHLIB_LD="ld -G"
+ 
+ fi
+-	    SHLIB_LD="ld -G"
+ 	    SHLIB_LD_LIBS=""
+ 	    SHLIB_SUFFIX=".so"
+ 	    CC_SEARCH_FLAGS=""
+ 	    LD_SEARCH_FLAGS=""
+ 	    ;;
++	UnixWare-5*|SCO_SV-5*)
++           # -Kthread will define _REENTRANT
++           if test "$GCC" = yes; then :
++
++               SHLIB_CFLAGS="-fPIC"
++               SHLIB_LD='${CC} ${CFLAGS} -shared'
++
++	else
++
++               SHLIB_CFLAGS="-KPIC"
++               SHLIB_LD="${CC} ${CFLAGS} -G -z text"
++
++	fi
++           SHLIB_LD_LIBS="-lsocket -lnsl -lz"
++           SHLIB_SUFFIX=".so"
++           CC_SEARCH_FLAGS=""
++           LD_SEARCH_FLAGS=""
++           if test "${TCL_THREADS}" = "1"; then :
++ 
++                # The -lpthread needs to go in the CFLAGS, not LIBS
++                LIBS=`echo $LIBS | sed s/-lpthread//`
++           if test "$GCC" = yes; then :
++
++                CFLAGS="$CFLAGS -pthread"
++                LDFLAGS="$LDFLAGS -pthread"
++
++	   else
++                CFLAGS="$CFLAGS -Kpthread"
++                LDFLAGS="$LDFLAGS -Kpthread"
++
++	  fi
++  
++  fi
++             ;;
+ 	SunOS-5.[0-6])
+ 	    # Careful to not let 5.10+ fall into this case
+ 
+@@ -7150,7 +7185,7 @@
+ 	    BSD/OS*) ;;
+ 	    CYGWIN_*) ;;
+ 	    IRIX*) ;;
+-	    NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
++	    NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*|MirBSD-*) ;;
+ 	    Darwin-*) ;;
+ 	    SCO_SV-3.2*) ;;
+ 	    windows) ;;
+@@ -9597,14 +9632,7 @@
+ 
+ PACKAGE_VERSION_NODOTS="`echo $PACKAGE_VERSION | sed -e 's/\.//g'`"
+ 
+-if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
+-    EXP_LIB_VERSION=$PACKAGE_VERSION
+-else
+-    EXP_LIB_VERSION=$PACKAGE_VERSION_NODOTS
+-fi
+-if test $iunix -eq 1 ; then
+     EXP_LIB_VERSION=$PACKAGE_VERSION_NODOTS
+-fi
+ 
+ # also remove dots on systems that don't support filenames > 14
+ # (are there systems which support shared libs and restrict filename lengths!?)
+@@ -9659,11 +9687,7 @@
+     $as_echo "#define EXP_FRAMEWORK 1" >>confdefs.h
+ 
+ else
+-    if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
+-        EXP_LIB_FLAG="-lexpect${EXP_LIB_VERSION}"
+-    else
+-        EXP_LIB_FLAG="-lexpect`echo ${EXP_LIB_VERSION} | tr -d .`"
+-    fi
++    EXP_LIB_FLAG="-lexpect`echo ${EXP_LIB_VERSION} | tr -d .`"
+     EXP_BUILD_LIB_SPEC="-L`pwd` ${EXP_LIB_FLAG}"
+     EXP_LIB_SPEC="-L${libdir} ${EXP_LIB_FLAG}"
+ fi
+@@ -9965,6 +9989,9 @@
+     # substituted. (@@@ Might not be necessary anymore)
+     #--------------------------------------------------------------------
+ 
++    PVNODOTS=`echo ${PACKAGE_VERSION} | tr -d .`
++    SHARED_LIB_SUFFIX=${PVNODOTS}.so
++    UNSHARED_LIB_SUFFIX=${PVNODOTS}.a
+     if test "${TEA_PLATFORM}" = "windows" ; then
+ 	if test "${SHARED_BUILD}" = "1" ; then
+ 	    # We force the unresolved linking of symbols that are really in
+@@ -10711,6 +10738,10 @@
+   case $ac_option in
+   # Handling of the options.
+   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++	: Avoid regenerating within pkgsrc
++	exit 0
++	: Avoid regenerating within pkgsrc
++	exit 0
+     ac_cs_recheck=: ;;
+   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+     $as_echo "$ac_cs_version"; exit ;;
diff --git a/tcl-expect/patches/patch-retoglob.c b/tcl-expect/patches/patch-retoglob.c
new file mode 100644
index 0000000000..486a4225af
--- /dev/null
+++ b/tcl-expect/patches/patch-retoglob.c
@@ -0,0 +1,45 @@
+--- retoglob.c.orig	2018-02-02 19:15:52.000000000 +0000
++++ retoglob.c	2019-08-26 05:28:32.206672005 +0000
+@@ -10,8 +10,8 @@
+ static void
+ ExpChopNested _ANSI_ARGS_ ((Tcl_UniChar** xstr,
+ 			    int*          xstrlen,
+-			    Tcl_UniChar   open,
+-			    Tcl_UniChar   close));
++			    Tcl_UniChar   openp,
++			    Tcl_UniChar   closep));
+ 
+ static Tcl_UniChar*
+ ExpLiteral _ANSI_ARGS_ ((Tcl_UniChar* nexto,
+@@ -513,14 +513,14 @@ static void
+ #ifdef _AIX
+ ExpChopNested (Tcl_UniChar** xstr,
+ 	       int*          xstrlen,
+-	       Tcl_UniChar   open,
+-	       Tcl_UniChar   close)
++	       Tcl_UniChar   openp,
++	       Tcl_UniChar   closep)
+ #else
+-ExpChopNested (xstr,xstrlen, open, close)
++ExpChopNested (xstr,xstrlen, openp, closep)
+      Tcl_UniChar** xstr;
+      int*          xstrlen;
+-     Tcl_UniChar   open;
+-     Tcl_UniChar   close;
++     Tcl_UniChar   openp;
++     Tcl_UniChar   closep;
+ #endif
+ {
+   Tcl_UniChar* str    = *xstr;
+@@ -528,9 +528,9 @@ ExpChopNested (xstr,xstrlen, open, close
+   int          level = 0;
+ 
+   while (strlen) {
+-    if (MATCHC (open)) {
++    if (MATCHC (openp)) {
+       level ++;
+-    } else if (MATCHC (close)) {
++    } else if (MATCHC (closep)) {
+       level --;
+       if (level < 0) {
+ 	CHOP (1);
diff --git a/tcl-expect/patches/patch-tclconfig_tcl.m4 b/tcl-expect/patches/patch-tclconfig_tcl.m4
new file mode 100644
index 0000000000..fb70592702
--- /dev/null
+++ b/tcl-expect/patches/patch-tclconfig_tcl.m4
@@ -0,0 +1,68 @@
+--- tclconfig/tcl.m4.orig	2018-02-04 06:55:43.000000000 +0000
++++ tclconfig/tcl.m4	2022-04-30 09:18:53.837696001 +0000
+@@ -1817,16 +1817,42 @@
+ 	    AS_IF([test "$GCC" = yes], [
+ 		SHLIB_CFLAGS="-fPIC -melf"
+ 		LDFLAGS="$LDFLAGS -melf -Wl,-Bexport"
++	        SHLIB_LD="gcc"
+ 	    ], [
+ 	       SHLIB_CFLAGS="-Kpic -belf"
+ 	       LDFLAGS="$LDFLAGS -belf -Wl,-Bexport"
+-	    ])
+ 	    SHLIB_LD="ld -G"
++	    ])
+ 	    SHLIB_LD_LIBS=""
+ 	    SHLIB_SUFFIX=".so"
+ 	    CC_SEARCH_FLAGS=""
+ 	    LD_SEARCH_FLAGS=""
+ 	    ;;
++       UnixWare-5*|SCO_SV-5*)
++            # -Kthread will define _REENTRANT
++            AS_IF([test "$GCC" = yes], [
++                SHLIB_CFLAGS="-fPIC"
++                SHLIB_LD='${CC} ${CFLAGS} -shared'
++            ], [
++                SHLIB_CFLAGS="-KPIC"
++                SHLIB_LD="${CC} ${CFLAGS} -G -z text"
++            ])
++            SHLIB_LD_LIBS="-lsocket -lnsl"
++            SHLIB_SUFFIX=".so"
++            CC_SEARCH_FLAGS=""
++            LD_SEARCH_FLAGS=""
++            AS_IF([test "${TCL_THREADS}" = "1"], [
++                LIBS=`echo $LIBS | sed s/-lpthread//`
++            AS_IF([test "$GCC" = yes], [
++                # The -lpthread needs to go in the CFLAGS, not LIBS
++                CFLAGS="$CFLAGS -pthread"
++                LDFLAGS="$LDFLAGS -pthread"
++              ], [
++                  CFLAGS="$CFLAGS -Kpthread"
++                  LDFLAGS="$LDFLAGS -Kpthread"
++              ])
++           ])
++           ;;
+ 	SunOS-5.[[0-6]])
+ 	    # Careful to not let 5.10+ fall into this case
+ 
+@@ -1968,9 +1994,10 @@
+ 	    BSD/OS*) ;;
+ 	    CYGWIN_*) ;;
+ 	    IRIX*) ;;
+-	    NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
++	    NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*|MirBSD-*) ;;
+ 	    Darwin-*) ;;
+ 	    SCO_SV-3.2*) ;;
++	    UnixWare-5*|SCO_SV-3.5*) ;;
+ 	    windows) ;;
+ 	    *) SHLIB_CFLAGS="-fPIC" ;;
+ 	esac])
+@@ -3212,6 +3239,9 @@
+     # substituted. (@@@ Might not be necessary anymore)
+     #--------------------------------------------------------------------
+ 
++    PVNODOTS=`echo ${PACKAGE_VERSION} | tr -d .`
++    SHARED_LIB_SUFFIX=${PVNODOTS}.so
++    UNSHARED_LIB_SUFFIX=${PVNODOTS}.a
+     if test "${TEA_PLATFORM}" = "windows" ; then
+ 	if test "${SHARED_BUILD}" = "1" ; then
+ 	    # We force the unresolved linking of symbols that are really in


Home | Main Index | Thread Index | Old Index