head	1.7;
access;
symbols
	RELEASE_8_3_0:1.7
	RELEASE_9_0_0:1.7
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.7
	RELEASE_8_1_0:1.7
	RELEASE_7_3_0:1.7
	RELEASE_8_0_0:1.6
	RELEASE_7_2_0:1.6
	RELEASE_7_1_0:1.6
	RELEASE_6_4_0:1.6
	RELEASE_5_EOL:1.6
	RELEASE_7_0_0:1.6
	RELEASE_6_3_0:1.6
	PRE_XORG_7:1.6
	RELEASE_4_EOL:1.6
	RELEASE_6_2_0:1.6
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.6
	RELEASE_5_4_0:1.6
	RELEASE_4_11_0:1.6
	RELEASE_5_3_0:1.6
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.6
	RELEASE_5_2_0:1.6
	RELEASE_4_9_0:1.6
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.6
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.5
	RELEASE_4_6_1:1.5
	RELEASE_4_6_0:1.5
	RELEASE_5_0_DP1:1.5
	RELEASE_4_5_0:1.4
	RELEASE_4_4_0:1.1;
locks; strict;
comment	@# @;


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

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

1.5
date	2002.01.27.14.24.21;	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.7
log
@- fix build unter FreeBSD 9
Reported by:	Ernst W. Winter
@
text
@--- configure.orig	2002-10-18 22:44:46.000000000 +0200
+++ configure	2009-10-26 16:24:59.000000000 +0100
@@@@ -4767,7 +4767,7 @@@@
 	    # results, and the version is kept in special file).
 	
 	    if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
-		system=MP-RAS-`awk '{print }' /etc/.relid'`
+		system=MP-RAS-`awk '{print }' '/etc/.relid'`
 	    fi
 	    if test "`uname -s`" = "AIX" ; then
 		system=AIX-`uname -v`.`uname -r`
@@@@ -4831,7 +4831,7 @@@@
     EXTRA_CFLAGS=""
     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
@@@@ -5499,12 +5499,13 @@@@
 	FreeBSD-*)
 	    # FreeBSD 3.* and greater have ELF.
 	    SHLIB_CFLAGS="-fPIC"
-	    SHLIB_LD="ld -Bshareable -x"
+	    SHLIB_LD="ld -shared -x"
+	    TCL_SHLIB_LD_EXTRAS="-soname \$@@"
 	    SHLIB_LD_LIBS='${LIBS}'
 	    SHLIB_SUFFIX=".so"
 	    DL_OBJS="tclLoadDl.o"
 	    DL_LIBS=""
-	    LDFLAGS="-export-dynamic"
+	    LDFLAGS=""
 	    LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
 	    if test "${TCL_THREADS}" = "1" ; then
 		# The -pthread needs to go in the CFLAGS, not LIBS
@@@@ -5513,10 +5514,10 @@@@
 	    	LDFLAGS="$LDFLAGS -pthread"
 	    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
@@@@ -6192,7 +6193,7 @@@@
 	    # results, and the version is kept in special file).
 	
 	    if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
-		system=MP-RAS-`awk '{print }' /etc/.relid'`
+		system=MP-RAS-`awk '{print }' '/etc/.relid'`
 	    fi
 	    if test "`uname -s`" = "AIX" ; then
 		system=AIX-`uname -v`.`uname -r`
@


1.6
log
@- Update to 8.3.5
@
text
@d1 11
a11 2
--- configure.orig	Fri Oct 18 22:44:46 2002
+++ configure	Tue Nov 12 21:40:13 2002
d50 9
@


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

PR:		34210
@
text
@d1 3
a3 3
--- configure.orig	Sat Oct 20 02:24:15 2001
+++ configure	Sun Jan 27 14:52:09 2002
@@@@ -4779,7 +4779,7 @@@@
d12 1
a12 1
@@@@ -5386,16 +5386,17 @@@@
d17 1
d19 1
a19 2
+	    SHLIB_LD="ld -shared -x"
 	    SHLIB_LD_LIBS=""
d25 16
a40 8
 	    LD_SEARCH_FLAGS=""
 	    # FreeBSD 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
 	    ;;
 	Rhapsody-*|Darwin-*)
@


1.4
log
@Improved shared linking.
@
text
@d2 1
a2 1
+++ configure	Sat Nov 10 20:17:05 2001
d12 1
a12 1
@@@@ -5386,16 +5386,16 @@@@
d17 2
a18 1
+	    SHLIB_LD="ld -shared -x -soname \$@@"
@


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

