head	1.12;
access;
symbols
	RELEASE_8_3_0:1.12
	RELEASE_9_0_0:1.12
	RELEASE_7_4_0:1.12
	RELEASE_8_2_0:1.12
	RELEASE_6_EOL:1.11
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.11
	RELEASE_7_2_0:1.11
	RELEASE_7_1_0:1.11
	RELEASE_6_4_0:1.11
	RELEASE_5_EOL:1.11
	RELEASE_7_0_0:1.11
	RELEASE_6_3_0:1.11
	PRE_XORG_7:1.10
	RELEASE_4_EOL:1.10
	RELEASE_6_2_0:1.10
	RELEASE_6_1_0:1.9
	RELEASE_5_5_0:1.9
	RELEASE_6_0_0:1.9
	RELEASE_5_4_0:1.9
	RELEASE_4_11_0:1.9
	RELEASE_5_3_0:1.8
	RELEASE_4_10_0:1.8
	RELEASE_5_2_1:1.8
	RELEASE_5_2_0:1.8
	RELEASE_4_9_0:1.8
	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.7
	RELEASE_4_6_1:1.7
	RELEASE_4_6_0:1.7
	RELEASE_5_0_DP1:1.7
	RELEASE_4_5_0:1.5
	old_RELEASE_4_4_0:1.1;
locks; strict;
comment	@# @;


1.12
date	2010.12.09.08.48.49;	author mm;	state Exp;
branches;
next	1.11;

1.11
date	2007.06.05.13.26.58;	author mm;	state Exp;
branches;
next	1.10;

1.10
date	2006.06.04.22.02.13;	author thierry;	state Exp;
branches;
next	1.9;

1.9
date	2004.11.12.01.15.00;	author ade;	state Exp;
branches;
next	1.8;

1.8
date	2002.09.09.12.12.37;	author dinoex;	state Exp;
branches;
next	1.7;

1.7
date	2002.03.07.07.01.40;	author dinoex;	state Exp;
branches;
next	1.6;

1.6
date	2002.01.27.14.24.21;	author dinoex;	state Exp;
branches;
next	1.5;

1.5
date	2001.11.24.04.18.41;	author dinoex;	state Exp;
branches;
next	1.4;

1.4
date	2001.11.10.21.03.59;	author dinoex;	state Exp;
branches;
next	1.3;

1.3
date	2001.11.01.21.29.20;	author dinoex;	state Exp;
branches;
next	1.2;

1.2
date	2001.10.21.03.13.44;	author dinoex;	state Exp;
branches;
next	1.1;

1.1
date	2001.08.14.08.01.45;	author dinoex;	state Exp;
branches;
next	;


desc
@@


1.12
log
@- Unbreak build with clang

PR:		ports/152842
Submitted by:	Koop Mast <kwm@@FreeBSD.org>
@
text
@--- configure.orig	2008-04-17 22:29:49.000000000 +0200
+++ configure	2010-12-09 09:23:49.635333169 +0100
@@@@ -2570,7 +2570,7 @@@@
     LDFLAGS_ORIG="$LDFLAGS"
     TCL_EXPORT_FILE_SUFFIX=""
     UNSHARED_LIB_SUFFIX=""
-    TCL_TRIM_DOTS='`echo ${VERSION} | tr -d .`'
+    TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .`
     ECHO_VERSION='`echo ${VERSION}`'
     TCL_LIB_VERSIONS_OK=ok
     CFLAGS_DEBUG=-g
@@@@ -3434,25 +3434,26 @@@@
 	FreeBSD-*)
 	    # FreeBSD 3.* and greater have ELF.
 	    SHLIB_CFLAGS="-fPIC"
-	    SHLIB_LD="ld -Bshareable -x"
+	    SHLIB_LD="${CC} -shared"
+	    TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\$@@"
 	    SHLIB_LD_LIBS='${LIBS}'
 	    SHLIB_SUFFIX=".so"
 	    DL_OBJS="tclLoadDl.o"
 	    DL_LIBS=""
-	    LDFLAGS="$LDFLAGS -export-dynamic"
+	    LDFLAGS=""
 	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
 	    LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
 	    if test "${TCL_THREADS}" = "1" ; then
-		# The -pthread needs to go in the CFLAGS, not LIBS
+		# The -pthread needs to go in the LDFLAGS, not LIBS
 		LIBS=`echo $LIBS | sed s/-pthread//`
-		CFLAGS="$CFLAGS -pthread"
-	    	LDFLAGS="$LDFLAGS -pthread"
+		CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+	    	LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
 	    fi
 	    case $system in
-	    FreeBSD-3.*)
+	    FreeBSD-*)
 	    	# FreeBSD-3 doesn't handle version numbers with dots.
 	    	UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
-	    	SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+	    	SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1'
 	    	TCL_LIB_VERSIONS_OK=nodots
 		;;
 	    esac
@


1.11
log
@- fix shared build on -CURRENT
- change tr to ${TR}

lang/tcl84 only:
- sync MASTER_SITES with other tcl ports
- change sysctl to ${SYSCTL}

Suggested by:	stas
Approved by:	garga (mentor)
@
text
@d1 3
a3 3
--- configure.orig	Thu Apr 20 16:42:21 2006
+++ configure	Mon May  1 17:31:03 2006
@@@@ -2560,7 +2560,7 @@@@
d12 1
a12 1
@@@@ -3384,25 +3384,26 @@@@
d18 1
a18 1
+	    TCL_SHLIB_LD_EXTRAS="-soname \$@@"
@


1.10
log
@- Upgrade to 8.4.13; (1)

- Fix man pages: the required macros were not sourced. (2)

Changelog at
<http://sourceforge.net/project/shownotes.php?release_id=399452%26group_id=10894>

PR:		ports/96622 (1)
Noticed by:     phk (2)
@
text
@d17 1
a17 1
+	    SHLIB_LD="ld -shared -x"
@


1.9
log
@Update to 8.4.7
@
text
@d1 5
a5 3
--- configure.orig	Mon Jul 26 14:40:46 2004
+++ configure	Thu Oct 28 10:54:24 2004
@@@@ -2081,3 +2081,3 @@@@
d10 5
a14 1
@@@@ -2878,3 +2878,4 @@@@
d20 2
a21 1
@@@@ -2883,3 +2884,3 @@@@
d26 10
a35 1
@@@@ -2893,6 +2894,6 @@@@
d44 2
@


1.8
log
@Update to tcl8.4b2
koi8-u.enc now in distribution
@
text
@d1 3
a3 5
--- configure.orig	Sat Aug 17 21:04:03 2002
+++ configure	Mon Sep  9 12:59:14 2002
@@@@ -5482,7 +5482,7 @@@@
     EXTRA_CFLAGS=""
     TCL_EXPORT_FILE_SUFFIX=""
d8 1
a8 5
     TCL_LIB_VERSIONS_OK=ok
     CFLAGS_DEBUG=-g
@@@@ -6143,12 +6143,13 @@@@
 	FreeBSD-*)
 	    # FreeBSD 3.* and greater have ELF.
d14 1
a14 2
 	    SHLIB_SUFFIX=".so"
 	    DL_OBJS="tclLoadDl.o"
d16 1
a16 1
-	    LDFLAGS="-export-dynamic"
d19 1
a19 5
 	    LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
 	    if test "${TCL_THREADS}" = "1" ; then
@@@@ -6156,10 +6157,10 @@@@
 	    	LDFLAGS="$LDFLAGS -pthread"
 	    fi
a27 2
 		;;
 	    esac
@


1.7
log
@Update to 8.4.a4

- DISTNAME changed
- configure section for FreeBSD fixed
- new encodings
- new manpages
@
text
@d1 3
a3 3
--- configure.orig	Wed Mar  6 09:51:35 2002
+++ configure	Thu Mar  7 07:24:23 2002
@@@@ -5251,7 +5251,7 @@@@
d12 1
a12 1
@@@@ -5878,22 +5878,23 @@@@
d17 1
a18 1
+	    SHLIB_LD="ld -shared -x"
d25 2
a26 1
 	    LD_SEARCH_FLAGS=""
d28 1
a28 1
 		EXTRA_CFLAGS="-pthread"
d37 1
a37 1
+	        SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}${DBGX}.so.1'
@


1.6
log
@- strip SHLIB_LD of option "-soname $@@"
- define TCL_SHLIB_LD_EXTRAS
- bump PORTREVISION

PR:		34210
@
text
@d1 3
a3 3
--- configure.orig	Tue Aug  7 05:06:23 2001
+++ configure	Sun Jan 27 14:54:59 2002
@@@@ -4769,7 +4769,7 @@@@
d12 1
a12 1
@@@@ -5300,13 +5300,17 @@@@
d19 1
a19 1
 	    SHLIB_LD_LIBS=""
d26 14
a39 15
+	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+	    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}${DBGX}.so.1'
+	    TCL_LIB_VERSIONS_OK=nodots
 	    ;;
 	NEXTSTEP-*)
 	    SHLIB_CFLAGS=""
@@@@ -5985,7 +5989,7 @@@@
     if test "x$DL_OBJS" = "xtclLoadAout.o"; then
 	MAKE_LIB="\${STLIB_LD} \$@@ \${OBJS}"
     else
-	MAKE_LIB="\${SHLIB_LD} -o \$@@ \${OBJS} ${SHLIB_LD_LIBS}"
+	MAKE_LIB="\${SHLIB_LD} \${TCL_SHLIB_LD_EXTRAS} -o \$@@ \${OBJS} ${SHLIB_LD_LIBS}"
 	RANLIB=":"
     fi
 else
@


1.5
log
@update ports after rep after reprocopy:

ports/lang/tcl83         to  ports/lang/tcl84
ports/x11-toolkits/tk83  to  ports/x11-toolkits/tk84

CATEGORIES stripped, no "tcl84" and "tk84" entrys.
@
text
@d2 1
a2 1
+++ configure	Wed Nov 14 09:26:26 2001
d12 1
a12 1
@@@@ -5300,13 +5300,16 @@@@
d17 2
a18 1
+	    SHLIB_LD="ld -shared -x -soname \$@@"
d32 9
@


1.4
log
@Improved shared linking.
@
text
@d1 3
a3 3
--- configure.orig	Sat Oct 20 02:24:15 2001
+++ configure	Sat Nov 10 20:17:05 2001
@@@@ -4779,7 +4779,7 @@@@
d12 1
a12 1
@@@@ -5386,16 +5386,16 @@@@
d25 1
a25 3
 	    # FreeBSD doesn't handle version numbers with dots.
 	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
-	    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
d27 1
a27 1
 	    TCL_LIB_VERSIONS_OK=nodots
d29 2
a30 1
 	Rhapsody-*|Darwin-*)
@


1.3
log
@Change Installion of tclConfig.sh
Fixes a problem with deskutils/ical
that assumes the macro TCL_LIB_FILE
can be accessed in quoutes.
Reduced some dynamic expansions on the way.

-TCL_LIB_FILE='libtcl83${TCL_DBGX}.so.1'
+TCL_LIB_FILE='libtcl83.so.1'

-TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`${DBGX}.so.1'
+TCL_SHARED_LIB_SUFFIX='83${TCL_DBGX}.so.1'

-TCL_UNSHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`${DBGX}.a'
+TCL_UNSHARED_LIB_SUFFIX='83${DBGX}.a'
@
text
@d2 2
a3 2
+++ configure	Sat Oct 20 10:45:39 2001
@@@@ -4648,7 +4648,7 @@@@
d12 7
a18 1
@@@@ -5391,11 +5391,11 @@@@
@


1.2
log
@Update to tcl 8.3.4
More encodings are inculded into the release
@
text
@d3 9
d22 1
a22 1
+	    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1'
@


1.1
log
@- Fix Content of LD_SEARCH_FLAGS
- make FreeBSD-* switch in confugure work as intendend
- add a patch to make manual autoconf work
- PORTREVISION bumped

PR:		28726
@
text
@d1 3
a3 3
--- configure.orig	Fri Apr  6 20:51:46 2001
+++ configure	Tue Aug 14 09:25:13 2001
@@@@ -5175,8 +5175,11 @@@@
d10 3
a12 1
+	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
d14 1
a14 1
+	    TCL_LIB_VERSIONS_OK=nodots
a16 1
 	    SHLIB_CFLAGS="-fno-common"
@

