diff options
Diffstat (limited to 'lang/tcl87/files/patch-unix-Makefile.in')
-rw-r--r-- | lang/tcl87/files/patch-unix-Makefile.in | 114 |
1 files changed, 0 insertions, 114 deletions
diff --git a/lang/tcl87/files/patch-unix-Makefile.in b/lang/tcl87/files/patch-unix-Makefile.in deleted file mode 100644 index 608f06ee34ac..000000000000 --- a/lang/tcl87/files/patch-unix-Makefile.in +++ /dev/null @@ -1,114 +0,0 @@ ---- unix/Makefile.in.orig 2017-04-20 14:47:01 UTC -+++ unix/Makefile.in -@@ -80,10 +80,10 @@ HTML_DIR = @HTML_DIR@ - HTML_INSTALL_DIR = $(INSTALL_ROOT)$(HTML_DIR) - - # Directory in which to install the configuration file tclConfig.sh --CONFIG_INSTALL_DIR = $(INSTALL_ROOT)$(libdir) -+CONFIG_INSTALL_DIR = $(SCRIPT_INSTALL_DIR) - - # Directory in which to install bundled packages: --PACKAGE_DIR = @PACKAGE_DIR@ -+PACKAGE_DIR = $(SCRIPT_INSTALL_DIR) - - # Package search path. - TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@ -@@ -613,7 +613,7 @@ SRCS = $(GENERIC_SRCS) $(TOMMATH_SRCS) $ - # Start of rules - #-------------------------------------------------------------------------- - --all: binaries libraries doc packages -+all: binaries libraries doc - - binaries: ${LIB_FILE} ${TCL_EXE} - -@@ -774,8 +774,8 @@ INSTALL_DOC_TARGETS = install-doc - INSTALL_PACKAGE_TARGETS = install-packages - INSTALL_DEV_TARGETS = install-headers - INSTALL_EXTRA_TARGETS = @EXTRA_INSTALL@ --INSTALL_TARGETS = $(INSTALL_BASE_TARGETS) $(INSTALL_DOC_TARGETS) $(INSTALL_DEV_TARGETS) \ -- $(INSTALL_PACKAGE_TARGETS) $(INSTALL_EXTRA_TARGETS) -+INSTALL_TARGETS = $(INSTALL_BASE_TARGETS) $(INSTALL_DEV_TARGETS) \ -+ $(INSTALL_EXTRA_TARGETS) - - install: $(INSTALL_TARGETS) - -@@ -809,12 +809,17 @@ install-binaries: binaries - @INSTALL_STUB_LIB@ ; \ - fi - @EXTRA_INSTALL_BINARIES@ -- @echo "Installing pkg-config file to $(LIB_INSTALL_DIR)/pkgconfig/" -- @$(INSTALL_DATA_DIR) $(LIB_INSTALL_DIR)/pkgconfig -- @$(INSTALL_DATA) tcl.pc $(LIB_INSTALL_DIR)/pkgconfig/tcl.pc -+ @echo "Installing pkg-config file to $(prefix)/libdata/pkgconfig" -+ @$(INSTALL_DATA_DIR) $(INSTALL_ROOT)$(prefix)/libdata/pkgconfig -+ @$(INSTALL_DATA) tcl.pc $(INSTALL_ROOT)$(prefix)/libdata/pkgconfig/tcl${SHORT_TCL_VER}.pc -+ @for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex \ -+ $(UNIX_DIR)/tclAppInit.c @LDAIX_SRC@ @DTRACE_SRC@; \ -+ do \ -+ $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"; \ -+ done; - - install-libraries: libraries -- @for i in "$(SCRIPT_INSTALL_DIR)"; \ -+ @for i in "$(SCRIPT_INSTALL_DIR)" "$(SCRIPT_INSTALL_DIR)"/encoding; \ - do \ - if [ ! -d "$$i" ] ; then \ - echo "Making directory $$i"; \ -@@ -822,7 +827,13 @@ install-libraries: libraries - else true; \ - fi; \ - done; -- @for i in opt0.4 http1.0 encoding ../tcl8 ../tcl8/8.4 ../tcl8/8.4/platform ../tcl8/8.5 ../tcl8/8.6; \ -+ @echo "Installing encoding files to $(SCRIPT_INSTALL_DIR)/encoding"; -+ @for i in $(TOP_DIR)/library/encoding/*.enc ; do \ -+ $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/encoding; \ -+ done; -+ -+install-modules: libraries -+ @for i in opt0.4 http1.0 platform; \ - do \ - if [ ! -d "$(SCRIPT_INSTALL_DIR)"/$$i ] ; then \ - echo "Making directory $(SCRIPT_INSTALL_DIR)/$$i"; \ -@@ -842,31 +853,31 @@ install-libraries: libraries - $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/http1.0; \ - done; - @echo "Installing package http 2.8.12 as a Tcl Module"; -- @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.6/http-2.8.12.tm; -+ @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(SCRIPT_INSTALL_DIR)"/http-2.8.12.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.6.1 as a Tcl Module"; -- @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/msgcat-1.6.1.tm; -+ @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(SCRIPT_INSTALL_DIR)"/msgcat-1.6.1.tm; - @echo "Installing package tcltest 2.4.0 as a Tcl Module"; -- @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/tcltest-2.4.0.tm; -+ @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(SCRIPT_INSTALL_DIR)"/tcltest-2.4.0.tm; - - @echo "Installing package platform 1.0.14 as a Tcl Module"; -- @$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/platform-1.0.14.tm; -+ @$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(SCRIPT_INSTALL_DIR)"/platform-1.0.14.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; -+ @$(INSTALL_DATA) $(TOP_DIR)/library/platform/shell.tcl "$(SCRIPT_INSTALL_DIR)"/platform/shell-1.1.4.tm; - - @echo "Installing encoding files to $(SCRIPT_INSTALL_DIR)/encoding/"; - @for i in $(TOP_DIR)/library/encoding/*.enc ; do \ - $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/encoding; \ - done; -- @if [ -n "$(TCL_MODULE_PATH)" -a -f $(TOP_DIR)/library/tm.tcl ]; then \ -- echo "Customizing tcl module path"; \ -- echo "if {![interp issafe]} { ::tcl::tm::roots {$(TCL_MODULE_PATH)} }" >> \ -- "$(SCRIPT_INSTALL_DIR)"/tm.tcl; \ -- fi -+ @echo "Customizing tcl module path"; \ -+ echo "if {![interp issafe]} { ::tcl::tm::roots {$(TCL_MODULE_PATH)} }" >> \ -+ "$(SCRIPT_INSTALL_DIR)"/tm.tcl; \ -+ echo "::tcl::tm::path add {$(TCL_LIBRARY)}" >> \ -+ "$(SCRIPT_INSTALL_DIR)"/tm.tcl; \ - - install-tzdata: - @for i in tzdata; \ |