diff options
author | jseger <jseger@FreeBSD.org> | 2000-01-05 15:11:54 +0800 |
---|---|---|
committer | jseger <jseger@FreeBSD.org> | 2000-01-05 15:11:54 +0800 |
commit | fd5b073b73c51875d52ea5888a2c68347f2b239b (patch) | |
tree | c3d3de9952b9b8769d166734436cfb8ad385b008 /lang/tcl82/files | |
parent | bc00d8761b6da61611b4223f8c9b526c58aa1b50 (diff) | |
download | freebsd-ports-gnome-fd5b073b73c51875d52ea5888a2c68347f2b239b.tar.gz freebsd-ports-gnome-fd5b073b73c51875d52ea5888a2c68347f2b239b.tar.zst freebsd-ports-gnome-fd5b073b73c51875d52ea5888a2c68347f2b239b.zip |
Upgrade to tcl 8.2.3
Diffstat (limited to 'lang/tcl82/files')
-rw-r--r-- | lang/tcl82/files/patch-aa | 26 | ||||
-rw-r--r-- | lang/tcl82/files/patch-ab | 17 |
2 files changed, 21 insertions, 22 deletions
diff --git a/lang/tcl82/files/patch-aa b/lang/tcl82/files/patch-aa index 347b053cfc41..07db0c35ca9e 100644 --- a/lang/tcl82/files/patch-aa +++ b/lang/tcl82/files/patch-aa @@ -6,8 +6,8 @@ # Directory in which to install the include file tcl.h: -INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include +INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/tcl$(VERSION) -+GENERIC_INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(PREFIX)/include/tcl$(VERSION)/generic -+UNIX_INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(PREFIX)/include/tcl$(VERSION)/unix ++GENERIC_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/generic ++UNIX_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/unix # Top-level directory in which to install manual entries: MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man @@ -34,7 +34,7 @@ all: binaries libraries doc -binaries: ${TCL_LIB_FILE} $(TCL_STUB_LIB_FILE) $(TCL_BUILD_EXP_FILE) tclsh -+binaries: ${TCL_LIB_FILE} $(TCL_STUB_LIB_FILE) $(TCL_BUILD_EXP_FILE) libtcl82.a tclsh ++binaries: ${TCL_LIB_FILE} $(TCL_STUB_LIB_FILE) $(TCL_BUILD_EXP_FILE) libtcl${SHORT_TCL_VER}.a tclsh libraries: @@ -42,13 +42,13 @@ ${TCL_LIB_FILE}: ${OBJS} ${STUB_LIB_FILE} rm -f ${TCL_LIB_FILE} @MAKE_LIB@ -+ ln -sf ${TCL_LIB_FILE} libtcl82.so ++ ln -sf ${TCL_LIB_FILE} libtcl${SHORT_TCL_VER}.so $(RANLIB) ${TCL_LIB_FILE} -+libtcl82.a: ${OBJS} -+ rm -f libtcl82.a -+ ar cr libtcl82.a ${OBJS} -+ $(RANLIB) libtcl82.a ++libtcl${SHORT_TCL_VER}.a: ${OBJS} ++ rm -f libtcl${SHORT_TCL_VER}.a ++ ar cr libtcl${SHORT_TCL_VER}.a ${OBJS} ++ $(RANLIB) libtcl${SHORT_TCL_VER}.a + ${STUB_LIB_FILE}: ${STUB_LIB_OBJS} rm -f ${STUB_LIB_FILE} @@ -57,13 +57,13 @@ @echo "Installing $(TCL_LIB_FILE)" chmod +x $(SRC_DIR)/install-sh @$(INSTALL_DATA) $(TCL_LIB_FILE) $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE) -+ @ln -sf $(TCL_LIB_FILE) $(LIB_INSTALL_DIR)/libtcl82.so ++ @ln -sf $(TCL_LIB_FILE) $(LIB_INSTALL_DIR)/libtcl${SHORT_TCL_VER}.so @(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TCL_LIB_FILE)) @chmod 555 $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE) -+ @echo "Installing libtcl82.a" -+ @$(INSTALL_DATA) libtcl82.a $(LIB_INSTALL_DIR)/libtcl82.a -+ @(cd $(LIB_INSTALL_DIR); $(RANLIB) libtcl82.a) -+ @chmod 555 $(LIB_INSTALL_DIR)/libtcl82.a ++ @echo "Installing libtcl${SHORT_TCL_VER}.a" ++ @$(INSTALL_DATA) libtcl${SHORT_TCL_VER}.a $(LIB_INSTALL_DIR)/libtcl${SHORT_TCL_VER}.a ++ @(cd $(LIB_INSTALL_DIR); $(RANLIB) libtcl${SHORT_TCL_VER}.a) ++ @chmod 555 $(LIB_INSTALL_DIR)/libtcl${SHORT_TCL_VER}.a @if test "$(TCL_BUILD_EXP_FILE)" != ""; then \ echo "Installing $(TCL_EXP_FILE)"; \ $(INSTALL_DATA) $(TCL_BUILD_EXP_FILE) \ diff --git a/lang/tcl82/files/patch-ab b/lang/tcl82/files/patch-ab index 6cda56a21351..85ee6265de11 100644 --- a/lang/tcl82/files/patch-ab +++ b/lang/tcl82/files/patch-ab @@ -1,11 +1,11 @@ ---- configure.orig Wed Nov 3 21:37:24 1999 -+++ configure Sun Nov 21 15:34:05 1999 +--- configure.orig Tue Dec 14 22:59:18 1999 ++++ configure Wed Jan 5 00:56:06 2000 @@ -4648,7 +4648,7 @@ EXTRA_CFLAGS="" TCL_EXPORT_FILE_SUFFIX="" UNSHARED_LIB_SUFFIX="" - TCL_TRIM_DOTS='`echo ${VERSION} | tr -d .`' -+ TCL_TRIM_DOTS=82 ++ TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ECHO_VERSION='`echo ${VERSION}`' TCL_LIB_VERSIONS_OK=ok CFLAGS_DEBUG=-g @@ -18,7 +18,7 @@ # Not available on all versions: check for include file. ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 -@@ -4922,16 +4922,21 @@ +@@ -4922,16 +4922,20 @@ fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 @@ -33,7 +33,6 @@ LD_SEARCH_FLAGS="" - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' + if eval "test \"`echo ${PORTOBJFORMAT}`\" = elf" ; then -+ echo "SHARED_LIB_SUFFIX JSEGER" + SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1' + SHLIB_LD="ld -shared -x -soname \$@" + else @@ -43,7 +42,7 @@ else echo "$ac_t""no" 1>&6 -@@ -4954,17 +4959,6 @@ +@@ -4954,17 +4958,6 @@ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' TCL_LIB_VERSIONS_OK=nodots ;; @@ -61,7 +60,7 @@ NEXTSTEP-*) SHLIB_CFLAGS="" SHLIB_LD="cc -nostdlib -r" -@@ -5371,7 +5365,7 @@ +@@ -5371,7 +5364,7 @@ SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}${SHLIB_SUFFIX}' fi if test "$UNSHARED_LIB_SUFFIX" = "" ; then @@ -70,7 +69,7 @@ fi -@@ -5628,11 +5622,7 @@ +@@ -5628,11 +5621,7 @@ # up the Tcl library. if test "$SHARED_BUILD" = "0" -o $TCL_NEEDS_EXP_FILE = 0; then @@ -83,7 +82,7 @@ TCL_BUILD_LIB_SPEC="-L`pwd` ${TCL_LIB_FLAG}" TCL_LIB_SPEC="-L${exec_prefix}/lib ${TCL_LIB_FLAG}" else -@@ -5678,11 +5668,7 @@ +@@ -5678,11 +5667,7 @@ TCL_STUB_LIB_FILE=${STUB_LIB_FILE} |