diff options
author | jseger <jseger@FreeBSD.org> | 1999-06-20 14:05:44 +0000 |
---|---|---|
committer | jseger <jseger@FreeBSD.org> | 1999-06-20 14:05:44 +0000 |
commit | 77fcc3cf24831abea48e72fb5fe0bea88bd3e3e5 (patch) | |
tree | 205f5c206e1c52da70666ca2b02b2863be41b8d4 /lang/tcl83/files | |
parent | f3c98de99cdb4278b9dd535fee18a8e705d5b892 (diff) | |
download | FreeBSD-ports-77fcc3cf24831abea48e72fb5fe0bea88bd3e3e5.zip FreeBSD-ports-77fcc3cf24831abea48e72fb5fe0bea88bd3e3e5.tar.gz |
Upgrade to tcl and tk 8.1.
Move NO_LATEST_LINK from tcl81 and tk81 to tcl80 and tk80.
Submitted by: YAZAKI Hiroyuki <yazaki@nn.iij4u.or.jp>
Diffstat (limited to 'lang/tcl83/files')
-rw-r--r-- | lang/tcl83/files/patch-aa | 57 | ||||
-rw-r--r-- | lang/tcl83/files/patch-ab | 45 |
2 files changed, 74 insertions, 28 deletions
diff --git a/lang/tcl83/files/patch-aa b/lang/tcl83/files/patch-aa index 8cbda80..b158373 100644 --- a/lang/tcl83/files/patch-aa +++ b/lang/tcl83/files/patch-aa @@ -1,5 +1,5 @@ ---- Makefile.in.orig Fri Dec 11 18:36:13 1998 -+++ Makefile.in Sat Jan 2 14:47:02 1999 +--- Makefile.in.orig Fri Apr 30 08:23:33 1999 ++++ Makefile.in Tue May 11 01:48:45 1999 @@ -55,7 +55,9 @@ BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin @@ -20,7 +20,7 @@ # To disable ANSI-C procedure prototypes reverse the comment characters -@@ -152,7 +154,7 @@ +@@ -161,7 +163,7 @@ # "install" around; better to use the install-sh script that comes # with the distribution, which is slower but guaranteed to work. @@ -29,16 +29,16 @@ INSTALL_PROGRAM = ${INSTALL} INSTALL_DATA = ${INSTALL} -m 644 -@@ -357,15 +359,21 @@ +@@ -391,15 +393,21 @@ - SRCS = $(GENERIC_SRCS) $(UNIX_SRCS) + SRCS = $(GENERIC_SRCS) $(UNIX_SRCS) $(STUB_SRCS) --all: ${TCL_LIB_FILE} tclsh -+all: ${TCL_LIB_FILE} libtcl81.a tclsh +-all: ${TCL_LIB_FILE} $(TCL_STUB_LIB_FILE) tclsh ++all: ${TCL_LIB_FILE} $(TCL_STUB_LIB_FILE) libtcl81.a tclsh # The following target is configured by autoconf to generate either # a shared library or non-shared library for Tcl. - ${TCL_LIB_FILE}: ${OBJS} + ${TCL_LIB_FILE}: ${OBJS} ${STUB_LIB_FILE} rm -f ${TCL_LIB_FILE} @MAKE_LIB@ + ln -sf ${TCL_LIB_FILE} libtcl81.so @@ -49,19 +49,19 @@ + ar cr libtcl81.a ${OBJS} + $(RANLIB) libtcl81.a + - # 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 -@@ -459,7 +467,7 @@ - # some ranlibs write to current directory, and this might not always be + ${STUB_LIB_FILE}: ${STUB_LIB_OBJS} + rm -f ${STUB_LIB_FILE} + @MAKE_STUB_LIB@ +@@ -499,7 +507,7 @@ # possible (e.g. if installing as root). --install-binaries: $(TCL_LIB_FILE) tclsh -+install-binaries: $(TCL_LIB_FILE) libtcl81.a tclsh + install-binaries: $(TCL_LIB_FILE) $(TCL_STUB_LIB_FILE) $(TCL_BUILD_EXP_FILE) \ +- tclsh ++ libtcl81.a tclsh @for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \ do \ if [ ! -d $$i ] ; then \ -@@ -471,16 +479,22 @@ +@@ -511,8 +519,13 @@ done; @echo "Installing $(TCL_LIB_FILE)" @$(INSTALL_DATA) $(TCL_LIB_FILE) $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE) @@ -72,12 +72,21 @@ + @$(INSTALL_DATA) libtcl81.a $(LIB_INSTALL_DIR)/libtcl81.a + @(cd $(LIB_INSTALL_DIR); $(RANLIB) libtcl81.a) + @chmod 555 $(LIB_INSTALL_DIR)/libtcl81.a + @if test "$(TCL_BUILD_EXP_FILE)" != ""; then \ + echo "Installing $(TCL_EXP_FILE)"; \ + $(INSTALL_DATA) $(TCL_BUILD_EXP_FILE) \ +@@ -521,7 +534,8 @@ @echo "Installing tclsh" @$(INSTALL_PROGRAM) tclsh $(BIN_INSTALL_DIR)/tclsh$(VERSION) @echo "Installing tclConfig.sh" - @$(INSTALL_DATA) tclConfig.sh $(LIB_INSTALL_DIR)/tclConfig.sh + @mkdir -p $(SCRIPT_INSTALL_DIR) + @$(INSTALL_DATA) tclConfig.sh $(SCRIPT_INSTALL_DIR)/tclConfig.sh + @if test "$(TCL_STUB_LIB_FILE)" != "" ; then \ + echo "Installing $(TCL_STUB_LIB_FILE)"; \ + $(INSTALL_DATA) $(STUB_LIB_FILE) \ +@@ -529,8 +543,8 @@ + fi install-libraries: - @for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \ @@ -87,25 +96,26 @@ do \ if [ ! -d $$i ] ; then \ echo "Making directory $$i"; \ -@@ -498,8 +512,15 @@ +@@ -548,11 +562,16 @@ else true; \ fi; \ done; -- @echo "Installing tcl.h" -- @$(INSTALL_DATA) $(GENERIC_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h +- @for i in $(GENERIC_DIR)/tcl.h $(GENERIC_DIR)/tclDecls.h ; \ + @echo "Installing libraries, tcl.h and other headers" + @for i in $(GENERIC_DIR)/*.h ; \ -+ do \ -+ echo "Installing $$i"; \ + do \ + echo "Installing $$i"; \ +- $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR); \ + $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \ -+ done; + done; + @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h ++ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tclDecls.h $(INCLUDE_INSTALL_DIR)/tclDecls.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"; \ -@@ -531,30 +552,34 @@ +@@ -584,30 +603,35 @@ @cd $(TOP_DIR)/doc; for i in *.1; \ do \ echo "Installing doc/$$i"; \ @@ -147,6 +157,7 @@ + @echo "**********" + @echo "tclConfig.sh in $(SCRIPT_INSTALL_DIR)/tclConfig.sh" + @echo "tcl.h in $(INCLUDE_INSTALL_DIR)/tcl.h" ++ @echo "tclDecls.h in $(INCLUDE_INSTALL_DIR)/tclDecls.h" + @echo "There are NOT default place, but good place to avoid" + @echo "conflicting with another version of Tcl/Tks." diff --git a/lang/tcl83/files/patch-ab b/lang/tcl83/files/patch-ab index 76921d7..551b0c2 100644 --- a/lang/tcl83/files/patch-ab +++ b/lang/tcl83/files/patch-ab @@ -1,6 +1,15 @@ ---- configure.orig Fri Dec 11 18:36:14 1998 -+++ configure Sat Jan 2 15:04:24 1999 -@@ -4330,14 +4330,19 @@ +--- configure.orig Fri Apr 30 08:23:33 1999 ++++ configure Tue May 11 01:25:32 1999 +@@ -4384,7 +4384,7 @@ + LD_FLAGS="-Wl,-Bexport" + LD_SEARCH_FLAGS="" + ;; +- NetBSD-*|FreeBSD-12.*|OpenBSD-*) ++ NetBSD-*|FreeBSD-*|OpenBSD-*) + # Not available on all versions: check for include file. + ac_safe=`echo "dlfcn.h" | tr './\055' '___'` + echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 +@@ -4413,14 +4413,19 @@ echo "$ac_t""yes" 1>&6 SHLIB_CFLAGS="-fpic" @@ -13,12 +22,38 @@ LD_SEARCH_FLAGS="" - TCL_SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' + if eval "test \"`echo ${PORTOBJFORMAT}`\" = elf"; then -+ TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1' ++ TCL_SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1' + SHLIB_LD="ld -shared -x -soname \$@" + else -+ TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.0' ++ TCL_SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0' + SHLIB_LD="ld -Bshareable -x" + fi else echo "$ac_t""no" 1>&6 +@@ -4443,17 +4448,6 @@ + TCL_UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' + TCL_LIB_VERSIONS_OK=nodots + ;; +- FreeBSD-*) +- # FreeBSD 3.* and greater have ELF. +- SHLIB_CFLAGS="-fpic" +- SHLIB_LD="ld -Bshareable -x" +- SHLIB_LD_LIBS="" +- SHLIB_SUFFIX=".so" +- DL_OBJS="tclLoadDl.o" +- DL_LIBS="" +- LD_FLAGS="" +- LD_SEARCH_FLAGS="" +- ;; + NEXTSTEP-*) + SHLIB_CFLAGS="" + SHLIB_LD="cc -nostdlib -r" +@@ -5100,6 +5094,7 @@ + # stub support. + #-------------------------------------------------------------------- + # Replace ${VERSION} with contents of ${TCL_VERSION} ++${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0 + eval "STUB_LIB_FILE=libtclstub${TCL_UNSHARED_LIB_SUFFIX}" + # Replace DBGX with TCL_DBGX + eval "STUB_LIB_FILE=\"${STUB_LIB_FILE}\"" |