From owner-svn-ports-all@FreeBSD.ORG Mon Dec 3 08:49:59 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 23296C10; Mon, 3 Dec 2012 08:49:59 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 0546E8FC12; Mon, 3 Dec 2012 08:49:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB38nwiR085188; Mon, 3 Dec 2012 08:49:58 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB38nwol085181; Mon, 3 Dec 2012 08:49:58 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201212030849.qB38nwol085181@svn.freebsd.org> From: Pietro Cerutti Date: Mon, 3 Dec 2012 08:49:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308126 - in head: lang/tcl85 lang/tcl85/files x11-toolkits/tk85 x11-toolkits/tk85/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 08:49:59 -0000 Author: gahr Date: Mon Dec 3 08:49:58 2012 New Revision: 308126 URL: http://svnweb.freebsd.org/changeset/ports/308126 Log: - Update to Tcl/Tk 8.5.13 Release notes: http://sf.net/mailarchive/message.php?msg_id=30090852 PR: ports/173753 (based on) Submitted by: Chris Petrik Feature safe: yes Deleted: head/lang/tcl85/files/patch-uk-locale Modified: head/lang/tcl85/Makefile head/lang/tcl85/distinfo (contents, props changed) head/lang/tcl85/files/patch-unix-Makefile.in (contents, props changed) head/lang/tcl85/pkg-plist.tm (contents, props changed) head/x11-toolkits/tk85/Makefile (contents, props changed) head/x11-toolkits/tk85/distinfo (contents, props changed) head/x11-toolkits/tk85/files/patch-unix::Makefile.in (contents, props changed) Modified: head/lang/tcl85/Makefile ============================================================================== --- head/lang/tcl85/Makefile Mon Dec 3 08:40:58 2012 (r308125) +++ head/lang/tcl85/Makefile Mon Dec 3 08:49:58 2012 (r308126) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME?= tcl -PORTVERSION= 8.5.12 -PORTREVISION= 2 +PORTVERSION= 8.5.13 CATEGORIES= lang MASTER_SITES= SF/tcl/Tcl/${PORTVERSION} PKGNAMESUFFIX?= ${THREADS_SUFFIX}${PKGNAMESUFFIX2} @@ -31,7 +30,7 @@ EXTRACT_AFTER_ARGS=|${TAR} -xpf - --excl .if !defined(BUILDING_TCL_THREADS) && !defined(BUILDING_TCL_TM) OPTIONS_DEFINE= TCL85_MAN TZDATA TCL_MODULES -OPTIONS_DEFAULT= TCL_MODULES +OPTIONS_DEFAULT=TCL_MODULES TCL85_MAN_DESC=Install tcl 8.5 function manpages TZDATA_DESC=Install tcl timezone data TCL_MODULES_DESC=Install tcl common modules Modified: head/lang/tcl85/distinfo ============================================================================== --- head/lang/tcl85/distinfo Mon Dec 3 08:40:58 2012 (r308125) +++ head/lang/tcl85/distinfo Mon Dec 3 08:49:58 2012 (r308126) @@ -1,2 +1,2 @@ -SHA256 (tcl8.5.12-src.tar.gz) = 20ba7a10a30571983afd3599f19b441adb5222b21f1d2b27d0fba3ed8d4707c2 -SIZE (tcl8.5.12-src.tar.gz) = 4501505 +SHA256 (tcl8.5.13-src.tar.gz) = 9b868dd563e65671a26fcf518b6b86c1bb1b6756f48fdc90f04301d4f3a6596a +SIZE (tcl8.5.13-src.tar.gz) = 4513204 Modified: head/lang/tcl85/files/patch-unix-Makefile.in ============================================================================== --- head/lang/tcl85/files/patch-unix-Makefile.in Mon Dec 3 08:40:58 2012 (r308125) +++ head/lang/tcl85/files/patch-unix-Makefile.in Mon Dec 3 08:49:58 2012 (r308126) @@ -1,5 +1,5 @@ ---- Makefile.in.orig 2012-07-25 18:45:05.000000000 +0200 -+++ Makefile.in 2012-08-02 15:10:04.590514599 +0200 +--- Makefile.in.bak 2012-11-20 23:39:58.000000000 -0600 ++++ Makefile.in 2012-11-20 23:47:34.000000000 -0600 @@ -54,6 +54,8 @@ # Directory in which to install the include file tcl.h: @@ -9,16 +9,7 @@ # Path to the private tcl header dir: PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@ -@@ -100,7 +102,7 @@ - #CFLAGS = $(CFLAGS_DEBUG) - #CFLAGS = $(CFLAGS_OPTIMIZE) - #CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE) --CFLAGS = @CFLAGS_DEFAULT@ @CFLAGS@ -+CFLAGS += @CFLAGS_DEFAULT@ @CFLAGS@ - - # Flags to pass to the linker - LDFLAGS_DEBUG = @LDFLAGS_DEBUG@ -@@ -541,7 +543,7 @@ +@@ -542,7 +544,7 @@ all: binaries libraries doc @@ -27,15 +18,14 @@ libraries: -@@ -552,6 +554,15 @@ +@@ -553,6 +555,14 @@ ${LIB_FILE}: ${OBJS} ${STUB_LIB_FILE} rm -f $@ @MAKE_LIB@ + @ln -sf $(LIB_FILE) ./libtcl${SHORT_TCL_VER}.so + if test "x@DL_OBJS@" = "xtclLoadAout.o"; then \ + $(RANLIB) ${LIB_FILE}; \ -+ fi -+ ++ fi; +libtcl${SHORT_TCL_VER}.a: ${OBJS} + rm -f libtcl${SHORT_TCL_VER}.a + ar cr libtcl${SHORT_TCL_VER}.a ${OBJS} @@ -43,7 +33,7 @@ ${STUB_LIB_FILE}: ${STUB_LIB_OBJS} rm -f $@ -@@ -693,7 +704,7 @@ +@@ -694,7 +704,7 @@ dltest.marker: ${STUB_LIB_FILE} cd dltest ; $(MAKE) @@ -52,7 +42,7 @@ install: $(INSTALL_TARGETS) -@@ -723,10 +734,18 @@ +@@ -720,10 +730,17 @@ @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/" @@INSTALL_LIB@ @chmod 555 "$(DLL_INSTALL_DIR)"/$(LIB_FILE) @@ -62,18 +52,17 @@ + "$(DLL_INSTALL_DIR)"/libtcl${SHORT_TCL_VER}.a + @(cd "$(DLL_INSTALL_DIR)"; $(RANLIB) libtcl${SHORT_TCL_VER}.a) + @chmod 555 "$(DLL_INSTALL_DIR)"/libtcl${SHORT_TCL_VER}.a -+ @echo "Installing ${TCL_EXE} as $(BIN_INSTALL_DIR)/tclsh$(VERSION)@EXEEXT@" - @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)"/tclsh$(VERSION)@EXEEXT@ -- @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/" -- @$(INSTALL_DATA) tclConfig.sh "$(CONFIG_INSTALL_DIR)"/tclConfig.sh + @echo "Installing tclConfig.sh to $(SCRIPT_INSTALL_DIR)/" + @mkdir -p "$(SCRIPT_INSTALL_DIR)" + @$(INSTALL_DATA) tclConfig.sh "$(SCRIPT_INSTALL_DIR)"/tclConfig.sh + @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)"/tclsh$(VERSION)@EXEEXT@ +- @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/" +- @$(INSTALL_DATA) tclConfig.sh "$(CONFIG_INSTALL_DIR)"/tclConfig.sh @if test "$(STUB_LIB_FILE)" != "" ; then \ echo "Installing $(STUB_LIB_FILE) to $(LIB_INSTALL_DIR)/"; \ @INSTALL_STUB_LIB@ ; \ -@@ -734,7 +753,8 @@ +@@ -731,7 +748,8 @@ @EXTRA_INSTALL_BINARIES@ install-libraries: libraries $(INSTALL_TZDATA) install-msgs @@ -83,7 +72,7 @@ do \ if [ ! -d "$$i" ] ; then \ echo "Making directory $$i"; \ -@@ -743,7 +763,7 @@ +@@ -739,7 +757,7 @@ else true; \ fi; \ done; @@ -92,10 +81,10 @@ do \ if [ ! -d "$(SCRIPT_INSTALL_DIR)"/$$i ] ; then \ echo "Making directory $(SCRIPT_INSTALL_DIR)/$$i"; \ -@@ -756,13 +776,17 @@ - chmod +x $(SRC_DIR)/../unix/install-sh; \ - fi - @echo "Installing header files"; +@@ -748,13 +766,17 @@ + fi; \ + done; + @echo "Installing header files to $(INCLUDE_INSTALL_DIR)/"; - @for i in $(GENERIC_DIR)/tcl.h $(GENERIC_DIR)/tclDecls.h \ - $(GENERIC_DIR)/tclPlatDecls.h \ - $(GENERIC_DIR)/tclTomMath.h \ @@ -112,22 +101,22 @@ + @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 + @ln -sf "$(GENERIC_INCLUDE_INSTALL_DIR)"/tclPlatDecls.h "$(INCLUDE_INSTALL_DIR)"/tclPlatDecls.h - @echo "Installing library files to $(SCRIPT_INSTALL_DIR)"; + @echo "Installing library files to $(SCRIPT_INSTALL_DIR)/"; @for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex \ $(UNIX_DIR)/tclAppInit.c @LDAIX_SRC@ @DTRACE_SRC@; \ -@@ -774,22 +798,11 @@ +@@ -766,23 +788,11 @@ do \ $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/http1.0; \ done; -- @echo "Installing package http 2.7.9 as a Tcl Module"; -- @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/http-2.7.9.tm; - @echo "Installing library opt0.4 directory"; +- @echo "Installing package http 2.7.10 as a Tcl Module"; +- @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/http-2.7.10.tm; + @echo "Installing package opt0.4 files to $(SCRIPT_INSTALL_DIR)/opt0.4/"; @for i in $(TOP_DIR)/library/opt/*.tcl ; \ do \ $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/opt0.4; \ done; -- @echo "Installing package msgcat 1.4.5 as a Tcl Module"; -- @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/msgcat-1.4.5.tm; +- @echo "Installing package msgcat 1.5.0 as a Tcl Module"; +- @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/msgcat-1.5.0.tm; - @echo "Installing package tcltest 2.3.4 as a Tcl Module"; - @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/tcltest-2.3.4.tm; - @@ -135,27 +124,28 @@ - @$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/platform-1.0.10.tm; - @echo "Installing package platform::shell 1.1.4 as a Tcl Module"; - @$(INSTALL_DATA) $(TOP_DIR)/library/platform/shell.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/platform/shell-1.1.4.tm; - - @echo "Installing library encoding directory"; +- + @echo "Installing encoding files to $(SCRIPT_INSTALL_DIR)/encoding/"; @for i in $(TOP_DIR)/library/encoding/*.enc ; do \ -@@ -801,6 +814,28 @@ + $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/encoding; \ +@@ -792,6 +802,27 @@ + echo "if {![interp issafe]} { ::tcl::tm::roots {$(TCL_MODULE_PATH)} }" >> \ "$(SCRIPT_INSTALL_DIR)"/tm.tcl; \ fi - +install-tm: + @for i in tcl8 tcl8/8.4 tcl8/8.4/platform tcl8/8.5; \ + do \ -+ if [ ! -d "$(LIB_INSTALL_DIR)"/$$i ] ; then \ ++ if [ ! -d "$(LIB_INSTALL_DIR)"/$$i ] ; then \ + echo "Making directory $(LIB_INSTALL_DIR)/$$i"; \ + mkdir -p "$(LIB_INSTALL_DIR)"/$$i; \ + chmod 755 "$(LIB_INSTALL_DIR)"/$$i; \ + else true; \ + fi; \ -+ done; -+ @echo "Installing package http 2.7.9 as a Tcl Module"; -+ @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.4/http-2.7.9.tm; -+ @echo "Installing package msgcat 1.4.5 as a Tcl Module"; -+ @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.5/msgcat-1.4.5.tm; ++ done; ++ @echo "Installing package http 2.7.10 as a Tcl Module"; ++ @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.4/http-2.7.10.tm; ++ @echo "Installing package msgcat 1.5.0 as a Tcl Module"; ++ @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.5/msgcat-1.5.0.tm; + @echo "Installing package tcltest 2.3.4 as a Tcl Module"; + @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.5/tcltest-2.3.4.tm; + @@ -163,31 +153,29 @@ + @$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.4/platform-1.0.10.tm; + @echo "Installing package platform::shell 1.1.4 as a Tcl Module"; + @$(INSTALL_DATA) $(TOP_DIR)/library/platform/shell.tcl "$(LIB_INSTALL_DIR)"/tcl8/8.4/platform/shell-1.1.4.tm; -+ + install-tzdata: ${TCL_EXE} - @echo "Installing time zone data" - @@LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \ -@@ -825,21 +860,26 @@ + @echo "Installing time zone files to $(SCRIPT_INSTALL_DIR)/tzdata/" +@@ -823,18 +854,23 @@ else true; \ fi; \ done; -- @echo "Installing and cross-linking top-level (.1) docs"; +- @echo "Installing and cross-linking top-level (.1) docs to $(MAN1_INSTALL_DIR)/"; - @for i in $(TOP_DIR)/doc/*.1; do \ - $(SHELL) $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MAN1_INSTALL_DIR)"; \ - done - - @echo "Installing and cross-linking C API (.3) docs"; + @echo "Installing and cross-linking C API (.3) docs to $(MAN3_INSTALL_DIR)/"; @for i in $(TOP_DIR)/doc/*.3; do \ - $(SHELL) $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MAN3_INSTALL_DIR)"; \ -+ $(BSD_INSTALL_MAN) $$i "$(MAN3_INSTALL_DIR)"; \ - done - - @echo "Installing and cross-linking command (.n) docs"; +- done ++ $(BSD_INSTALL_MAN) $$i "$(MAN3_INSTALL_DIR)"; \ ++ done; + @echo "Installing and cross-linking command (.n) docs to $(MANN_INSTALL_DIR)/"; @for i in $(TOP_DIR)/doc/*.n; do \ - $(SHELL) $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MANN_INSTALL_DIR)"; \ -+ $(BSD_INSTALL_MAN) $$i "$(MANN_INSTALL_DIR)"; \ - done - +- done ++ $(BSD_INSTALL_MAN) $$i "$(MANN_INSTALL_DIR)"; \ ++ done; + @echo "**********" + @echo "IMPORTANT:" + @echo "**********" @@ -197,6 +185,24 @@ + @echo "There are NOT default place, but good place to avoid" + @echo "conflicting with another version of Tcl/Tks." + + # Optional target to install private headers install-private-headers: libraries - @for i in "$(PRIVATE_INCLUDE_INSTALL_DIR)"; \ +@@ -1537,7 +1573,7 @@ + match=1; \ + fi; \ + done; \ +- if [ $$match -eq 0 ]; then echo $$i; fi \ ++ if [ $$match -eq 0 ]; then echo $$i; fi; \ + done + + # +@@ -1554,7 +1590,7 @@ + match=1; \ + fi; \ + done; \ +- if [ $$match -eq 0 ]; then echo $$i; fi \ ++ if [ $$match -eq 0 ]; then echo $$i; fi; \ + done + + # Modified: head/lang/tcl85/pkg-plist.tm ============================================================================== --- head/lang/tcl85/pkg-plist.tm Mon Dec 3 08:40:58 2012 (r308125) +++ head/lang/tcl85/pkg-plist.tm Mon Dec 3 08:49:58 2012 (r308126) @@ -1,7 +1,7 @@ -lib/tcl8/8.4/http-2.7.9.tm +lib/tcl8/8.4/http-2.7.10.tm lib/tcl8/8.4/platform/shell-1.1.4.tm lib/tcl8/8.4/platform-1.0.10.tm -lib/tcl8/8.5/msgcat-1.4.5.tm +lib/tcl8/8.5/msgcat-1.5.0.tm lib/tcl8/8.5/tcltest-2.3.4.tm @dirrmtry lib/tcl8/8.4/platform @dirrmtry lib/tcl8/8.4 Modified: head/x11-toolkits/tk85/Makefile ============================================================================== --- head/x11-toolkits/tk85/Makefile Mon Dec 3 08:40:58 2012 (r308125) +++ head/x11-toolkits/tk85/Makefile Mon Dec 3 08:49:58 2012 (r308126) @@ -6,7 +6,7 @@ # PORTNAME= tk -PORTVERSION= 8.5.12 +PORTVERSION= 8.5.13 CATEGORIES= x11-toolkits MASTER_SITES= SF/tcl/Tcl/${PORTVERSION} PKGNAMESUFFIX?= ${THREADS_SUFFIX} @@ -42,7 +42,7 @@ USE_TCL= ${SHORT_TK_VER} OPTIONS_DEFINE= TK85_MAN XFT DEMOS OPTIONS_DEFAULT= XFT TK85_MAN_DESC= Install tk 8.5 function manpages -XFT_DESC= Use Xft fonts +XFT_DESC= Use Xft fonts DEMOS_DESC= Install demos .else @@ -414,7 +414,7 @@ pre-everything:: post-patch: @${REINPLACE_CMD} -e 's|X11/Intrinsic.h|X11/Xlib.h|g' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|@TK_SHARED_BUILD@|#@TK_SHARED_BUILD@|g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|@TK_SHARED_BUILD@|#@TK_SHARED_BUILD@|g; s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|wish |wish${TCL_VER}${THREADS_SUFFIX} |g' -e 's|Wish |Wish${TCL_VER}${THREADS_SUFFIX} |g' \ -e 's|wish\\fR|wish${TCL_VER}${THREADS_SUFFIX}\\fR|g' -e 's|Wish\\fR|Wish${TCL_VER}${THREADS_SUFFIX}\\fR|g' \ -e 's|^.so man.macros|.so ${DATADIR}/man.macros|' \ Modified: head/x11-toolkits/tk85/distinfo ============================================================================== --- head/x11-toolkits/tk85/distinfo Mon Dec 3 08:40:58 2012 (r308125) +++ head/x11-toolkits/tk85/distinfo Mon Dec 3 08:49:58 2012 (r308126) @@ -1,2 +1,2 @@ -SHA256 (tk8.5.12-src.tar.gz) = c453d820925bf526bbe8a0d1c17ab3168b076fcb9844bea797ad75e3b9ad9291 -SIZE (tk8.5.12-src.tar.gz) = 3826062 +SHA256 (tk8.5.13-src.tar.gz) = 9e83ba2704ad73a65986eb7cdc51e432a5db6eca8d8691e33caceef40ed0c563 +SIZE (tk8.5.13-src.tar.gz) = 4086092 Modified: head/x11-toolkits/tk85/files/patch-unix::Makefile.in ============================================================================== --- head/x11-toolkits/tk85/files/patch-unix::Makefile.in Mon Dec 3 08:40:58 2012 (r308125) +++ head/x11-toolkits/tk85/files/patch-unix::Makefile.in Mon Dec 3 08:49:58 2012 (r308126) @@ -1,5 +1,5 @@ ---- Makefile.in.orig 2012-07-25 18:45:53.000000000 +0200 -+++ Makefile.in 2012-08-02 15:34:29.280510279 +0200 +--- Makefile.in.orig 2012-11-28 16:54:06.000000000 +0100 ++++ Makefile.in 2012-11-28 16:54:06.000000000 +0100 @@ -64,6 +64,8 @@ # Directory in which to install the include file tk.h: @@ -9,34 +9,30 @@ # Path to the private tk header dir: PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@ -@@ -100,7 +102,7 @@ +@@ -100,11 +102,11 @@ # The directory containing the Tcl sources and headers appropriate # for this version of Tk ("srcdir" will be replaced or has already # been replaced by the configure script): -TCL_GENERIC_DIR = @TCL_SRC_DIR@/generic -+TCL_GENERIC_DIR = @prefix@/include/tcl@TCL_VERSION@/generic ++TCL_GENERIC_DIR = %%LOCALBASE%%/include/tcl@TCL_VERSION@/generic # The directory containing the platform specific Tcl sources and headers # appropriate for this version of Tk: +-TCL_PLATFORM_DIR = @TCL_SRC_DIR@/unix ++TCL_PLATFORM_DIR = %%LOCALBASE%%/inclue/tcl@TCL_VERSION@/unix + + # The directory containing the Tcl library archive file appropriate + # for this version of Tk: @@ -114,7 +116,7 @@ TCL_LIB_FLAG = @TCL_LIB_FLAG@ # Flag, 1: we're building a shared lib, 0 we're not -TK_SHARED_BUILD = @TK_SHARED_BUILD@ -+TK_SHARED_BUILD = ###@TK_SHARED_BUILD@ ++TK_SHARED_BUILD = ####@TK_SHARED_BUILD@ # Subdirectory of $(libdir) containing the pkgIndex.tcl file for loadable Tk TK_PKG_DIR = @TK_PKG_DIR@ -@@ -137,7 +139,7 @@ - #CFLAGS = $(CFLAGS_DEBUG) - #CFLAGS = $(CFLAGS_OPTIMIZE) - #CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE) --CFLAGS = @CFLAGS_DEFAULT@ @CFLAGS@ -+CFLAGS += @CFLAGS_DEFAULT@ @CFLAGS@ - - # Flags to pass to the linker - LDFLAGS_DEBUG = @LDFLAGS_DEBUG@ -@@ -272,7 +274,7 @@ +@@ -274,7 +276,7 @@ STLIB_LD = @STLIB_LD@ SHLIB_LD = @SHLIB_LD@ SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ @@ -45,7 +41,7 @@ # Additional search flags needed to find the various shared libraries # at run-time. The first symbol is for use when creating a binary -@@ -557,6 +559,8 @@ +@@ -546,6 +548,8 @@ DEMOPROGS = browse hello ixset rmt rolodex square tcolor timer widget @@ -54,7 +50,7 @@ SHELL_ENV = \ @LD_LIBRARY_PATH_VAR@="`pwd`:${TCL_BIN_DIR}:$${@LD_LIBRARY_PATH_VAR@}"; \ export @LD_LIBRARY_PATH_VAR@; \ -@@ -580,6 +584,12 @@ +@@ -568,6 +572,12 @@ ${LIB_FILE}: ${OBJS} ${STUB_LIB_FILE} @LIB_RSRC_FILE@ rm -f $@ @MAKE_LIB@ @@ -67,16 +63,17 @@ ${STUB_LIB_FILE}: ${STUB_LIB_OBJS} rm -f $@ -@@ -690,7 +700,7 @@ - valgrindshell: $(TKTEST_EXE) - $(SHELL_ENV) valgrind $(VALGRINDARGS) ./$(TKTEST_EXE) $(SCRIPT) - --INSTALL_TARGETS = install-binaries install-libraries install-demos install-doc @EXTRA_INSTALL@ -+INSTALL_TARGETS = install-binaries install-libraries @EXTRA_INSTALL@ +@@ -672,8 +682,7 @@ + INSTALL_DEV_TARGETS = install-headers + INSTALL_DEMO_TARGETS = install-demos + INSTALL_EXTRA_TARGETS = @EXTRA_INSTALL@ +-INSTALL_TARGETS = $(INSTALL_BASE_TARGETS) $(INSTALL_DOC_TARGETS) $(INSTALL_DEV_TARGETS) \ +- $(INSTALL_DEMO_TARGETS) $(INSTALL_EXTRA_TARGETS) ++INSTALL_TARGETS = $(INSTALL_BASE_TARGETS) $(INSTALL_DEV_TARGETS) $(INSTALL_EXTRA_TARGETS) install: $(INSTALL_TARGETS) -@@ -703,7 +713,7 @@ +@@ -686,7 +695,7 @@ # some ranlibs write to current directory, and this might not always be # possible (e.g. if installing as root). @@ -85,73 +82,66 @@ @for i in "$(LIB_INSTALL_DIR)" "$(BIN_INSTALL_DIR)" \ "$(PKG_INSTALL_DIR)" "$(CONFIG_INSTALL_DIR)" ; \ do \ -@@ -738,14 +748,19 @@ +@@ -717,14 +726,19 @@ @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/" @@INSTALL_LIB@ @chmod 555 "$(DLL_INSTALL_DIR)/$(LIB_FILE)" + @ln -sf $(DLL_INSTALL_DIR)/$(TK_LIB_FILE) $(DLL_INSTALL_DIR)/libtk${SHORT_TK_VER}.so + @echo "Installing libtk${SHORT_TK_VER}.a" + @$(INSTALL_DATA) libtk${SHORT_TK_VER}.a $(DLL_INSTALL_DIR)/libtk${SHORT_TK_VER}.a -+ @chmod 555 $(DLL_INSTALL_DIR)/libtk${SHORT_TK_VER}.a ++ @chmod 555 $(DLL_INSTALL_DIR)/libtk${SHORT_TK_VER}.a @if test -f "tk${MAJOR_VERSION}${MINOR_VERSION}.dll"; then \ - $(INSTALL_LIBRARY) "${TOP_DIR}/win/tk${MAJOR_VERSION}${MINOR_VERSION}.dll" "$(DLL_INSTALL_DIR)";\ + $(INSTALL_LIBRARY) "tk${MAJOR_VERSION}${MINOR_VERSION}.dll" "$(DLL_INSTALL_DIR)";\ chmod 555 "$(DLL_INSTALL_DIR)/tk${MAJOR_VERSION}${MINOR_VERSION}.dll";\ fi - @echo "Installing ${WISH_EXE} as $(BIN_INSTALL_DIR)/wish$(VERSION)@EXEEXT@" - @$(INSTALL_PROGRAM) ${WISH_EXE} "$(BIN_INSTALL_DIR)/wish$(VERSION)@EXEEXT@" + @echo "Installing ${WISH_EXE} as $(BIN_INSTALL_DIR)/wish$(VERSION)${EXE_SUFFIX}" + @$(INSTALL_PROGRAM) ${WISH_EXE} "$(BIN_INSTALL_DIR)/wish$(VERSION)${EXE_SUFFIX}" - @echo "Installing tkConfig.sh to $(CONFIG_INSTALL_DIR)/" - @$(INSTALL_DATA) tkConfig.sh "$(CONFIG_INSTALL_DIR)/tkConfig.sh" + @echo "Installing tkConfig.sh to $(CONFIG_INSTALL_DIR)/tk$(VERSION)" -+ @mkdir -p "$(CONFIG_INSTALL_DIR)"/tk$(VERSION) -+ @$(INSTALL_DATA) tkConfig.sh "$(LIB_INSTALL_DIR)"/tk$(VERSION)/tkConfig.sh ++ @mkdir -p "${CONFIG_INSTALL_DIR}"/tk$(VERSION) ++ @$(INSTALL_DATA) tkConfig.sh "$(CONFIG_INSTALL_DIR)/tk$(VERSION)/tkConfig.sh" @if test "$(STUB_LIB_FILE)" != "" ; then \ echo "Installing $(STUB_LIB_FILE) to $(LIB_INSTALL_DIR)/"; \ @INSTALL_STUB_LIB@ ; \ -@@ -756,6 +771,7 @@ - @if test "$(@TK_WINDOWINGSYSTEM@_XLIB_HDRS)" != ""; then \ - XLIB_INCLUDE_INSTALL_DIR="$(INCLUDE_INSTALL_DIR)/X11"; fi; \ - for i in "$(INCLUDE_INSTALL_DIR)" "$${XLIB_INCLUDE_INSTALL_DIR}" \ -+ "$(GENERIC_INCLUDE_INSTALL_DIR)" "$(UNIX_INCLUDE_INSTALL_DIR)" \ - "$(SCRIPT_INSTALL_DIR)" "$(SCRIPT_INSTALL_DIR)/images" \ - "$(SCRIPT_INSTALL_DIR)/msgs" "$(SCRIPT_INSTALL_DIR)/ttk"; \ - do \ -@@ -770,10 +786,14 @@ - chmod +x $(SRC_DIR)/install-sh; \ - fi - @echo "Installing header files"; -- @for i in $(PUBLIC_HDRS); \ -+ ${BSD_INSTALL_DATA} $(GENERIC_DIR)/*.h "$(GENERIC_INCLUDE_INSTALL_DIR)"/ -+ ${BSD_INSTALL_DATA} $(UNIX_DIR)/*.h "$(UNIX_INCLUDE_INSTALL_DIR)"/ -+ @for i in $(INSTALL_HDRS) ; \ - do \ -- $(INSTALL_DATA) $$i "$(INCLUDE_INSTALL_DIR)"; \ -- done; -+ j=`basename $$i` ; \ -+ ln -sf "$(GENERIC_INCLUDE_INSTALL_DIR)"/$$j "$(INCLUDE_INSTALL_DIR)"/$$j ; \ -+ done -+ - @list='$(@TK_WINDOWINGSYSTEM@_XLIB_HDRS)'; for i in $$list ; \ - do \ - $(INSTALL_DATA) $$i "$(INCLUDE_INSTALL_DIR)/X11"; \ -@@ -850,19 +870,15 @@ - else true; \ +@@ -812,22 +826,19 @@ fi; \ done; -- @echo "Installing and cross-linking top-level (.1) docs"; + @echo "Installing and cross-linking top-level (.1) docs to $(MAN1_INSTALL_DIR)/"; - @for i in $(TOP_DIR)/doc/*.1; do \ - $(SHELL) $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MAN1_INSTALL_DIR)"; \ - done - - @echo "Installing and cross-linking C API (.3) docs"; + @echo "Installing and cross-linking C API (.3) docs to $(MAN3_INSTALL_DIR)/"; @for i in $(TOP_DIR)/doc/*.3; do \ - $(SHELL) $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MAN3_INSTALL_DIR)"; \ + $(BSD_INSTALL_MAN) $$i "$(MAN3_INSTALL_DIR)"; \ done - - @echo "Installing and cross-linking command (.n) docs"; + @echo "Installing and cross-linking command (.n) docs to $(MANN_INSTALL_DIR)/"; @for i in $(TOP_DIR)/doc/*.n; do \ - $(SHELL) $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MANN_INSTALL_DIR)"; \ + $(BSD_INSTALL_MAN) $$i "$(MANN_INSTALL_DIR)"; \ done - # Optional target to install private headers + install-headers: + @if test "$(@TK_WINDOWINGSYSTEM@_XLIB_HDRS)" != ""; then \ + XLIB_INCLUDE_INSTALL_DIR="$(INCLUDE_INSTALL_DIR)"/X11; fi; \ +- for i in "$(INCLUDE_INSTALL_DIR)" "$${XLIB_INCLUDE_INSTALL_DIR}"; \ ++ for i in "$(INCLUDE_INSTALL_DIR)" "$${XLIB_INCLUDE_INSTALL_DIR}" "$(GENERIC_INCLUDE_INSTALL_DIR)" "$(UNIX_INCLUDE_INSTALL_DIR)"; \ + do \ + if [ -n "$$i" -a ! -d "$$i" ] ; then \ + echo "Making directory $$i"; \ +@@ -836,9 +847,12 @@ + fi; \ + done; + @echo "Installing header files to $(INCLUDE_INSTALL_DIR)/"; +- @for i in $(PUBLIC_HDRS); \ ++ ${BSD_INSTALL_DATA} $(GENERIC_DIR)/*.h "$(GENERIC_INCLUDE_INSTALL_DIR)"/ ++ ${BSD_INSTALL_DATA} $(UNIX_DIR)/*.h "$(UNIX_INCLUDE_INSTALL_DIR)"/ ++ @for i in $(INSTALL_HDRS); \ + do \ +- $(INSTALL_DATA) $$i "$(INCLUDE_INSTALL_DIR)"; \ ++ j=`basename $$i`; \ ++ ln -sf "$(GENERIC_INCLUDE_INSTALL_DIR)"/$$j "$(INCLUDE_INSTALL_DIR)"/$$j ; \ + done; + @list='$(@TK_WINDOWINGSYSTEM@_XLIB_HDRS)'; for i in $$list ; \ + do \