aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tcl85/files
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2012-12-03 16:49:58 +0800
committergahr <gahr@FreeBSD.org>2012-12-03 16:49:58 +0800
commit7ee4f83a6216fd0b859ad93968e3f095384d8def (patch)
tree95cb0afbaf170b08905cb020d9d671e589c1e7bb /lang/tcl85/files
parent2421c7da46f782235f4bd1e7047eb9cc27e4e1cc (diff)
downloadfreebsd-ports-gnome-7ee4f83a6216fd0b859ad93968e3f095384d8def.tar.gz
freebsd-ports-gnome-7ee4f83a6216fd0b859ad93968e3f095384d8def.tar.zst
freebsd-ports-gnome-7ee4f83a6216fd0b859ad93968e3f095384d8def.zip
- Update to Tcl/Tk 8.5.13
Release notes: http://sf.net/mailarchive/message.php?msg_id=30090852 PR: ports/173753 (based on) Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> Feature safe: yes
Diffstat (limited to 'lang/tcl85/files')
-rw-r--r--lang/tcl85/files/patch-uk-locale15
-rw-r--r--lang/tcl85/files/patch-unix-Makefile.in124
2 files changed, 65 insertions, 74 deletions
diff --git a/lang/tcl85/files/patch-uk-locale b/lang/tcl85/files/patch-uk-locale
deleted file mode 100644
index 81b02bb46e59..000000000000
--- a/lang/tcl85/files/patch-uk-locale
+++ /dev/null
@@ -1,15 +0,0 @@
-Fix the misspelled name of "March" in Ukrainian.
-
-Submitted upstream as:
-
-https://sourceforge.net/tracker/?func=detail&aid=3561330&group_id=10894&atid=310894
-
---- ../library/msgs/uk.msg 2011-04-26 11:14:03.000000000 -0400
-+++ ../library/msgs/uk.msg 2012-08-24 12:52:15.000000000 -0400
-@@ -34,5 +34,5 @@
- "\u0441\u0456\u0447\u043d\u044f"\
- "\u043b\u044e\u0442\u043e\u0433\u043e"\
-- "\u0431\u0435\u0440\u0435\u0436\u043d\u044f"\
-+ "\u0431\u0435\u0440\u0435\u0437\u043d\u044f"\
- "\u043a\u0432\u0456\u0442\u043d\u044f"\
- "\u0442\u0440\u0430\u0432\u043d\u044f"\
diff --git a/lang/tcl85/files/patch-unix-Makefile.in b/lang/tcl85/files/patch-unix-Makefile.in
index 747c3863e043..94b288bc29f8 100644
--- a/lang/tcl85/files/patch-unix-Makefile.in
+++ b/lang/tcl85/files/patch-unix-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig 2012-07-25 18:45:05.000000000 +0200
-+++ Makefile.in 2012-08-02 15:10:04.590514599 +0200
+--- Makefile.in.bak 2012-11-20 23:39:58.000000000 -0600
++++ Makefile.in 2012-11-20 23:47:34.000000000 -0600
@@ -54,6 +54,8 @@
# Directory in which to install the include file tcl.h:
@@ -9,16 +9,7 @@
# Path to the private tcl header dir:
PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@
-@@ -100,7 +102,7 @@
- #CFLAGS = $(CFLAGS_DEBUG)
- #CFLAGS = $(CFLAGS_OPTIMIZE)
- #CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)
--CFLAGS = @CFLAGS_DEFAULT@ @CFLAGS@
-+CFLAGS += @CFLAGS_DEFAULT@ @CFLAGS@
-
- # Flags to pass to the linker
- LDFLAGS_DEBUG = @LDFLAGS_DEBUG@
-@@ -541,7 +543,7 @@
+@@ -542,7 +544,7 @@
all: binaries libraries doc
@@ -27,15 +18,14 @@
libraries:
-@@ -552,6 +554,15 @@
+@@ -553,6 +555,14 @@
${LIB_FILE}: ${OBJS} ${STUB_LIB_FILE}
rm -f $@
@MAKE_LIB@
+ @ln -sf $(LIB_FILE) ./libtcl${SHORT_TCL_VER}.so
+ if test "x@DL_OBJS@" = "xtclLoadAout.o"; then \
+ $(RANLIB) ${LIB_FILE}; \
-+ fi
-+
++ fi;
+libtcl${SHORT_TCL_VER}.a: ${OBJS}
+ rm -f libtcl${SHORT_TCL_VER}.a
+ ar cr libtcl${SHORT_TCL_VER}.a ${OBJS}
@@ -43,7 +33,7 @@
${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
rm -f $@
-@@ -693,7 +704,7 @@
+@@ -694,7 +704,7 @@
dltest.marker: ${STUB_LIB_FILE}
cd dltest ; $(MAKE)
@@ -52,7 +42,7 @@
install: $(INSTALL_TARGETS)
-@@ -723,10 +734,18 @@
+@@ -720,10 +730,17 @@
@echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/"
@@INSTALL_LIB@
@chmod 555 "$(DLL_INSTALL_DIR)"/$(LIB_FILE)
@@ -62,18 +52,17 @@
+ "$(DLL_INSTALL_DIR)"/libtcl${SHORT_TCL_VER}.a
+ @(cd "$(DLL_INSTALL_DIR)"; $(RANLIB) libtcl${SHORT_TCL_VER}.a)
+ @chmod 555 "$(DLL_INSTALL_DIR)"/libtcl${SHORT_TCL_VER}.a
-+
@echo "Installing ${TCL_EXE} as $(BIN_INSTALL_DIR)/tclsh$(VERSION)@EXEEXT@"
- @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)"/tclsh$(VERSION)@EXEEXT@
-- @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/"
-- @$(INSTALL_DATA) tclConfig.sh "$(CONFIG_INSTALL_DIR)"/tclConfig.sh
+ @echo "Installing tclConfig.sh to $(SCRIPT_INSTALL_DIR)/"
+ @mkdir -p "$(SCRIPT_INSTALL_DIR)"
+ @$(INSTALL_DATA) tclConfig.sh "$(SCRIPT_INSTALL_DIR)"/tclConfig.sh
+ @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)"/tclsh$(VERSION)@EXEEXT@
+- @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/"
+- @$(INSTALL_DATA) tclConfig.sh "$(CONFIG_INSTALL_DIR)"/tclConfig.sh
@if test "$(STUB_LIB_FILE)" != "" ; then \
echo "Installing $(STUB_LIB_FILE) to $(LIB_INSTALL_DIR)/"; \
@INSTALL_STUB_LIB@ ; \
-@@ -734,7 +753,8 @@
+@@ -731,7 +748,8 @@
@EXTRA_INSTALL_BINARIES@
install-libraries: libraries $(INSTALL_TZDATA) install-msgs
@@ -83,7 +72,7 @@
do \
if [ ! -d "$$i" ] ; then \
echo "Making directory $$i"; \
-@@ -743,7 +763,7 @@
+@@ -739,7 +757,7 @@
else true; \
fi; \
done;
@@ -92,10 +81,10 @@
do \
if [ ! -d "$(SCRIPT_INSTALL_DIR)"/$$i ] ; then \
echo "Making directory $(SCRIPT_INSTALL_DIR)/$$i"; \
-@@ -756,13 +776,17 @@
- chmod +x $(SRC_DIR)/../unix/install-sh; \
- fi
- @echo "Installing header files";
+@@ -748,13 +766,17 @@
+ fi; \
+ done;
+ @echo "Installing header files to $(INCLUDE_INSTALL_DIR)/";
- @for i in $(GENERIC_DIR)/tcl.h $(GENERIC_DIR)/tclDecls.h \
- $(GENERIC_DIR)/tclPlatDecls.h \
- $(GENERIC_DIR)/tclTomMath.h \
@@ -112,22 +101,22 @@
+ @ln -sf "$(GENERIC_INCLUDE_INSTALL_DIR)"/tcl.h "$(INCLUDE_INSTALL_DIR)"/tcl.h
+ @ln -sf "$(GENERIC_INCLUDE_INSTALL_DIR)"/tclDecls.h "$(INCLUDE_INSTALL_DIR)"/tclDecls.h
+ @ln -sf "$(GENERIC_INCLUDE_INSTALL_DIR)"/tclPlatDecls.h "$(INCLUDE_INSTALL_DIR)"/tclPlatDecls.h
- @echo "Installing library files to $(SCRIPT_INSTALL_DIR)";
+ @echo "Installing library files to $(SCRIPT_INSTALL_DIR)/";
@for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex \
$(UNIX_DIR)/tclAppInit.c @LDAIX_SRC@ @DTRACE_SRC@; \
-@@ -774,22 +798,11 @@
+@@ -766,23 +788,11 @@
do \
$(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/http1.0; \
done;
-- @echo "Installing package http 2.7.9 as a Tcl Module";
-- @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/http-2.7.9.tm;
- @echo "Installing library opt0.4 directory";
+- @echo "Installing package http 2.7.10 as a Tcl Module";
+- @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/http-2.7.10.tm;
+ @echo "Installing package opt0.4 files to $(SCRIPT_INSTALL_DIR)/opt0.4/";
@for i in $(TOP_DIR)/library/opt/*.tcl ; \
do \
$(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/opt0.4; \
done;
-- @echo "Installing package msgcat 1.4.5 as a Tcl Module";
-- @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/msgcat-1.4.5.tm;
+- @echo "Installing package msgcat 1.5.0 as a Tcl Module";
+- @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/msgcat-1.5.0.tm;
- @echo "Installing package tcltest 2.3.4 as a Tcl Module";
- @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/tcltest-2.3.4.tm;
-
@@ -135,27 +124,28 @@
- @$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/platform-1.0.10.tm;
- @echo "Installing package platform::shell 1.1.4 as a Tcl Module";
- @$(INSTALL_DATA) $(TOP_DIR)/library/platform/shell.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/platform/shell-1.1.4.tm;
-
- @echo "Installing library encoding directory";
+-
+ @echo "Installing encoding files to $(SCRIPT_INSTALL_DIR)/encoding/";
@for i in $(TOP_DIR)/library/encoding/*.enc ; do \
-@@ -801,6 +814,28 @@
+ $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/encoding; \
+@@ -792,6 +802,27 @@
+ echo "if {![interp issafe]} { ::tcl::tm::roots {$(TCL_MODULE_PATH)} }" >> \
"$(SCRIPT_INSTALL_DIR)"/tm.tcl; \
fi
-
+install-tm:
+ @for i in tcl8 tcl8/8.4 tcl8/8.4/platform tcl8/8.5; \
+ do \
-+ if [ ! -d "$(LIB_INSTALL_DIR)"/$$i ] ; then \
++ if [ ! -d "$(LIB_INSTALL_DIR)"/$$i ] ; then \
+ echo "Making directory $(LIB_INSTALL_DIR)/$$i"; \
+ mkdir -p "$(LIB_INSTALL_DIR)"/$$i; \
+ chmod 755 "$(LIB_INSTALL_DIR)"/$$i; \
+ else true; \
+ fi; \
-+ done;
-+ @echo "Installing package http 2.7.9 as a Tcl Module";
-+ @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.4/http-2.7.9.tm;
-+ @echo "Installing package msgcat 1.4.5 as a Tcl Module";
-+ @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.5/msgcat-1.4.5.tm;
++ done;
++ @echo "Installing package http 2.7.10 as a Tcl Module";
++ @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.4/http-2.7.10.tm;
++ @echo "Installing package msgcat 1.5.0 as a Tcl Module";
++ @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.5/msgcat-1.5.0.tm;
+ @echo "Installing package tcltest 2.3.4 as a Tcl Module";
+ @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.5/tcltest-2.3.4.tm;
+
@@ -163,31 +153,29 @@
+ @$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.4/platform-1.0.10.tm;
+ @echo "Installing package platform::shell 1.1.4 as a Tcl Module";
+ @$(INSTALL_DATA) $(TOP_DIR)/library/platform/shell.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.4/platform/shell-1.1.4.tm;
-+
+
install-tzdata: ${TCL_EXE}
- @echo "Installing time zone data"
- @@LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \
-@@ -825,21 +860,26 @@
+ @echo "Installing time zone files to $(SCRIPT_INSTALL_DIR)/tzdata/"
+@@ -823,18 +854,23 @@
else true; \
fi; \
done;
-- @echo "Installing and cross-linking top-level (.1) docs";
+- @echo "Installing and cross-linking top-level (.1) docs to $(MAN1_INSTALL_DIR)/";
- @for i in $(TOP_DIR)/doc/*.1; do \
- $(SHELL) $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MAN1_INSTALL_DIR)"; \
- done
-
- @echo "Installing and cross-linking C API (.3) docs";
+ @echo "Installing and cross-linking C API (.3) docs to $(MAN3_INSTALL_DIR)/";
@for i in $(TOP_DIR)/doc/*.3; do \
- $(SHELL) $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MAN3_INSTALL_DIR)"; \
-+ $(BSD_INSTALL_MAN) $$i "$(MAN3_INSTALL_DIR)"; \
- done
-
- @echo "Installing and cross-linking command (.n) docs";
+- done
++ $(BSD_INSTALL_MAN) $$i "$(MAN3_INSTALL_DIR)"; \
++ done;
+ @echo "Installing and cross-linking command (.n) docs to $(MANN_INSTALL_DIR)/";
@for i in $(TOP_DIR)/doc/*.n; do \
- $(SHELL) $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MANN_INSTALL_DIR)"; \
-+ $(BSD_INSTALL_MAN) $$i "$(MANN_INSTALL_DIR)"; \
- done
-
+- done
++ $(BSD_INSTALL_MAN) $$i "$(MANN_INSTALL_DIR)"; \
++ done;
+ @echo "**********"
+ @echo "IMPORTANT:"
+ @echo "**********"
@@ -197,6 +185,24 @@
+ @echo "There are NOT default place, but good place to avoid"
+ @echo "conflicting with another version of Tcl/Tks."
+
+
# Optional target to install private headers
install-private-headers: libraries
- @for i in "$(PRIVATE_INCLUDE_INSTALL_DIR)"; \
+@@ -1537,7 +1573,7 @@
+ match=1; \
+ fi; \
+ done; \
+- if [ $$match -eq 0 ]; then echo $$i; fi \
++ if [ $$match -eq 0 ]; then echo $$i; fi; \
+ done
+
+ #
+@@ -1554,7 +1590,7 @@
+ match=1; \
+ fi; \
+ done; \
+- if [ $$match -eq 0 ]; then echo $$i; fi \
++ if [ $$match -eq 0 ]; then echo $$i; fi; \
+ done
+
+ #