summaryrefslogtreecommitdiffstats
path: root/lang/tcl83/files
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2001-10-21 03:13:44 +0000
committerdinoex <dinoex@FreeBSD.org>2001-10-21 03:13:44 +0000
commit4e66e35d389baca5fb4c08102015bdcfd9333a34 (patch)
tree9a6366e77ca7c5d31d603e5d19c24e0adc2ef029 /lang/tcl83/files
parentff8dcc8a23ec14a217141199bcbacf1ab98c9b47 (diff)
downloadFreeBSD-ports-4e66e35d389baca5fb4c08102015bdcfd9333a34.zip
FreeBSD-ports-4e66e35d389baca5fb4c08102015bdcfd9333a34.tar.gz
Update to tcl 8.3.4
More encodings are inculded into the release
Diffstat (limited to 'lang/tcl83/files')
-rw-r--r--lang/tcl83/files/patch-aa48
-rw-r--r--lang/tcl83/files/patch-configure13
-rw-r--r--lang/tcl83/files/patch-tcl.m413
3 files changed, 41 insertions, 33 deletions
diff --git a/lang/tcl83/files/patch-aa b/lang/tcl83/files/patch-aa
index 1f1185f..0ff89d9 100644
--- a/lang/tcl83/files/patch-aa
+++ b/lang/tcl83/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.in.orig Fri Apr 6 20:51:46 2001
-+++ Makefile.in Fri Apr 13 21:12:54 2001
+--- Makefile.in.orig Sat Oct 20 02:24:15 2001
++++ Makefile.in Sat Oct 20 11:21:50 2001
@@ -53,7 +53,9 @@
SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY)
@@ -15,26 +15,29 @@
#CFLAGS = $(CFLAGS_DEBUG)
#CFLAGS = $(CFLAGS_OPTIMIZE)
#CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)
--CFLAGS = @CFLAGS@
-+CFLAGS ?= @CFLAGS@
+-CFLAGS = @CFLAGS@ @CFLAGS_DEFAULT@
++CFLAGS ?= @CFLAGS@ @CFLAGS_DEFAULT@
- # To disable ANSI-C procedure prototypes reverse the comment characters
- # on the following lines:
-@@ -397,7 +399,7 @@
+ # Flags to pass to the linker
+ LDFLAGS_DEBUG = @LDFLAGS_DEBUG@
+@@ -407,7 +409,8 @@
all: binaries libraries doc
-binaries: ${TCL_LIB_FILE} $(TCL_STUB_LIB_FILE) $(TCL_BUILD_EXP_FILE) tclsh
-+binaries: ${TCL_LIB_FILE} $(TCL_STUB_LIB_FILE) $(TCL_BUILD_EXP_FILE) libtcl${SHORT_TCL_VER}.a tclsh
++binaries: ${TCL_LIB_FILE} $(TCL_STUB_LIB_FILE) $(TCL_BUILD_EXP_FILE) \
++ libtcl${SHORT_TCL_VER}.a tclsh
libraries:
-@@ -408,8 +410,14 @@
+@@ -418,10 +421,16 @@
${TCL_LIB_FILE}: ${OBJS} ${STUB_LIB_FILE}
rm -f ${TCL_LIB_FILE}
@MAKE_LIB@
+ @ln -sf $(TCL_LIB_FILE) ./libtcl${SHORT_TCL_VER}.so
- $(RANLIB) ${TCL_LIB_FILE}
+ if test "x@DL_OBJS@" = "xtclLoadAout.o"; then \
+ $(RANLIB) ${TCL_LIB_FILE}; \
+ fi
+libtcl${SHORT_TCL_VER}.a: ${OBJS}
+ rm -f libtcl${SHORT_TCL_VER}.a
@@ -44,21 +47,24 @@
${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
rm -f ${STUB_LIB_FILE}
@MAKE_STUB_LIB@
-@@ -525,8 +533,13 @@
+@@ -539,10 +548,16 @@
fi
@echo "Installing $(TCL_LIB_FILE) to $(LIB_INSTALL_DIR)/"
- @$(INSTALL_DATA) $(TCL_LIB_FILE) $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE)
+ @$(INSTALL_LIBRARY) $(TCL_LIB_FILE) $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE)
+ @ln -sf $(TCL_LIB_FILE) $(LIB_INSTALL_DIR)/libtcl${SHORT_TCL_VER}.so
- @(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TCL_LIB_FILE))
+ @if test "x@DL_OBJS@" = "xtclLoadAout.o"; then \
+ (cd $(LIB_INSTALL_DIR); $(RANLIB) $(TCL_LIB_FILE)); \
+ fi
@chmod 555 $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE)
+ @echo "Installing libtcl${SHORT_TCL_VER}.a"
-+ @$(INSTALL_DATA) libtcl${SHORT_TCL_VER}.a $(LIB_INSTALL_DIR)/libtcl${SHORT_TCL_VER}.a
++ @$(INSTALL_DATA) libtcl${SHORT_TCL_VER}.a \
++ $(LIB_INSTALL_DIR)/libtcl${SHORT_TCL_VER}.a
+ @(cd $(LIB_INSTALL_DIR); $(RANLIB) libtcl${SHORT_TCL_VER}.a)
+ @chmod 555 $(LIB_INSTALL_DIR)/libtcl${SHORT_TCL_VER}.a
@if test "$(TCL_BUILD_EXP_FILE)" != ""; then \
echo "Installing $(TCL_EXP_FILE) to $(LIB_INSTALL_DIR)/"; \
$(INSTALL_DATA) $(TCL_BUILD_EXP_FILE) \
-@@ -534,8 +547,9 @@
+@@ -550,8 +565,9 @@
fi
@echo "Installing tclsh as $(BIN_INSTALL_DIR)/tclsh$(VERSION)"
@$(INSTALL_PROGRAM) tclsh $(BIN_INSTALL_DIR)/tclsh$(VERSION)
@@ -69,8 +75,8 @@
+ @$(INSTALL_DATA) tclConfig.sh $(SCRIPT_INSTALL_DIR)/tclConfig.sh
@if test "$(TCL_STUB_LIB_FILE)" != "" ; then \
echo "Installing $(TCL_STUB_LIB_FILE) to $(LIB_INSTALL_DIR)/"; \
- $(INSTALL_DATA) $(STUB_LIB_FILE) \
-@@ -543,7 +557,8 @@
+ $(INSTALL_LIBRARY) $(STUB_LIB_FILE) \
+@@ -559,7 +575,8 @@
fi
install-libraries: libraries
@@ -80,7 +86,7 @@
do \
if [ ! -d $$i ] ; then \
echo "Making directory $$i"; \
-@@ -565,11 +580,16 @@
+@@ -581,11 +598,16 @@
chmod +x $(SRC_DIR)/install-sh; \
fi
@echo "Installing header files";
@@ -100,7 +106,7 @@
@echo "Installing library files to $(SCRIPT_INSTALL_DIR)";
@for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex $(UNIX_DIR)/tclAppInit.c $(UNIX_DIR)/ldAix; \
do \
-@@ -627,7 +647,6 @@
+@@ -643,7 +665,6 @@
chmod 444 $(MAN1_INSTALL_DIR)/$$i; \
done;
@echo "Cross-linking top-level (.1) docs";
@@ -108,7 +114,7 @@
@echo "Installing C API (.3) docs";
@cd $(TOP_DIR)/doc; for i in *.3; \
do \
-@@ -637,7 +656,6 @@
+@@ -653,7 +674,6 @@
chmod 444 $(MAN3_INSTALL_DIR)/$$i; \
done;
@echo "Cross-linking C API (.3) docs";
@@ -116,7 +122,7 @@
@echo "Installing command (.n) docs";
@cd $(TOP_DIR)/doc; for i in *.n; \
do \
-@@ -647,7 +665,14 @@
+@@ -663,7 +683,14 @@
chmod 444 $(MANN_INSTALL_DIR)/$$i; \
done;
@echo "Cross-linking command (.n) docs";
diff --git a/lang/tcl83/files/patch-configure b/lang/tcl83/files/patch-configure
index f067b9b4..f44c39d 100644
--- a/lang/tcl83/files/patch-configure
+++ b/lang/tcl83/files/patch-configure
@@ -1,15 +1,16 @@
---- configure.orig Fri Apr 6 20:51:46 2001
-+++ configure Tue Aug 14 09:25:13 2001
-@@ -5175,8 +5175,11 @@
+--- configure.orig Sat Oct 20 02:24:15 2001
++++ configure Sat Oct 20 10:45:39 2001
+@@ -5391,11 +5391,11 @@
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""
- LDFLAGS="-export-dynamic"
+ LDFLAGS=""
LD_SEARCH_FLAGS=""
-+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+ # 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
+ TCL_LIB_VERSIONS_OK=nodots
;;
Rhapsody-*|Darwin-*)
- SHLIB_CFLAGS="-fno-common"
diff --git a/lang/tcl83/files/patch-tcl.m4 b/lang/tcl83/files/patch-tcl.m4
index b081b46..d546861 100644
--- a/lang/tcl83/files/patch-tcl.m4
+++ b/lang/tcl83/files/patch-tcl.m4
@@ -1,15 +1,16 @@
---- tcl.m4.orig Fri Apr 6 20:51:46 2001
-+++ tcl.m4 Tue Aug 14 09:24:56 2001
-@@ -890,8 +890,11 @@
+--- tcl.m4.orig Sat Oct 20 02:24:15 2001
++++ tcl.m4 Sat Oct 20 10:47:49 2001
+@@ -957,11 +957,11 @@
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""
- LDFLAGS="-export-dynamic"
+ LDFLAGS=""
LD_SEARCH_FLAGS=""
-+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+ # 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
+ TCL_LIB_VERSIONS_OK=nodots
;;
Rhapsody-*|Darwin-*)
- SHLIB_CFLAGS="-fno-common"
OpenPOWER on IntegriCloud