From 2d29f5adc7a68124e7988e01c99c52474dea12be Mon Sep 17 00:00:00 2001 From: steve Date: Thu, 4 Jun 1998 17:31:04 +0000 Subject: Force 'sharedlibextension' to .so PR: 6809 Noticed by: Edwin Culp Suggested by: se --- net-mgmt/scotty3/files/patch-aa | 19 ------------------- net-mgmt/scotty3/files/patch-ac | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 19 deletions(-) create mode 100644 net-mgmt/scotty3/files/patch-ac (limited to 'net-mgmt') diff --git a/net-mgmt/scotty3/files/patch-aa b/net-mgmt/scotty3/files/patch-aa index 8ee8bc72f271..1011a6ae5a23 100644 --- a/net-mgmt/scotty3/files/patch-aa +++ b/net-mgmt/scotty3/files/patch-aa @@ -1,22 +1,3 @@ ---- Makefile.in~ Fri Sep 13 07:42:06 1996 -+++ Makefile.in Fri Sep 13 09:28:45 1996 -@@ -567,10 +567,14 @@ - fi; \ - done; - @echo "Installing tkined$(TNM_VERSION) and tkined$(TNM_VERSION)$(SHLIB_SUFFIX)" -- @$(INSTALL_PROGRAM) $(UNIX_DIR)/tkined $(BIN_INSTALL_DIR)/tkined$(TKI_VERSION) -+ @sed s,@PREFIX@,${prefix},g tkined.sh.in >tkined.sh -+ @$(INSTALL) -m 555 ${UNIX_DIR}/tkined.sh ${BIN_INSTALL_DIR}/tkined -+ @$(INSTALL) -m 555 $(UNIX_DIR)/tkined $(BIN_INSTALL_DIR)/tkined$(TKI_VERSION) -+ @sed s,@PREFIX@,${prefix},g scotty.sh.in >scotty.sh -+ @$(INSTALL) -m 555 ${UNIX_DIR}/scotty.sh ${BIN_INSTALL_DIR}/scotty - @$(INSTALL_DATA) tkined$(SHLIB_SUFFIX) $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION)$(SHLIB_SUFFIX) - @chmod 555 $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION)$(SHLIB_SUFFIX) -- @echo 'package ifneeded Tkined $(TKI_VERSION) "load $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION)[info sharedlibextension]"' > $(TKI_INSTALL_DIR)/pkgIndex.tcl -+ @echo 'package ifneeded Tkined $(TKI_VERSION) "load $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION).so"' > $(TKI_INSTALL_DIR)/pkgIndex.tcl - @$(INSTALL_DATA) $(TKI_DIR)/tkined.defaults $(TKI_INSTALL_DIR) - - tki-install-library: --- tkined.sh.in~ Fri Sep 13 09:30:41 1996 +++ tkined.sh.in Fri Sep 13 09:26:21 1996 @@ -0,0 +1,3 @@ diff --git a/net-mgmt/scotty3/files/patch-ac b/net-mgmt/scotty3/files/patch-ac new file mode 100644 index 000000000000..b681149c7bdb --- /dev/null +++ b/net-mgmt/scotty3/files/patch-ac @@ -0,0 +1,28 @@ +--- Makefile.in.orig Thu Jun 4 12:15:55 1998 ++++ Makefile.in Thu Jun 4 12:22:39 1998 +@@ -490,7 +490,7 @@ + @$(INSTALL_PROGRAM) scotty $(BIN_INSTALL_DIR)/scotty$(TNM_VERSION) + @$(INSTALL_DATA) tnm$(SHLIB_SUFFIX) $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION)$(SHLIB_SUFFIX) + @chmod 555 $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION)$(SHLIB_SUFFIX) +- @echo 'package ifneeded Tnm $(TNM_VERSION) "load $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION)[info sharedlibextension]"' > $(TNM_INSTALL_DIR)/pkgIndex.tcl ++ @echo 'package ifneeded Tnm $(TNM_VERSION) "load $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION).so"' > $(TNM_INSTALL_DIR)/pkgIndex.tcl + + tnm-install-mibs: + @for i in $(TNM_INSTALL_DIR)/mibs ; \ +@@ -589,10 +589,14 @@ + fi; \ + done; + @echo "Installing tkined$(TNM_VERSION) and tkined$(TNM_VERSION)$(SHLIB_SUFFIX)" +- @$(INSTALL_PROGRAM) $(UNIX_DIR)/tkined $(BIN_INSTALL_DIR)/tkined$(TKI_VERSION) ++ @sed s,@PREFIX@,${prefix},g tkined.sh.in >tkined.sh ++ @$(INSTALL) -m 555 ${UNIX_DIR}/tkined.sh ${BIN_INSTALL_DIR}/tkined ++ @$(INSTALL) -m 555 $(UNIX_DIR)/tkined $(BIN_INSTALL_DIR)/tkined$(TKI_VERSION) ++ @sed s,@PREFIX@,${prefix},g scotty.sh.in >scotty.sh ++ @$(INSTALL) -m 555 ${UNIX_DIR}/scotty.sh ${BIN_INSTALL_DIR}/scotty + @$(INSTALL_DATA) tkined$(SHLIB_SUFFIX) $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION)$(SHLIB_SUFFIX) + @chmod 555 $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION)$(SHLIB_SUFFIX) +- @echo 'package ifneeded Tkined $(TKI_VERSION) "load $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION)[info sharedlibextension]"' > $(TKI_INSTALL_DIR)/pkgIndex.tcl ++ @echo 'package ifneeded Tkined $(TKI_VERSION) "load $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION).so"' > $(TKI_INSTALL_DIR)/pkgIndex.tcl + @$(INSTALL_DATA) $(TKI_DIR)/tkined.defaults $(TKI_INSTALL_DIR) + + tki-install-library: -- cgit