Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages
In directory vz-cvs-3.sog:/tmp/cvs-serv11461/languages

Added Files:
        tcltk-x86_64.info tcltk-x86_64.patch 
Log Message:
builds on 10.7


--- NEW FILE: tcltk-x86_64.patch ---
--- tcltk-8.5.7.orig/tcl8.5.7/generic/tclPort.h 2008-11-04 18:56:59.000000000 
-0500
+++ tcltk-8.5.7/tcl8.5.7/generic/tclPort.h      2009-04-15 01:52:52.000000000 
-0400
@@ -24,7 +24,7 @@
 #if defined(__WIN32__)
 #   include "tclWinPort.h"
 #else
-#   include "tclUnixPort.h"
+#   include "../unix/tclUnixPort.h"
 #endif
 
 #if !defined(LLONG_MIN)
--- tcltk-8.5.7.orig/tcl8.5.7/generic/tclInt.h  2008-11-13 19:22:39.000000000 
-0500
+++ tcltk-8.5.7/tcl8.5.7/generic/tclInt.h       2009-04-15 01:52:52.000000000 
-0400
@@ -2773,7 +2773,7 @@
 MODULE_SCOPE int       TclClockOldscanObjCmd(
                            ClientData clientData, Tcl_Interp *interp,
                            int objc, Tcl_Obj *const objv[]);
-MODULE_SCOPE int       Tcl_CloseObjCmd(ClientData clientData,
+extern int     Tcl_CloseObjCmd(ClientData clientData,
                            Tcl_Interp *interp, int objc,
                            Tcl_Obj *const objv[]);
 MODULE_SCOPE int       Tcl_ConcatObjCmd(ClientData clientData,
@@ -2934,7 +2934,7 @@
 MODULE_SCOPE int       Tcl_RenameObjCmd(ClientData clientData,
                            Tcl_Interp *interp, int objc,
                            Tcl_Obj *const objv[]);
-MODULE_SCOPE int       Tcl_ReturnObjCmd(ClientData clientData,
+extern int     Tcl_ReturnObjCmd(ClientData clientData,
                            Tcl_Interp *interp, int objc,
                            Tcl_Obj *const objv[]);
 MODULE_SCOPE int       Tcl_ScanObjCmd(ClientData clientData,

--- NEW FILE: tcltk-x86_64.info ---
Package: tcltk
Version: 8.5.7
Revision: 3
Architecture: x86_64
BuildDepends: x11-dev, fink (>= 0.24.12-1)
BuildConflicts: freetype219
Depends: %N-shlibs (= %v-%r)
Source: mirror:sourceforge:tcl/tcl%v-src.tar.gz
Source-MD5: f70ad8f78b5e4a9f792fe101f22b125f
SourceDirectory: tcl%v
Source2: mirror:sourceforge:tcl/tk%v-src.tar.gz
Source2-MD5: 0764f63ae2106b4774c4ecb0ef391610
PatchFile: %n-x86_64.patch
PatchFile-MD5: a0ffd4eab7c23c2c69e68696081ff23c
NoSourceDirectory: true
ConfigureParams: --enable-shared --disable-corefoundation --exec-prefix=%p 
--mandir=%p/share/man --x-includes=/usr/X11R6/include 
--x-libraries=/usr/X11R6/lib
CompileScript: <<
#!/bin/sh -ev

        pushd tcl%v/unix
                export COMMAND_MODE=legacy
                ./configure %c --build=%m-apple-darwin`uname -r|cut -f1 -d.` 
--host=%m-apple-darwin`uname -r|cut -f1 -d.`
                make
        popd

        pushd tk%v/unix
                ./configure %c --build=%m-apple-darwin`uname -r|cut -f1 -d.` 
--host=%m-apple-darwin`uname -r|cut -f1 -d.`
                make genstubs
                make
        popd
<<
InstallScript: <<
        mkdir -p %i/share/doc/%n
        make -C tcl%v/unix INSTALL_ROOT=%d install
        make -C tk%v/unix  INSTALL_ROOT=%d install

        ln -s wish8.5 %i/bin/wish
        ln -s tclsh8.5 %i/bin/tclsh

        ln -s tk8.5 %i/lib/tk
        ln -s libtk8.5.dylib %i/lib/libtk.dylib
        ln -s libtkstub8.5.a %i/lib/libtkstub.a
        /usr/bin/ranlib %i/lib/libtclstub8.5.a

        ln -s tcl8.5 %i/lib/tcl
        ln -s libtcl8.5.dylib %i/lib/libtcl.dylib
        ln -s libtclstub8.5.a %i/lib/libtclstub.a
        /usr/bin/ranlib %i/lib/libtkstub8.5.a
<<
SplitOff: <<
  Package: %N-shlibs
  Depends: x11
  Files: lib/libtcl8.5.dylib lib/libtk8.5.dylib
  Shlibs: <<
    %p/lib/libtcl8.5.dylib 8.5.0 %n (>= 8.5.6-1)
    %p/lib/libtk8.5.dylib 8.5.0 %n (>= 8.5.6-1)
  <<
  DocFiles: <<
                tcl%v/license.terms:LICENSE.tcl
                tcl%v/README:README.tcl
                tcl%v/ChangeLog:ChangeLog.tcl
                tk%v/license.terms:LICENSE.tk
                tk%v/README:README.tk
                tk%v/ChangeLog:ChangeLog.tk 
        <<
<<
SplitOff2: <<
  Package: %N-dev
  BuildDependsOnly: True
  Depends: %N (= %v-%r), %N-shlibs (= %v-%r)
  Files: <<
                lib/tclConfig.sh
                lib/tkConfig.sh
                include
                lib/libtcl*
                lib/libtk*
                share/man/man3
                share/man/mann
        <<
  DocFiles: <<
                tcl%v/license.terms:LICENSE.tcl
                tcl%v/README:README.tcl
                tcl%v/ChangeLog:ChangeLog.tcl
                tk%v/license.terms:LICENSE.tk
                tk%v/README:README.tk
                tk%v/ChangeLog:ChangeLog.tk 
        <<
<<

DocFiles: <<
        tcl%v/license.terms:LICENSE.tcl
        tcl%v/README:README.tcl
        tcl%v/ChangeLog:ChangeLog.tcl
        tk%v/license.terms:LICENSE.tk
        tk%v/README:README.tk
        tk%v/ChangeLog:ChangeLog.tk 
<<
Description: Tool Command Language and the Tk toolkit
DescPort: <<
 We add /System/Library/Tcl and /usr/lib to TCL_PACKAGE_PATH so that
 Tcl packages (such as darwinports) installed in the standard system
 locations will be found.

 What is COMMAND_MODE?

 Pass CPPFLAGS so it works as everyone expects (*after* local flags),
 despite how build system incorrectly reimplements it differently.
<<
DescPackaging: <<
 Patch added for crash caused by changed LASTEvent definition in
 the xquartz-2.3.0 update. Does not affect binary compatibility.

        tcl and tk are build in separate/parallel dirs. Clearer to do
        NoSourceDirectory and have them both subdirs of %b than to
        have one be %b and keep having to 'cd ..'
<<
DescDetail: <<
Tcl provides a portable scripting environment for Unix, Windows,
and Macintosh that supports string processing and pattern matching,
native file system access, shell-like control over other programs,
TCP/IP networking, timers, and event-driven I/O.

Tcl has traditional programming constructs like variables, loops,
procedures, namespaces, error handling, script packages, 
and dynamic loading of DLLs.

Tk provides portable GUIs on UNIX, Windows, and Macintosh.
A powerful widget set and the concise scripting interface to Tk make
it a breeze to develop sophisticated user interfaces.
<<
PostInstScript: <<
  update-alternatives --remove Object.3 %p/share/man/man3/Object.3.tcltk
<<
License: BSD
Homepage: http://www.tcl.tk
Maintainer: Daniel Macks <dma...@netspace.org>


------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to