summaryrefslogtreecommitdiff
path: root/japanese/tk42/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/tk42/files/patch-ab')
-rw-r--r--japanese/tk42/files/patch-ab34
1 files changed, 28 insertions, 6 deletions
diff --git a/japanese/tk42/files/patch-ab b/japanese/tk42/files/patch-ab
index a34551c98725..d4d4de916649 100644
--- a/japanese/tk42/files/patch-ab
+++ b/japanese/tk42/files/patch-ab
@@ -1,5 +1,5 @@
---- ./unix/Makefile.in.ORIG Mon Feb 17 14:40:19 1997
-+++ ./unix/Makefile.in Mon Feb 17 14:58:24 1997
+--- ./unix/Makefile.in.ORIG Sun Sep 20 16:36:43 1998
++++ ./unix/Makefile.in Sun Sep 20 16:43:49 1998
@@ -56,7 +56,9 @@
BIN_DIR = $(exec_prefix)/bin
@@ -34,7 +34,17 @@
# To turn off the security checks that disallow incoming sends when
# the X server appears to be insecure, reverse the comments on the
-@@ -307,7 +309,7 @@
+@@ -291,6 +293,9 @@
+ rm -f @TK_LIB_FILE@
+ @MAKE_LIB@
+ $(RANLIB) @TK_LIB_FILE@
++.if ${PORTOBJFORMAT}X == elfX
++ ln -sf ${TK_LIB_FILE} `echo ${TK_LIB_FILE} | sed 's/\.so.*$$/.so/'`
++.endif
+
+ wish: $(WISH_OBJS) $(TK_LIB_FILE)
+ $(CC) @LD_FLAGS@ $(WISH_OBJS) @TK_BUILD_LIB_SPEC@ $(LIBS) \
+@@ -307,12 +312,12 @@
test: tktest
LD_LIBRARY_PATH=`pwd`:${TCL_BIN_DIR}:${LD_LIBRARY_PATH}; \
export LD_LIBRARY_PATH; \
@@ -43,7 +53,19 @@
TK_LIBRARY=$(TOP_DIR)/library; export TK_LIBRARY; \
( echo cd $(TOP_DIR)/tests\; source all\; exit ) \
| ./tktest -geometry +0+0
-@@ -335,10 +337,12 @@
+
+-install: install-binaries install-libraries install-demos install-man
++install: install-binaries install-libraries install-demos
+
+ # Note: before running ranlib below, must cd to target directory because
+ # some ranlibs write to current directory, and this might not always be
+@@ -332,13 +337,18 @@
+ @$(INSTALL_DATA) $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
+ @(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TK_LIB_FILE))
+ @chmod 555 $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
++.if ${PORTOBJFORMAT}X == elfX
++ @(cd $(LIB_INSTALL_DIR); ln -sf ${TK_LIB_FILE} `echo ${TK_LIB_FILE} | sed 's/\.so.*$$/.so/'`)
++.endif
@echo "Installing wish"
@$(INSTALL_PROGRAM) wish $(BIN_INSTALL_DIR)/wish$(VERSION)
@echo "Installing tkConfig.sh"
@@ -57,7 +79,7 @@
$(SCRIPT_INSTALL_DIR) ; \
do \
if [ ! -d $$i ] ; then \
-@@ -348,8 +352,18 @@
+@@ -348,8 +358,18 @@
else true; \
fi; \
done;
@@ -78,7 +100,7 @@
for i in $(SRC_DIR)/library/*.tcl $(SRC_DIR)/library/*.gif $(SRC_DIR)/library/*.xbm $(SRC_DIR)/library/tclIndex $(SRC_DIR)/library/prolog.ps $(UNIX_DIR)/tkAppInit.c; \
do \
echo "Installing $$i"; \
-@@ -401,28 +415,28 @@
+@@ -401,28 +421,28 @@
@cd $(SRC_DIR)/doc; for i in *.1; \
do \
echo "Installing doc/$$i"; \