Explicitly remove the linkname before trying to link it again.

This commit is contained in:
agc 1999-04-01 09:57:07 +00:00
parent ac38ab5c61
commit 3bb0987aae

View file

@ -1,4 +1,6 @@
$NetBSD: patch-aa,v 1.9 1998/09/17 16:38:21 agc Exp $
$NetBSD: patch-aa,v 1.10 1999/04/01 09:57:07 agc Exp $
Configure this for libtool operation
--- Makefile.in.orig Tue Nov 25 16:31:41 1997
+++ Makefile.in Thu Sep 17 17:24:53 1998
@ -90,7 +92,7 @@ $NetBSD: patch-aa,v 1.9 1998/09/17 16:38:21 agc Exp $
chmod 755 $$i; \
else true; \
fi; \
@@ -449,8 +447,15 @@
@@ -449,8 +447,16 @@
else true; \
fi; \
done;
@ -102,13 +104,14 @@ $NetBSD: patch-aa,v 1.9 1998/09/17 16:38:21 agc Exp $
+ echo "Installing $$i"; \
+ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
+ done;
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h
+ @rm -f ${INCLUDE_INSTALL_DIR}/tcl.h
+ @ln -s $(GENERIC_INCLUDE_INSTALL_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h
+ @echo "Installing $(TOP_DIR)unix/tclUnixPort.h"
+ @$(INSTALL_DATA) $(TOP_DIR)/unix/tclUnixPort.h $(UNIX_INCLUDE_INSTALL_DIR)
@for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex $(UNIX_DIR)/tclAppInit.c $(UNIX_DIR)/ldAix; \
do \
echo "Installing $$i"; \
@@ -502,6 +507,13 @@
@@ -502,6 +508,13 @@
chmod 444 $(MANN_INSTALL_DIR)/$$i; \
done;
$(UNIX_DIR)/mkLinks $(MANN_INSTALL_DIR)
@ -122,7 +125,7 @@ $NetBSD: patch-aa,v 1.9 1998/09/17 16:38:21 agc Exp $
Makefile: $(UNIX_DIR)/Makefile.in
$(SHELL) config.status
@@ -555,239 +567,239 @@
@@ -555,239 +568,239 @@
# Object files used on all Unix systems:
panic.o: $(GENERIC_DIR)/panic.c