diff options
Diffstat (limited to 'lang/tcl80/files')
-rw-r--r-- | lang/tcl80/files/patch-aa | 30 | ||||
-rw-r--r-- | lang/tcl80/files/patch-ab | 23 |
2 files changed, 34 insertions, 19 deletions
diff --git a/lang/tcl80/files/patch-aa b/lang/tcl80/files/patch-aa index b16d8068a0ab..19c49a252d5b 100644 --- a/lang/tcl80/files/patch-aa +++ b/lang/tcl80/files/patch-aa @@ -1,15 +1,5 @@ ---- configure Fri Nov 7 09:28:05 1997 -+++ configure Fri Nov 21 23:36:13 1997 -@@ -3789,7 +3789,7 @@ - DL_LIBS="" - LD_FLAGS="" - LD_SEARCH_FLAGS="" -- TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.0' -+ TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.2' - - else - echo "$ac_t""no" 1>&6 -+++ Makefile.in Wed Oct 1 09:51:59 1997 +--- Makefile.in.orig Tue Nov 25 10:31:41 1997 ++++ Makefile.in Thu Sep 17 17:29:28 1998 @@ -55,7 +55,9 @@ BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin @@ -21,7 +11,7 @@ # Top-level directory in which to install manual entries: MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man -@@ -138,7 +140,7 @@ +@@ -133,7 +135,7 @@ # "install" around; better to use the install-sh script that comes # with the distribution, which is slower but guaranteed to work. @@ -30,7 +20,7 @@ INSTALL_PROGRAM = ${INSTALL} INSTALL_DATA = ${INSTALL} -m 644 -@@ -315,7 +317,7 @@ +@@ -310,15 +312,21 @@ SRCS = $(GENERIC_SRCS) $(UNIX_SRCS) @@ -39,8 +29,10 @@ # The following target is configured by autoconf to generate either # a shared library or non-shared library for Tcl. -@@ -324,6 +326,11 @@ + ${TCL_LIB_FILE}: ${OBJS} + rm -f ${TCL_LIB_FILE} @MAKE_LIB@ ++ ln -sf ${TCL_LIB_FILE} libtcl80.so $(RANLIB) ${TCL_LIB_FILE} +libtcl80.a: ${OBJS} @@ -51,7 +43,7 @@ # Make target which outputs the list of the .o contained in the Tcl lib # usefull to build a single big shared library containing Tcl and other # extensions. used for the Tcl Plugin. -- dl -@@ -415,7 +422,7 @@ +@@ -410,7 +418,7 @@ # some ranlibs write to current directory, and this might not always be # possible (e.g. if installing as root). @@ -60,7 +52,7 @@ @for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \ do \ if [ ! -d $$i ] ; then \ -@@ -429,18 +436,23 @@ +@@ -424,18 +432,23 @@ @$(INSTALL_DATA) $(TCL_LIB_FILE) $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE) @(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TCL_LIB_FILE)) @chmod 555 $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE) @@ -88,7 +80,7 @@ chmod 755 $$i; \ else true; \ fi; \ -@@ -454,8 +466,15 @@ +@@ -449,8 +462,15 @@ else true; \ fi; \ done; @@ -106,7 +98,7 @@ @for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex $(UNIX_DIR)/tclAppInit.c $(UNIX_DIR)/ldAix; \ do \ echo "Installing $$i"; \ -@@ -483,30 +502,37 @@ +@@ -478,30 +498,37 @@ @cd $(TOP_DIR)/doc; for i in *.1; \ do \ echo "Installing doc/$$i"; \ diff --git a/lang/tcl80/files/patch-ab b/lang/tcl80/files/patch-ab new file mode 100644 index 000000000000..5f838cee4470 --- /dev/null +++ b/lang/tcl80/files/patch-ab @@ -0,0 +1,23 @@ +--- configure.orig Tue Nov 25 10:31:42 1997 ++++ configure Wed Sep 16 21:30:16 1998 +@@ -3782,14 +3782,18 @@ + echo "$ac_t""yes" 1>&6 + + SHLIB_CFLAGS="-fpic" +- SHLIB_LD="ld -Bshareable -x" ++ SHLIB_LD="ld -Bshareable -x -soname \$@" + SHLIB_LD_LIBS="" + SHLIB_SUFFIX=".so" + DL_OBJS="tclLoadDl.o" + DL_LIBS="" + LD_FLAGS="" + LD_SEARCH_FLAGS="" +- TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.0' ++ if [ "$PORTOBJFORMAT" = "elf" ]; then ++ TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1' ++ else ++ TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.2' ++ fi + + else + echo "$ac_t""no" 1>&6 |