head	1.6;
access;
symbols
	RELEASE_6_1_0:1.5
	RELEASE_5_5_0:1.5
	RELEASE_6_0_0:1.5
	RELEASE_5_4_0:1.5
	RELEASE_4_11_0:1.5
	RELEASE_5_3_0:1.5
	RELEASE_4_10_0:1.5
	RELEASE_5_2_1:1.5
	RELEASE_5_2_0:1.5
	RELEASE_4_9_0:1.5
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.4
	old_RELEASE_5_0_0:1.4
	old_RELEASE_4_7_0:1.4
	old_RELEASE_4_6_2:1.4
	old_RELEASE_4_6_1:1.4
	old_RELEASE_4_6_0:1.4
	old_RELEASE_5_0_DP1:1.4
	old_RELEASE_4_5_0:1.4
	old_RELEASE_4_4_0:1.3
	old_RELEASE_4_3_0:1.3
	old_RELEASE_4_2_0:1.2
	old_RELEASE_4_1_1:1.2
	old_RELEASE_4_1_0:1.2
	old_RELEASE_3_5_0:1.1
	old_RELEASE_4_0_0:1.1
	old_RELEASE_3_4_0:1.1
	old_RELEASE_3_3_0:1.1;
locks; strict;
comment	@# @;


1.6
date	2006.06.27.23.23.19;	author mi;	state dead;
branches;
next	1.5;

1.5
date	2003.06.02.20.08.36;	author mi;	state Exp;
branches;
next	1.4;

1.4
date	2001.10.24.03.18.59;	author mi;	state Exp;
branches;
next	1.3;

1.3
date	2001.03.16.20.11.53;	author mi;	state Exp;
branches;
next	1.2;

1.2
date	2000.07.13.20.54.36;	author ade;	state Exp;
branches;
next	1.1;

1.1
date	99.09.02.21.59.32;	author jseger;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Upgrade tclX from 8.3.5 to 8.4 released last November after several
years of idleness. The changes are fairly substantial -- all Tk bits,
however insignificant they were, are now removed completely, for
example. No TclX enabled executable is built/installed either -- a Tcl
script is expected to load the Tclx package via the "package require
Tclx" only.

The changes to port add the handling of SIGINFO (made possible by the
recent fix-up of lang/tcl84), running the authors' test-target as part
of the build, and skipping building/installing of help files in the
NOPORTDOCS case.

The devel/tcl-neo is the only dependant port of tclX and is updated to
depend on the new version.
@
text
@--- configure	Sun Feb  6 18:54:02 2000
+++ configure	Thu Jul 13 14:29:54 2000
@@@@ -820,3 +820,5 @@@@
 
+if [ `uname -m` != sparc64 ]; then
 TCL_SHLIB_CFLAGS=`echo "$TCL_SHLIB_CFLAGS" |sed -e "s|-fPIC|-fpic|" -e "s|-PIC|-pic|" -e "s|-K PIC|-K pic|" -e "s|-KPIC|-Kpic|" -e "s|+Z|+z|"`
+fi
 
@@@@ -2088,8 +2088,11 @@@@
 	    ;;
 	FreeBSD-*)
 	    # FreeBSD 3.* and greater have ELF.
+	    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+	    TCL_LIB_VERSIONS_OK=nodots
-	    SHLIB_CFLAGS="-fPIC"
+	    SHLIB_CFLAGS="-fPIC -DPIC"
	    SHLIB_LD="ld -Bshareable -x"
 	    SHLIB_LD_LIBS=""
 	    SHLIB_SUFFIX=".so"
 	    DL_OBJS="tclLoadDl.o"
@@@@ -2496,15 +2499,13 @@@@
 
 DBGX=${TCLX_DBGX}
 VERSION=$TCLX_VERSION
-eval "TCLX_STLIB_NAME=libtclx${UNSHARED_LIB_SUFFIX}"
-eval "TCLX_SHLIB_NAME=libtclx${SHARED_LIB_SUFFIX}"
-eval "TCLX_SHLIB_NAME=${TCLX_SHLIB_NAME}"
+TCLX_STLIB_NAME=libtclx83.a
+TCLX_SHLIB_NAME=libtclx83.so.1
 
 DBGX=${TKX_DBGX}
 VERSION=$TKX_VERSION
-eval "TKX_STLIB_NAME=libtkx${UNSHARED_LIB_SUFFIX}"
-eval "TKX_SHLIB_NAME=libtkx${SHARED_LIB_SUFFIX}"
-eval "TKX_SHLIB_NAME=${TKX_SHLIB_NAME}"
+TKX_STLIB_NAME=libtkx83.a
+TKX_SHLIB_NAME=libtkx83.so.1
 
 #
 # Determine suffix to use for the object files for the shared library.
@@@@ -4793,2 +4794,8 @@@@
 EOF
+
+if /usr/bin/ldd ${prefix}/bin/tclsh$TCL_VERSION | fgrep -qv libtcl; then
+	TCL_EXTRA_CFLAGS=$TCL_EXTRA_CFLAGS\ -DUSE_TCL_STUBS
+	NEED_TCL_STUB=$TCL_STUB_LIB_SPEC
+fi
+
 cat >> $CONFIG_STATUS <<EOF
@@@@ -4831,6 +4832,8 @@@@
 s%@@TCLX_FULL_VERSION@@%$TCLX_FULL_VERSION%g
 s%@@TKX_VERSION@@%$TKX_VERSION%g
 s%@@TKX_FULL_VERSION@@%$TKX_FULL_VERSION%g
+s%@@TCL_PREFIX@@%$TCL_PREFIX%g
+s%@@NEED_TCL_STUB@@%$NEED_TCL_STUB%g
 s%@@TCL_BIN_DIR@@%$TCL_BIN_DIR%g
 s%@@TCL_SRC_DIR@@%$TCL_SRC_DIR%g
 s%@@TCL_LIB_FILE@@%$TCL_LIB_FILE%g
@@@@ -4851,6 +4853,7 @@@@
 s%@@TCL_STUB_LIB_SPEC@@%$TCL_STUB_LIB_SPEC%g
 s%@@TCL_LIB_DIR@@%$TCL_LIB_DIR%g
 s%@@TCL_LIBRARY_DIR@@%$TCL_LIBRARY_DIR%g
+s%@@TK_PREFIX@@%$TK_PREFIX%g
 s%@@TK_BIN_DIR@@%$TK_BIN_DIR%g
 s%@@TK_SRC_DIR@@%$TK_SRC_DIR%g
 s%@@TK_LIB_FILE@@%$TK_LIB_FILE%g
@


1.5
log
@Be sure -fPIC is used on Sparc64.
@
text
@@


1.4
log
@TclX seems abandoned by its original authors, but the maintainers
of TclPro made TclX-8.3 available last year. There is not a whole
lot of changes, and most of them deal with the Windows parts of the
thing, but here is the upgrade 8.3 anyway. Please, test...

I think, it is time to repocopy tclX82 into tclX and get rid of
tclX75, tclX80, and tclX82...
@
text
@d1 1
a1 1
--- configure.orig	Sun Feb  6 18:54:02 2000
d3 6
@


1.3
log
@I  dreamed it  would happen.  I asked  about. I  finally did  it
myself (for the lack of  children, whom I could've prohibited to
do it). Sorry.

Upgrade this port to:
	. build against TCL-8.3 by default (controllable by TCL_VER)
	. build with or without TK (controllable by NO_X)
	. take over maintainership -- regretfully, Justin was
	  rather idle recently
	. build the helpfiles once -- during the build stage --
	  not during the install stage

On a side  note, I more and  more resent the fact,  that our TCL
8.3 is built with the  -stubs. It just introduces more variables
without  noticeable benefit.  On FreeBSD  shared libraries  work
well...

I  tested this  with TCL-8.3  (with  and without  TK), and  with
TCL-8.2 (without TK only). Please, test this more.
@
text
@d3 1
a3 1
@@@@ -2009,8 +2009,11 @@@@
d10 1
a10 1
-	    SHLIB_CFLAGS="-fpic"
d23 2
a24 2
+TCLX_STLIB_NAME=libtclx82.a
+TCLX_SHLIB_NAME=libtclx82.so.1
d31 2
a32 2
+TKX_STLIB_NAME=libtkx82.a
+TKX_SHLIB_NAME=libtkx82.so.1
@


1.2
log
@Import of tclX82 after repo-copy from tclX80, one more step on
the road to obliterating tcl/tk 8.0 from the tree.

Note 1: the patches have been extensively re-worked from the
        original submission, to make this port PREFIX-safe,
        and also to deal with multiple patchfiles updating the
        same source file.

Note 2: I've left the MAINTAINER as jseger.  Justin, you may
        want to cast your TCL-expert eye over this one, it seems
        to do the right thing.

PR:		16970
Submitted by:	Mikhail Teterin <mi@@aldan.algebra.com>
@
text
@d36 10
a45 1
@@@@ -4831,6 +4832,7 @@@@
d50 1
@


1.1
log
@Unbreak and upgrade tclX80 to 8.0.4

PR:		ports/13544
Submitted by:	Ade Lovett <ade@@lovett.com>
@
text
@d1 16
a16 9
--- configure.orig	Sun Dec  6 21:47:31 1998
+++ configure	Fri Aug 27 10:11:48 1999
@@@@ -1097,21 +1097,19 @@@@
 #
 # Generate the library names using the Tcl macros.
 #
-SHLIB_SUFFIX=${TCL_SHLIB_SUFFIX}
+TCL_STLIB_NAME=libtcl80.a
+TK_STLIB_NAME=libtk80.a
d18 7
a24 4
-VERSION=$TCL_VERSION
-eval "TCL_STLIB_NAME=libtcl${TCL_UNSHARED_LIB_SUFFIX}"
+TCLX_STLIB_NAME=libtclx804.a
+TKX_STLIB_NAME=libtkx804.a
d26 7
a32 17
-VERSION=$TK_VERSION
-eval "TK_STLIB_NAME=libtk${TCL_UNSHARED_LIB_SUFFIX}"
-
-VERSION=$TCLX_VERSION$TCL_DBGX
-eval "TCLX_STLIB_NAME=libtclx${TCL_UNSHARED_LIB_SUFFIX}"
-eval "TCLX_SHLIB_NAME=libtclx${TCL_SHARED_LIB_SUFFIX}"
-
-VERSION=$TKX_VERSION$TCL_DBGX
-eval "TKX_STLIB_NAME=libtkx${TCL_UNSHARED_LIB_SUFFIX}"
-eval "TKX_SHLIB_NAME=libtkx${TCL_SHARED_LIB_SUFFIX}"
+if [ "$PORTOBJFORMAT" = "elf" ]; then
+    TCLX_SHLIB_NAME=libtclx804.so.1
+    TKX_SHLIB_NAME=libtkx804.so.1
+else
+    TCLX_SHLIB_NAME=libtclx804.so.1.4
+    TKX_SHLIB_NAME=libtkx804.so.1.4
+fi
d36 16
@

