1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/lang/itcl/files/patch-ab
Chuck Robey 838df4382e Cleaning up extracurricular linking done by this port over
libtk and libtcl files.
Suggested by:  Satoshi.
1996-10-18 01:03:32 +00:00

43 lines
1.9 KiB
Plaintext

--- tcl7.5/unix/Makefile.in.orig Fri Jun 28 18:24:04 1996
+++ tcl7.5/unix/Makefile.in Thu Oct 17 20:29:25 1996
@@ -44,7 +44,7 @@
SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY)
# Directory in which to install libtcl.so or libtcl.a:
-LIB_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/lib/itcl
+LIB_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/lib
# Directory in which to install the program tclsh:
BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin
@@ -53,7 +53,7 @@
INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/itcl
# Top-level directory in which to install manual entries:
-MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man/itcl
+MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/share/itcl/tcl7.5/man
# Directory in which to install manual entry for tclsh:
MAN1_INSTALL_DIR = $(MAN_INSTALL_DIR)/man1
@@ -539,12 +539,6 @@
@echo "Installing ${TCL_UNSHARED_LIB_FILE} (with standalone capability)"
@$(INSTALL_DATA) ${TCL_UNSHARED_LIB_FILE} $(LIB_INSTALL_DIR)/${TCL_UNSHARED_LIB_FILE}
@$(RANLIB) $(LIB_INSTALL_DIR)/${TCL_UNSHARED_LIB_FILE}
- @if test -f $(LIB_INSTALL_DIR)/libtcl.a -a ! -h $(LIB_INSTALL_DIR)/libtcl.a; then \
- echo "Renaming your old libtcl.a to libtcl.a.old" ; \
- mv $(LIB_INSTALL_DIR)/libtcl.a $(LIB_INSTALL_DIR)/libtcl.a.old ; \
- fi
- @rm -f $(LIB_INSTALL_DIR)/libtcl.a
- @$(LN_S) $(TCL_UNSHARED_LIB_FILE) $(LIB_INSTALL_DIR)/libtcl.a
@if test "$(TCL_LIB_FILE)" != "${TCL_UNSHARED_LIB_FILE}"; then \
echo "Installing $(TCL_LIB_FILE)" ; \
$(INSTALL_DATA) $(TCL_LIB_FILE) $(LIB_INSTALL_DIR) ; \
@@ -562,8 +556,6 @@
@$(INSTALL_DATA) $(GENERIC_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h
@echo "Installing tclConfig.sh"
@$(INSTALL_DATA) tclConfig.sh $(LIB_INSTALL_DIR)/tclConfig.sh
- @rm -f $(LIB_INSTALL_DIR)/tcl
- $(LN_S) $(SCRIPT_INSTALL_DIR) $(LIB_INSTALL_DIR)/tcl
@for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex $(UNIX_DIR)/tclAppInit.c; \
do \
echo "Installing $$i"; \