aboutsummaryrefslogtreecommitdiff
path: root/lang/tcl85
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2009-03-03 07:30:25 +0000
committerMartin Matuska <mm@FreeBSD.org>2009-03-03 07:30:25 +0000
commitd2c14e2c002602ca76c8cb21347b5447cd0d5ec1 (patch)
tree38bccecf0e6ad10da5b8570cb84ecd2dfcaee272 /lang/tcl85
parent2fc4fb0798b533337cf1de0ae3831dadb9108811 (diff)
downloadports-d2c14e2c002602ca76c8cb21347b5447cd0d5ec1.tar.gz
ports-d2c14e2c002602ca76c8cb21347b5447cd0d5ec1.zip
- do not create library dir if installing modules
Reported by: QAT
Notes
Notes: svn path=/head/; revision=229408
Diffstat (limited to 'lang/tcl85')
-rw-r--r--lang/tcl85/files/patch-unix-Makefile.in32
1 files changed, 16 insertions, 16 deletions
diff --git a/lang/tcl85/files/patch-unix-Makefile.in b/lang/tcl85/files/patch-unix-Makefile.in
index fb47b46a49da..49090e58c618 100644
--- a/lang/tcl85/files/patch-unix-Makefile.in
+++ b/lang/tcl85/files/patch-unix-Makefile.in
@@ -1,5 +1,5 @@
--- Makefile.in.orig 2008-12-22 15:16:08.000000000 +0100
-+++ Makefile.in 2009-03-03 00:11:50.256476506 +0100
++++ Makefile.in 2009-03-03 08:18:08.324177280 +0100
@@ -55,6 +55,8 @@
# Directory in which to install the include file tcl.h:
@@ -107,14 +107,14 @@
- $(GENERIC_DIR)/tclTomMath.h \
- $(GENERIC_DIR)/tclTomMathDecls.h ; \
+ @for i in $(GENERIC_DIR)/*.h ; \
-+ do \
-+ $(INSTALL_DATA) $$i "$(GENERIC_INCLUDE_INSTALL_DIR)"; \
-+ done;
-+ @for i in $(UNIX_DIR)/*.h ; \
do \
- $(INSTALL_DATA) $$i "$(INCLUDE_INSTALL_DIR)"; \
-+ $(INSTALL_DATA) $$i "$(UNIX_INCLUDE_INSTALL_DIR)"; \
++ $(INSTALL_DATA) $$i "$(GENERIC_INCLUDE_INSTALL_DIR)"; \
done;
++ @for i in $(UNIX_DIR)/*.h ; \
++ do \
++ $(INSTALL_DATA) $$i "$(UNIX_INCLUDE_INSTALL_DIR)"; \
++ done;
+ @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
@@ -149,26 +149,26 @@
fi
+install-tm:
-+ @for i in ../tcl8 ../tcl8/8.3 ../tcl8/8.4 ../tcl8/8.4/platform ../tcl8/8.5 ../tcl8/8.6; \
++ @for i in tcl8 tcl8/8.3 tcl8/8.4 tcl8/8.4/platform tcl8/8.5 tcl8/8.6; \
+ do \
-+ if [ ! -d "$(SCRIPT_INSTALL_DIR)"/$$i ] ; then \
-+ echo "Making directory $(SCRIPT_INSTALL_DIR)/$$i"; \
-+ mkdir -p "$(SCRIPT_INSTALL_DIR)"/$$i; \
-+ chmod 755 "$(SCRIPT_INSTALL_DIR)"/$$i; \
++ 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.2 as a Tcl Module";
-+ @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/http-2.7.2.tm;
++ @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.4/http-2.7.2.tm;
+ @echo "Installing package msgcat 1.4.2 as a Tcl Module";
-+ @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/msgcat-1.4.2.tm;
++ @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.5/msgcat-1.4.2.tm;
+ @echo "Installing package tcltest 2.3.0 as a Tcl Module";
-+ @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/tcltest-2.3.0.tm;
++ @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.5/tcltest-2.3.0.tm;
+
+ @echo "Installing package platform 1.0.3 as a Tcl Module";
-+ @$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/platform-1.0.3.tm;
++ @$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.4/platform-1.0.3.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 "$(LIB_INSTALL_DIR)"/tcl8/8.4/platform/shell-1.1.4.tm;
+
install-tzdata: tclsh
@echo "Installing time zone data"