1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
Commit Graph

24 Commits

Author SHA1 Message Date
Mikhail Teterin
8d600412e6 Better handle differences in the set of help-pages.
Chase the lang/tcl85's decision to install man1/tclsh8.5.1 instead of
man1/tclsh.1 -- now, when we can't find a man-page foo, we try looking
for foo$tcl_version.

PR:	ports/140978
Submitted by:	olli hauer
2009-11-30 01:47:22 +00:00
Mikhail Teterin
1715da13ad Allow building against any Tcl, rather than limit to 8.4. Both 8.3
should now work properly.

Add patch to fix profiling on 8.5 AND whenever the system has been up
for more than 25 days -- the latter used to overflow the clock_t-sized
variables, because TclX uses these 31-bit values to store milliseconds.

Use the proper method to obtain CLK_TCK -- if only on FreeBSD.
2009-11-27 07:34:35 +00:00
Mikhail Teterin
5e0d5ae9a4 Add a patch obtained from the Internet, that adds access to getsid() and
setsid() to TclX scripts.
2009-11-27 07:27:46 +00:00
Mikhail Teterin
801bfa323d Chase various changes in wording and formatting in Tcl-8.5, that caused
gratuitous failures in TclX' self-tests.
2009-11-27 07:23:29 +00:00
Mikhail Teterin
41d0e46ca3 At some point a change in Tcl's core (in both 8.5 and 8.4) resulted
in an unintended call to write ZERO bytes to any descriptor, that was
opened for writing, when closing it.

When the descriptor belongs to a pipe, with its other end closed -- such
as when the started process has exited, doing so results in a SIGPIPE.
Tcl's core ignores SIGPIPEs, but TclX' self-tests didn't and began to
fail.

The bug should now be fixed in Tcl, but this patch is needed for TclX to
pass its own tests even when using the uncorrected version of Tcl.
2009-11-27 07:20:34 +00:00
Mikhail Teterin
07bce9b958 Make TclX compilable against Tcl-8.6. Doing so is still a bad idea,
because some things (especially -- profiling) break at run time.
2009-11-27 07:14:43 +00:00
Mikhail Teterin
c411bdd4fc Fix a line in configure script, which had a bug in it, that we didn't
care for, because the line was never reachable on FreeBSD.

Our new and improved sh cares deeply about such problems, however, and
configure started to fail even on 7-STABLE at the beginning of October.

Notified by:	miwi
2009-11-27 07:11:36 +00:00
Mikhail Teterin
68843e150e Ubreak by making the port check for availability of Tcl's man-pages.
Tcl-8.4 does not install those by default any more...

Approved by:	portmgr (erwin)
PR:	ports/133555
2009-04-21 07:52:35 +00:00
Thierry Thomas
d3f0ec5007 - Fix a breakage caused by revision v 1.91 of ports/lang/tcl84/Makefile
- Switch to USE_TCL

- s/INSTALLS_SHLIB/USE_LDCONFIG/

- Support tcl84-thread

- Fix tclsh detection in configure

- Pet portlint.

Note: this port is still broken, because a test is failing, and tests
are part of the all target.

PR:		ports/110805
Submitted by:	/me
Approved by:	mi (excepted the move of tests to a regression-test target)
2007-03-26 17:11:37 +00:00
Mikhail Teterin
ad82eb27b8 Upgrade tclX from 8.3.5 to 8.4 released last November after several
years of idleness. The changes are fairly substantial -- all Tk bits,
however insignificant they were, are now removed completely, for
example. No TclX enabled executable is built/installed either -- a Tcl
script is expected to load the Tclx package via the "package require
Tclx" only.

The changes to port add the handling of SIGINFO (made possible by the
recent fix-up of lang/tcl84), running the authors' test-target as part
of the build, and skipping building/installing of help files in the
NOPORTDOCS case.

The devel/tcl-neo is the only dependant port of tclX and is updated to
depend on the new version.
2006-06-27 23:23:20 +00:00
Mikhail Teterin
165f6db348 Try to make the vendor's tests run smoothly. Fail, but in the process
eliminate all warnings (on i386) and const-ify the KeyedList-API and
others (patch-warnings grew up).

Fix a typo in the previous commit (s/KeyList/KeyedList/g in MLINKS).

Bump PORTREVISION again.
2005-07-19 03:46:27 +00:00
Mikhail Teterin
32735640de Unbreak the manual pages installation and help file generation:
. when parsing man-files, do not choke on files
	  containing '.so man.macros';
	. be ready for the .bz2 man-pages;
	. do not use vendor's install-doc target at all -- install
	  the vendor's manual pages in post-install and declare
	  MLINKS to have bsd.port.mk do the Right Thing (TM) --
	  links instead of copies of the manual pages.

This may even work now :-)
2005-07-18 23:58:37 +00:00
David Schultz
3e878728b6 Remove more copies of Tcl's SunOS shared library hack.
It's worth pointing out that the Tcl project used to
*recommend* that application writers copy this kludge.
These ports work fine with Tcl 8.3, which provided a fake
matherr() even if the OS didn't, but here's what the
Tcl 8.4 changelog has to say:

  2002-05-31 (dead code)[474335,555635] removed all use of matherr() (english)
          *** POTENTIAL INCOMPATIBILITY ***

The following lines can be safely removed from any application that
has them, unless compatibility with SunOS 4.X is desired.

  extern int matherr();
  int *tclDummyMathPtr = (int *) matherr;

The build problems were pointed out by Kris, as usual.  ;-)
2005-02-20 00:29:40 +00:00
Mikhail Teterin
6a938a08a8 Default to Tcl-8.4 (and bump up PORTREVISION). Fix some 64-bit related issues.
Some others remain -- not all are fixed in the Tcl itself.
2004-04-05 21:18:14 +00:00
Mikhail Teterin
ea7679addd Be sure -fPIC is used on Sparc64. 2003-06-02 20:08:36 +00:00
Mikhail Teterin
5ccf107ff6 Upgrade to 8.3.5 after repocopy from lang/tclX82. No ports depend
on this yet, but should be switching now. The lang/tclX82 will go
away after the release.

Approved by: portmgr timeout (3 requests remain unanswered)
2003-03-11 19:18:48 +00:00
Mikhail Teterin
4826c77d47 TclX seems abandoned by its original authors, but the maintainers
of TclPro made TclX-8.3 available last year. There is not a whole
lot of changes, and most of them deal with the Windows parts of the
thing, but here is the upgrade 8.3 anyway. Please, test...

I think, it is time to repocopy tclX82 into tclX and get rid of
tclX75, tclX80, and tclX82...
2001-10-24 03:18:59 +00:00
Mikhail Teterin
079e1e2389 Make sure the shared library is explicitly linked with -lm. On
some occasions, this prevent it from being loaded properly, even
though other libs  already loaded already bring in  -lm. I don't
understand the rtld :(

Only  build the  Tk related  help files,  if WITHOUT_X11  is not
specified. Previously they were built, but not installed. If you
did not have  Tk installed, that build failed for  you -- see PR
29722...

PR:		ports/29722
2001-08-19 15:03:59 +00:00
Mikhail Teterin
79fb1155cb I dreamed it would happen. I asked about. I finally did it
myself (for the lack of  children, whom I could've prohibited to
do it). Sorry.

Upgrade this port to:
	. build against TCL-8.3 by default (controllable by TCL_VER)
	. build with or without TK (controllable by NO_X)
	. take over maintainership -- regretfully, Justin was
	  rather idle recently
	. build the helpfiles once -- during the build stage --
	  not during the install stage

On a side  note, I more and  more resent the fact,  that our TCL
8.3 is built with the  -stubs. It just introduces more variables
without  noticeable benefit.  On FreeBSD  shared libraries  work
well...

I  tested this  with TCL-8.3  (with  and without  TK), and  with
TCL-8.2 (without TK only). Please, test this more.
2001-03-16 20:11:53 +00:00
Ade Lovett
9db723e6b9 Import of tclX82 after repo-copy from tclX80, one more step on
the road to obliterating tcl/tk 8.0 from the tree.

Note 1: the patches have been extensively re-worked from the
        original submission, to make this port PREFIX-safe,
        and also to deal with multiple patchfiles updating the
        same source file.

Note 2: I've left the MAINTAINER as jseger.  Justin, you may
        want to cast your TCL-expert eye over this one, it seems
        to do the right thing.

PR:		16970
Submitted by:	Mikhail Teterin <mi@aldan.algebra.com>
2000-07-13 20:54:37 +00:00
Justin M. Seger
cb6388104e Unbreak and upgrade tclX80 to 8.0.4
PR:		ports/13544
Submitted by:	Ade Lovett <ade@lovett.com>
1999-09-02 21:59:34 +00:00
Scott Mace
f0a7283148 Convert to ELF.
PR:		8017
Approved by:	jseger
1998-10-11 19:51:43 +00:00
Justin M. Seger
57459356ce Import of tclX8.0.2
PR:             6540
Submitted by:   dob@bazzle.com
1998-05-21 01:36:28 +00:00
Thomas Gellekum
83f0278fcf Un-break this port. We need it for xtem (PR 3759). 1997-10-09 08:19:15 +00:00