mirror of
https://git.freebsd.org/ports.git
synced 2025-07-15 16:29:15 -04:00
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...
61 lines
1.8 KiB
Text
61 lines
1.8 KiB
Text
--- configure.orig Sun Feb 6 18:54:02 2000
|
|
+++ configure Thu Jul 13 14:29:54 2000
|
|
@@ -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
|