diff options
Diffstat (limited to 'japanese/tcl76/files/patch-ad')
-rw-r--r-- | japanese/tcl76/files/patch-ad | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/japanese/tcl76/files/patch-ad b/japanese/tcl76/files/patch-ad new file mode 100644 index 000000000000..58772d5ed10e --- /dev/null +++ b/japanese/tcl76/files/patch-ad @@ -0,0 +1,44 @@ +--- Makefile.in.ORIG Mon Feb 17 13:27:32 1997 ++++ Makefile.in Mon Feb 17 13:40:57 1997 +@@ -56,6 +56,8 @@ + + # Directory in which to install the include file tcl.h: + INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/tcl$(VERSION) ++GENERIC_INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/tcl$(VERSION)/generic ++UNIX_INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/tcl$(VERSION)/unix + + # Top-level directory in which to install manual entries: + MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man +@@ -393,7 +395,8 @@ + + install-libraries: + @for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \ +- $(SCRIPT_INSTALL_DIR) ; \ ++ $(SCRIPT_INSTALL_DIR) $(GENERIC_INCLUDE_INSTALL_DIR) \ ++ $(UNIX_INCLUDE_INSTALL_DIR) ; \ + do \ + if [ ! -d $$i ] ; then \ + echo "Making directory $$i"; \ +@@ -402,13 +405,20 @@ + else true; \ + fi; \ + done; +- @echo "Installing tcl.h" +- @$(INSTALL_DATA) $(GENERIC_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h ++ @echo "Installing libraries, tcl.h and other headers" + @for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex $(UNIX_DIR)/tclAppInit.c; \ + do \ + echo "Installing $$i"; \ + $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR); \ + done; ++ @echo "Installing $(TOP_DIR)unix/tclUnixPort.h" ++ @$(INSTALL_DATA) $(TOP_DIR)/unix/tclUnixPort.h $(UNIX_INCLUDE_INSTALL_DIR) ++ @for i in $(GENERIC_DIR)/*.h ; \ ++ do \ ++ echo "Installing $$i"; \ ++ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \ ++ done; ++ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h + + install-man: + @for i in $(MAN_INSTALL_DIR) $(MAN1_INSTALL_DIR) $(MAN3_INSTALL_DIR) $(MANN_INSTALL_DIR) ; \ |