head	1.9;
access;
symbols
	RELEASE_5_1_0:1.8
	RELEASE_4_8_0:1.8
	RELEASE_5_0_0:1.8
	RELEASE_4_7_0:1.8
	RELEASE_4_6_2:1.8
	RELEASE_4_6_1:1.8
	RELEASE_4_6_0:1.8
	RELEASE_5_0_DP1:1.8
	RELEASE_4_5_0:1.8
	RELEASE_4_4_0:1.7
	RELEASE_4_3_0:1.6
	RELEASE_4_2_0:1.5
	RELEASE_4_1_1:1.5
	RELEASE_4_1_0:1.5
	RELEASE_3_5_0:1.4
	RELEASE_4_0_0:1.4
	RELEASE_3_4_0:1.4
	RELEASE_3_3_0:1.4
	RELEASE_3_2_0:1.3
	RELEASE_3_1_0:1.3
	RELEASE_2_2_8:1.3
	RELEASE_3_0_0:1.3
	RELEASE_2_2_7:1.2
	RELEASE_2_2_6:1.1
	RELEASE_2_2_5:1.1;
locks; strict;
comment	@# @;


1.9
date	2003.06.02.20.19.28;	author mi;	state dead;
branches;
next	1.8;

1.8
date	2001.10.24.03.18.59;	author mi;	state Exp;
branches;
next	1.7;

1.7
date	2001.08.19.15.03.59;	author mi;	state Exp;
branches;
next	1.6;

1.6
date	2001.03.16.20.11.53;	author mi;	state Exp;
branches;
next	1.5;

1.5
date	2000.07.13.20.54.36;	author ade;	state Exp;
branches;
next	1.4;

1.4
date	99.09.02.21.59.31;	author jseger;	state Exp;
branches;
next	1.3;

1.3
date	98.10.11.19.51.43;	author smace;	state Exp;
branches;
next	1.2;

1.2
date	98.05.21.01.36.25;	author jseger;	state Exp;
branches;
next	1.1;

1.1
date	97.10.09.08.19.15;	author tg;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Finaly delete lang/tclX82 (installing TclX-8.3) and point devel/tcl-neo
to use lang/tclX (currently installing TclX-8.3.5).
@
text
@--- ../tcl/unix/Makefile.in.orig	Sun Feb  6 18:53:59 2000
+++ ../tcl/unix/Makefile.in	Thu Jul 13 15:35:23 2000
@@@@ -131,7 +131,7 @@@@
 #
 all: binaries libraries doc
 
-binaries: tcl checkup RUNTIME tclXtest
+binaries: tcl checkup RUNTIME
 
 libraries: tcl.tndx tcl.tlib tclx.tcl buildidx.tcl
 
@@@@ -162,7 +162,8 @@@@
 	PATH=${TCL_UNIX_DIR}:${PATH}; export PATH; \
 	TCL_LIBRARY=${TCL_UNIX_DIR}/../library; export TCL_LIBRARY; \
 	LD_LIBRARY_PATH=${TCL_UNIX_DIR}:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; \
-	${TCL_SHLIB_LD} -o ${TCLX_SHLIB_NAME} ${SOBJS} ${TCL_SHLIB_LD_LIBS}
+	${TCL_SHLIB_LD} -o ${TCLX_SHLIB_NAME} ${SOBJS} @@NEED_TCL_STUB@@ -lm
+	ln -sf ${TCLX_SHLIB_NAME} `echo ${TCLX_SHLIB_NAME} | sed 's/\.so.*$$/.so/'`
 
 hello:	hello.c
 	${CC} ${LD_SWITCHES} -o $@@ hello.c ${STATIC_LIBS}
@@@@ -184,7 +185,7 @@@@
 # unless we don't have them.
 #
 RUNTIME: tcl.tlib tcl.tndx tclx.tcl buildidx.tcl autoload.tcl help.tmp \
-         dltest.tmp checkup
+         checkup
 
 tcl.tlib: ${TLIB_SRCS} autoload.tcl
 	-rm -f tcl.tlib tcl.tndx
@@@@ -306,7 +307,7 @@@@
 buildhelp: tcl tcl.tndx
 	rm -rf ${HELP_DIR} help help.tmp
 	mkdir ${HELP_DIR}
-	${BLDMANHELP} ${TCL_SRC_DIR}/doc ${TCLX_TOOLS_SRC_DIR}/tclmanpages \
+	${BLDMANHELP} ${TCLX_TOOLS_SRC_DIR}/tclmanpages \
 	    ${HELP_DIR} Tcl.brf
 	${RUNTCL} -c "buildhelp ${HELP_DIR} TclX.brf ${TCLX_DOC_DIR}/TclX.n"
 
@@@@ -338,9 +339,11 @@@@
 	    ${INSTCOPY} ${TCLX_STLIB_NAME} ${INSTALL_ROOT}${TCLX_INST_LIB}; \
 	    ${RANLIB} ${INSTALL_ROOT}${TCLX_INST_LIB}/${TCLX_STLIB_NAME}; \
 	fi
-	${INSTCOPY} tclxConfig.sh ${INSTALL_ROOT}${TCLX_INST_LIB}
+	${INSTCOPY} tclxConfig.sh ${INSTALL_ROOT}${TCLX_INST_RUNTIME}
 	if test "@@SHARED_BUILD@@" = "1"; then \
 	    ${INSTCOPY} ${TCLX_SHLIB_NAME} ${INSTALL_ROOT}${TCLX_INST_LIB} ;\
+	    (cd ${INSTALL_ROOT}${TCLX_INST_LIB} && \
+		ln -sf ${TCLX_SHLIB_NAME} `echo ${TCLX_SHLIB_NAME} | sed 's/\.so.*$$/.so/'`) ;\
 	    ${INSTCOPY} pkgIndex.tcl ${INSTALL_ROOT}${TCLX_EXEC_RUNTIME} ;\
 	fi
 
@@@@ -385,2 +388,2 @@@@
 tclXAppInit.o: ${TCLX_UNIX_SRC_DIR}/tclXAppInit.c
-	${CC} -c ${CC_SWITCHES} ${TCLX_UNIX_SRC_DIR}/tclXAppInit.c
+	${CC} -c ${CC_SWITCHES} -UUSE_TCL_STUBS ${TCLX_UNIX_SRC_DIR}/tclXAppInit.c
@


1.8
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
@@


1.7
log
@Make sure the  shared library is explicitly linked  with -lm. On
some occasions, this prevent it from being loaded properly, even
though other libs  already loaded already bring in  -lm. I don't
understand the rtld :(

Only  build the  Tk related  help files,  if WITHOUT_X11  is not
specified. Previously they were built, but not installed. If you
did not have  Tk installed, that build failed for  you -- see PR
29722...

PR:		ports/29722
@
text
@a39 5
@@@@ -322,3 +323,3 @@@@
 
-install-misc: buildhelp
+install-misc:
 	${INSTCOPY} ${TCLX_GENERIC_DIR}/tclExtend.h \
@


1.6
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
@d17 1
a17 1
+	${TCL_SHLIB_LD} -o ${TCLX_SHLIB_NAME} ${SOBJS} @@NEED_TCL_STUB@@
@


1.5
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
@d12 2
a13 1
@@@@ -163,6 +163,7 @@@@
d16 2
a17 1
 	${TCL_SHLIB_LD} -o ${TCLX_SHLIB_NAME} ${SOBJS} ${TCL_SHLIB_LD_LIBS}
d40 5
d58 4
@


1.4
log
@Unbreak and upgrade tclX80 to 8.0.4

PR:		ports/13544
Submitted by:	Ade Lovett <ade@@lovett.com>
@
text
@d1 3
a3 5
--- ../tcl/unix/Makefile.in.orig	Sun Dec  6 21:47:24 1998
+++ ../tcl/unix/Makefile.in	Fri Aug 27 10:34:27 1999
@@@@ -124,7 +124,7 @@@@
 # If a link fails, purge the executable, as some systems leave invalid
 # executables around.
d5 1
a5 2
-all: tcl checkup RUNTIME tclXtest
+all: tcl checkup RUNTIME
d7 2
a8 1
 static:	tcl.static tclXtest.static
d10 3
a12 1
@@@@ -152,6 +152,7 @@@@
d20 1
a20 1
@@@@ -173,7 +174,7 @@@@
d25 1
a25 1
+	 checkup
d29 10
a38 1
@@@@ -318,9 +319,11 @@@@
d44 1
a44 1
 	if test "@@BUILD_SHARED@@" = "YES"; then \
@


1.3
log
@Convert to ELF.
PR:		8017
Approved by:	jseger
@
text
@d1 2
a2 2
--- ../tcl/unix/Makefile.in.orig	Sat Nov 29 17:19:02 1997
+++ ../tcl/unix/Makefile.in	Mon Sep 28 14:13:29 1998
d25 2
a26 2
+         checkup
  
d29 1
a29 1
@@@@ -316,9 +317,11 @@@@
@


1.2
log
@Import of tclX8.0.2

PR:             6540
Submitted by:   dob@@bazzle.com
@
text
@d1 2
a2 2
--- ../tcl/unix/Makefile.in.ORIG	Sun May  3 18:52:36 1998
+++ ../tcl/unix/Makefile.in	Sun May  3 18:53:16 1998
d12 9
a20 1
@@@@ -173,7 +173,7 @@@@
d29 13
@


1.1
log
@Un-break this port. We need it for xtem (PR 3759).
@
text
@d1 3
a3 3
--- ../tcl/unix/Makefile.in.orig	Sun Jun 16 07:39:09 1996
+++ ../tcl/unix/Makefile.in	Thu Oct  9 09:49:19 1997
@@@@ -85,7 +85,7 @@@@
d7 2
a8 2
-all: libtclx.a SHLIB_@@BUILD_SHARED@@ tcl checkup RUNTIME tclXtest runtest
+all: libtclx.a SHLIB_@@BUILD_SHARED@@ tcl checkup RUNTIME
d10 3
a12 3
 tcl: tclXAppInit.o libtclx.a SHLIB_@@BUILD_SHARED@@
 	${CC} ${LD_SWITCHES} tclXAppInit.o ${LDLIBS} -o tcl || \
@@@@ -237,7 +237,7 @@@@
d15 1
a15 1
 RUNTIME: tcl.tlib tcl.tndx tclx.tcl buildidx.tcl loadouster.tcl help.tmp \
d18 2
a19 2
 
 tcl.tlib: ${TLIB_SRCS}
@
