Commit graph

195 commits

Author SHA1 Message Date
adam
26f4be645c Patch-aa written in a different way, for people who, like me, use gnu-make -j2
to speed-up the build process on Dual-CPU Macs. :)
2005-02-21 23:58:35 +00:00
tv
767b8636f0 First stab at Interix support. 2005-01-24 22:10:44 +00:00
minskim
4108ba5083 Define TCL_VERSION in a separate file so that it can be included by
other packages (e.g. tcl-tclX).
2005-01-13 14:37:43 +00:00
adam
db722e511a Changes 8.4.9:
* Fixed segfault in info vars trivial matching branch (new in 8.4.8)
* Fixed the treatment of backslashes in file join on Windows
* Improved readdir_r detection and usage on unix
* Fixed potential unix fileevent issue on 64-bit systems
* Remove file normalize on tcl_findLibrary search path uniqification
  added in 8.4.8
* Ensure tilde paths are not returned specially by 'glob'
* Fixed clipping of partially transparent images on buttons on unix to
  avoid X error
* Fix Tk_PhotoPut(Zoomed)Block overlay compositing of partially
  transparent areas on blank targets
2005-01-05 09:15:29 +00:00
kristerw
1e106f4f65 Use the same configure flags for NetBSD 1.[56] as for 1.[56].x (i.e.
adjust the tests to understand that 1.[56] is not written as 1.[56].0).
Bump PKGREVISION.

This solves PR pkg/28499.
2004-12-30 17:01:27 +00:00
adam
71ef3c039e Post-patch removed, since there is no mkLinks script any more 2004-11-29 14:55:32 +00:00
adam
f39e496a4d Changes 8.4.8:
* Fixed possible deadlock in Tcl_Finalize
  * Fixed thread IDs on 64-bit systems
  * Fixed [scan %ld] handling LP64 systems
  * Fixed [string map $samevar $samevar] crash
  * Fixed broken [namespace forget] logic
  * Fixed [namespace import] cycle prevention
  * Improved control over int <-> wideInt conversion
  * Fixed buffer overflow when there is a syntax error in [subst]
  * Fixed [file executable] result for case insensitivity on Windows
  * Fixed [expr {NaN == NaN}] result
  * Make [tcl_findLibrary] search $::auto_path as well
  * Fixed crash in [fconfigure -ttycontrol] in threaded build
  * [TIP 222] implementation of [wm attributes -alpha] on Windows
  * [TIP 159] implementation of [wm iconphoto]
  * Make Tk [load]-able on OS X/Aqua
  * Handle color/screen resolution changes on Windows
  * Fixed [wm resizable] for Solaris/CDE
  * Handle Windows native dialog double clicks that fall through
  * Fixed [place forget] memory leak
  * Recompute menu geometry on named font size change
  * Fixed X/IME IC focus after creation
  * Improved multiple display Tk dialog window placement
  * Fixed compound buttons for OS X/Aqua
  * Documentation improvements and test suite expansion
2004-11-26 10:30:01 +00:00
jlam
ca7e02b3ee These packages install libraries that dlopen() shared modules. 2004-11-25 22:55:54 +00:00
jlam
1f652193ae Migrate OS/architecture hacks for correct compilation to a separate
hacks.mk file.
2004-11-16 22:44:51 +00:00
minskim
2cd87a4a0e During print-PLIST, output a comment for the tcl/lib directory. 2004-10-30 05:48:51 +00:00
minskim
c3289cecf9 Create lib/tcl at post-install and add it to PLIST, because many other
tcl packages assume that this directory exists and never delete it
when deinstalled.  This fixes the tcl-fbsql build problem noted in
recent bulk builds.  Bump PKGREVISION.
2004-10-30 05:18:51 +00:00
minskim
33e052675a In Tcl 8.4.7, there's no need to use LD_FLAGS, which was introduced to
fix building the threaded versions of tcl and tk in 8.4.6nb2.  This
closes PR pkg/27130.

Bump PKGREVISION because lib/tclConfig.sh is changed.
2004-10-04 02:15:52 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
adam
8898daf869 Changes 8.4.7:
* Fixed [glob -path] bug when in the root directory
* Fixed unicode-char path installation on Windows NT-based platforms
* Properly subsitute more values in Windows tclConfig.sh
* Improved stack overflow prevention on Windows
* Fixed mem leak in [fconfigure $serial -xchar]
* Fixed crash with [cd] with a volumerelative $HOME
* Fixed clock %G %V formats for ISO8601 week numbers
* Fixed support for non-WIDE_INT aware math functions
* Added [http::config -urlencoding] option
* Fixed utf-8 encoding of \u0000 on system I/O
* Prevented dde hangs with non-responsive apps
* Added round() wide integer support
* Cleaner exit and correction of mem leaks when using the threaded
  memory allocator and reinitializing
* Improved build configuration on 64-bit systems
* Added read support of PPM/PGM with the -data option
* Correct issue with displaying maximize window button on KDE-3.2.1
* Fix drawing of unicode chars in menu titles on Windows
* Correctly post Tk clipboard data to the Windows clipboard on exit
* Fix the panedwindow -opaqueresize option to work as per the docs
* Reduce Tk tk_messageBox default font size to 14-point
* Prevent possible segfault in -maxundo
* Fix XIM initialization on Solaris
* Complete the implementation of the CG version of the X drawing
  emulation layer on Mac OS X
* Fix several Mac OS X usability issues
2004-10-01 13:35:37 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
he
e8dd584cbb Disable threads usage by tcl on NetBSD-1.6* (tested) and NetBSD-1.5*
(by extension).  Evidence suggests there is (at best) a bad interaction
between pth and the thread memory allocator inside tcl, as witnessed by
the tcl-scotty's package failure to install if threads is enabled on
1.6.2_STABLE/i386.  Interestingly, the version with native threads on
2.0_BETA/alpha works just nicely.
2004-09-19 19:51:04 +00:00
drochner
ed0d96bfa5 add hooks to plug in a non-threaded version of libtcl.so (needed for
embedding into non-threaded programs) without duplicating anything else
2004-06-22 18:34:09 +00:00
jwise
708eae5f4d Reverse previous commit (disabling thread-safety), which was poorly though
through, unacceptably breaks threaded apps, and was made without consulting
the package's maintainer.

To quote my mail to packages@:

I am reversing this change.

With this change, tcl is _not_ usable in threaded apps, while without
this change, tcl is perfectly usable in non-threaded apps.

The fix for a package which is incorrectly written is not to break the
package it depends on, but do your job correctly when writing the
package.

With buildlink3, this is mind-numbingly easy to do.

That you neither contacted the maintainer of this package, nor did the
buildlink and dependent package changes which your change requires shows
that you have not really thought this through.

So, as I said, I am reversing this change.  Fix your own package, don't
break others.
2004-06-15 16:39:12 +00:00
drochner
0d9ac4a765 Don't --enable-threads for now. If we do this, all potential users of
libtcl.so/libtk.so (whether linking it in or dlopen() it) must be linked
against libpthread. This is something we can't guarantee.
Fixes bulk build error in py-imagingtk and numerous runtime problems.
2004-06-15 16:17:48 +00:00
snj
f2eda1bb71 No longer used. 2004-05-15 21:12:45 +00:00
he
a9336f5ec3 Reintroduce TclpCreateDirectory for the benefit of tcl-scotty.
Comment indicates it was here earlier, now apparently scheduled
to be replaced by TclpObjCreateDirectory, but this will have to
do as a workaround for now.
2004-05-13 12:57:42 +00:00
minskim
38df5f6cb3 Install regex.h, which is used in tclRegexp.h.
While here, simplify header installation in Makefile by replacing many
INSTALL commands with a for-loop.

Bump PKGREVISION.
2004-05-12 23:50:15 +00:00
danw
1ebcb21bea Fix up some Makefile logic that got broken by the libtool patches (and
prevented it from building on some platforms). Ensure that the built
library is named libtcl84 (as opposed to libtcl8.4) on all platforms.
2004-04-09 23:37:28 +00:00
jlam
98196bcc44 Fix tcl/tk configure script stupidity: it overwrote the value of LDFLAGS
that accumulates within itself with a do-nothing version because it tried
to re-use LDFLAGS for another purpose.  This broke all library checks after
the "checking for ELF" step.  Fix this by (duh) not re-using LDFLAGS but
by using a different variable.  Bump the PKGREVISIONs of lang/tcl and
x11/tk.

This fixes building the threaded versions of tcl and tk.
2004-03-25 22:49:14 +00:00
jlam
1f05280ffa Move the inclusion of pthread.buildlink3.mk within the section that manages
the buildlink3 stack depth.
2004-03-25 22:45:27 +00:00
jwise
0b05178f11 Now that we build tcl/tk with thread safety enabled, pull pthread buildlink
glue into the tcl buildlink glue.

Also, update buildlink dependencies appropriately.

Pointed out by wiz@netbsd.org.
2004-03-24 15:24:36 +00:00
jwise
73345802b3 Build thread-safe versions of tcl and tk. Bump PKG_REVISION to nb1 to match. 2004-03-22 16:14:02 +00:00
minskim
9c121e17ff Update Tcl/Tk to 8.4.6.
* Tcl_Obj sharing fixed in [binary scan]
  * Updated errno usage for recent glibc
  * Fixed [file normalize ~unknownuser] error
  * Fixed two memory leaks in VFS code
  * Fixed possible infinite loop in TclFinalizeFilesystem
  * Updated HP-UX 11 build libraries setup
  * Unix std channels forced to exist at startup
  * Stopped broken [exec] quoting of '{'
  * Fixed memory leak with very long host names
  * Corrected level interpretation of Tcl_CreateTrace
  * Allow 64-bit configure on IRIX64-6.5*
  * Several OS X/Aqua native integration improvements (scrollbar,
    event generate, unicode clipboard, tk_messageBox, mousewheel event,
    alpha blending for partially transparent images)
  * Recognized native hand2/fleur cursors on Windows
  * Post menubuttons so they stay on screen better
  * Fixed crash during intra-image copy/resize
  * New msg catalogs for Esperanto and Polish
  * Corrections bold/italic font handling (width calculations) on Windows
  * Fixed shrinking grid geometry calculations
2004-03-08 22:14:18 +00:00
minskim
194b9321a0 Update tcl to 8.4.5. Too many changes since 8.3.4. Please see
ChangeLog in the distfile.
2004-03-08 19:55:35 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
minskim
2e42b35dac Remove a temporary directory created at post-install, so that a
non-root user can 'make clean'.  Approved by wiz@.
2004-02-09 23:19:27 +00:00
minskim
a89fef0347 Set permission of man directories correctly. Approved by wiz@. 2004-02-07 17:37:24 +00:00
minskim
0ea109324d Use libtcl83* as shared library names on Linux, instead of libtcl8.3*.
This closes PR pkg/24194.  Approved by uebayasi@.
2004-02-07 05:30:19 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
cube
a6333aea47 Sync with reality. Reported by Min Sik Kim in PR 24187. 2004-01-21 21:55:41 +00:00
jwise
15352b25c7 Apply a fix for library naming on IRIX 5 and 6, based on a patch
submitted in private mail by Georg Schwarz.  Prevents PLIST mismatches
on these platforms.

Tested for non-interference with other platforms, but no specific
IRIX testing of this version of fix yet performed.
2004-01-21 19:30:33 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
jlam
2c03f435c8 bl3ify 2004-01-05 11:17:10 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
jschauma
5be33375e5 Apply patches from cyber@ provided in PR pkg/22688 to make this work under
Darwin.
2003-10-08 03:13:21 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
agc
6eacd3982c Some packages check for tclsh and wish rather than using other means of
testing for the presence or absence of tcl or tk, so add these to the
files managed by buildlink2.
2003-07-09 14:04:06 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
cjep
e8f192b175 Add RCS tag 2003-04-21 20:26:35 +00:00
grant
afdebcf9a4 make ${PAX} usage consistent:
- group 'zrw' and 'p' args, -s last
- use the && operator consistently
- strip unneeded parens
- some whitespace cleanup
2003-04-10 01:28:03 +00:00
jschauma
3688e37cac - Use RPATH_FLAG instead of -R
- use nodots for IRIX*, too
2003-04-02 04:25:23 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
jschauma
b0426f5d02 On Linux, this used to create libtcl8.3.4 - let's use nodots here, too,
so we don't need to change the PLIST.
2003-03-16 18:36:23 +00:00
dillo
5f4ad95078 convert to use test target from bsd.pkg.mk
addresses PR pkg/19416
2003-02-17 15:27:58 +00:00
wiz
f0053e23ec Unused. 2002-10-25 09:26:43 +00:00
jlam
bfa96fe7f7 Make "-ltcl" resolve into "-ltcl83", so that we don't need to patch so
many Makefiles.
2002-09-21 10:29:40 +00:00
jlam
6c3a4d56c9 Define commonly-used location for tclConfig.sh as TCLCONFIG_SH. 2002-08-29 17:19:25 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
jlam
81dbd3c75a Touch a few files that are modified as part of post-build so that they're
not rebuilt at install-time.
2002-03-20 18:04:04 +00:00
bjoern
78ca1bc313 Update to version 8.3.4
Besides more bug fixes and several enhancements some of the
NetBSD relevant changes (taken from "changes" in the
distribution):


2001-04-03 (doc fixes) numerous doc corrections and clarifications.
Update of READMEs.

2001-03-29 (bug fix) prevent potential race condition and security leak in
tmp filename creation on Unix. (max)

2001-03-13 (bug fix) Correctly possible memory corruption in string map {}
$str (fellows)

2001-01-30 (bug fix) Fixed possible hangs in fcopy. (porter)

2000-11-23 (mem leak) fixed potential memory leak in error case of lsort
(fellows)

2000-11-01 (mem leak) Corrected excessive mem use of info exists on a
non-existent array element (hobbs)

2000-09-27 (bug fix) fixed a bug introduced by a partial fix in 8.3.2 that
didn't set nonBlocking correctly when resetting the flags for the write
side (mem leak) Correct mem leak in channels when statePtr was released
(hobbs)

2001-07-18 (bug fix) corrected memory overwrite error when buffer size
of a channel is changed after channel use has already begun (kupries, porter)

2001-08-07 (bug fix) corrected bytecode stack management during [break]
(see test foreach-5.5) (sofer, tallneil, jstrot)

2001-08-08 (new features) updated packages msgcat 1.1.1, opt 0.4.3,
tcltest 1.0.1, dependencies checked (porter)

2001-08-24 (bug fix) [auto_import] now matches patterns like
[namespace import], not like [string match] (porter)
        **** POTENTIAL INCOMPATABILITY ****

2001-08-27 (new feature) added Tcl_SetMainLoop() to enable loading Tk as a
true package (hobbs)

2001-09-06 (new feature) http 2.4: honor the Content-encoding and charset
parameters; add -binary switch for forcing the issue (hobbs, saoukhi, orwell)

2001-09-10 (bug fix) protect against alias loops (hobbs)

2001-09-19 (bug fix) [format] and [scan] corrected for 64-bit machines (rmax)

2001-09-26 (bug fix) corrected potential deadlock in channels that do not
provide a BlockModeProc (kupries, kogorman)

2001-10-11 (bug fix) corrected cleanup of self-referential bytecodes at
interpreter deletion (sofer, rbrunner)
2001-12-23 17:02:30 +00:00
jlam
28dc06397c Create ECHO_BUILDLINK_MSG for printing buildlink diagnostics. It's just
set to '${ECHO_MSG} "=>"' for now.
2001-11-30 17:21:54 +00:00
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:24 +00:00
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
jlam
936b41aaa1 Create private variables _TCLCONFIG_SED and _TKCONFIG_SED that hold the
sed expression used to convert tclConfig.sh and tkConfig.sh into forms
usable by buildlink.
2001-10-23 13:02:11 +00:00
jlam
52b3de7e6b Use -Wl,-R instead of -Wl,-rpath, since the former is consistent with the
rest of pkgsrc.
2001-10-23 09:55:00 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
tron
93a8d206d2 Use the library naming scheme under Solaris as under NetBSD. While it's
not really necessary to strip dots from library names under Solaris it
makes the packages more compatible which should ease maintenance.
2001-07-29 07:09:51 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
27a2e05d4d Force no optimization (-O0) on NetBSD-1.5.x/m68k machines as there appears
to be an optimization bug that causes the build to fail (pkg/13395).  The
problem appeared in the original PR on an Amiga running NetBSD 1.5.1 and
also on a mac68k running NetBSD 1.5.1.  This workaround was tested on the
mac68k system (kindly provided by Jon Lindgren).
2001-07-25 19:42:58 +00:00
jlam
1934a5ae41 In buildlinked *Config.sh files, substitute ${BUILDLINK_DIR} for
${LOCALBASE} in *_PREFIX definition.
2001-07-23 12:34:32 +00:00
jlam
7b1d3cb465 Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:31 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
898abf64ac - Don't install the short names for section 3 manpages as the names are
too generic, e.g. Hash, Object, Access.  Approved by jwise@netbsd.org.
- Touch ${TCL_LIB_FILE} after the build so that the library isn't relinked
  during installation.
2001-06-30 18:24:17 +00:00
jlam
34d11d8a0f Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0.  This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-23 19:26:48 +00:00
jlam
9a286d8d0a Add buildlink.mk file for use by other package Makefiles. 2001-06-21 18:54:37 +00:00
jlam
bcabc1fab9 Mark as USE_BUILDLINK_ONLY. 2001-06-21 18:07:51 +00:00
jlam
e75ef2c87d Mirror changes to the configure script in patch-ab to the appropriate
autoconf input file.
2001-06-13 20:48:01 +00:00
jlam
2893fabafa Add RCS Id to patch-ab and regen distinfo. 2001-06-13 20:42:37 +00:00
jwise
2de67fe37d Fix generated tclConfig.sh by fixing determination of TCL_LIB_SPEC in configure.
Previously, TCL_LIB_SPEC required the including program to explicitly set
${exec_path}.  This means that programs which used autoconf _and_ tclConfig.sh
accidentally worked.  Other programs failed if they depended on the value of
TCL_LIB_SPEC.

One such failing program is ap-dtcl, which was updated to depend on tclConfig.sh
without the package maintainer being contacted.  This update caused mod_dtcl.so
to be built with a bad ELF rpath -- clearly the developer who updated this did
not test it on any ELF platform (if at all).

There, that's out of my system now.  I'm off for more coffee.
2001-06-13 18:02:13 +00:00
jlam
18fc23567b Fix the installed tclConfig.sh so it's possible to use its values to generate
a shared library that depends on libtcl83.so.  The TCL_SHLIB_LD command was
set to the incorrect value for ELF platforms, relying on "ld" which doesn't
understand the -Wl,... options it receives via ${TCL_LIB_SPEC}.  Patch the
configure script to set TCL_SHLIB_LD to the proper value on NetBSD systems
depending on whether they are ELF or a.out, and also modify TCL_LIB_SPEC
to include -Wl,-rpath,... or -R...  accordingly.

Bump version number to 8.3.2nb2.
2001-05-24 02:58:15 +00:00
jlam
3d47adb084 Sort. 2001-05-12 06:05:31 +00:00
agc
8118fe36ae Move to sha1 digests, and add distfile sizes. 2001-04-19 15:00:47 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00
agc
82acd159f7 Move the COMMENT from being in its own file to a definition in the
package Makefile.
2001-02-17 09:06:56 +00:00
wiz
20766df5be Don't hardwire -O. From Adam Ciarcinski. 2001-01-24 20:13:39 +00:00
he
323b045b4b Add a point patch pulled from development version of tcl, so that
``while 1 { close [open /dev/null r] }'' does not leak memory for
each go-around.  This corresponds to sourceforge bugid #117988.
Bump PKGNAME to tcl-8.3.2nb1.
2001-01-24 18:42:33 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
jlam
1708f27d93 Honor CFLAGS passed in from the environment during build. 2000-12-08 20:41:18 +00:00
wiz
fa5c7a12ab remove one MASTERSITE (wouldn't let me log in), add three others 2000-09-02 15:59:53 +00:00
fredb
f7c085b82b Regen 2000-09-01 16:41:33 +00:00
jwise
a14829cb4f Since the configure script comes up with different shared lib suffixes on
different versions/platforms of NetBSD, use

	$(TCL_LIB_FILE:C/\.so.*/.la/)

instead of

	$(TCL_LIB_FILE:.so=.la)

to derive the libtool archive name from the shared library name.

From Frederick Bruckman, addresses PR pkg/10924.
2000-09-01 16:20:47 +00:00
tron
a712a6c2ea Add mirror on "ftp.informatik.uni-hamburg.de" to master site list. 2000-08-30 08:35:13 +00:00
jwise
faeeab4d35 Restore RCS Id accidentally lost from a patch, and make this conflict with
tclman80-*, as this package installs tcl and it's documentation.
2000-08-29 20:23:58 +00:00
jwise
b316add08e Fix bug in last commit -- new value of tcl_pkgPath was lost. 2000-08-29 18:27:44 +00:00
jwise
c7fdbad17d Rework shared library runtime search flags slightly, and improve the
values of such flags that get exported in ${PREFIX}/lib/tclConfig.sh
2000-08-29 15:13:43 +00:00
jwise
544e0a6750 Quick aesthetic fix. Tcl as shipped leaves two @foo@ cookies in the generated
tclConfig.sh.  Even thought we have nothing to sub in for these, sub them out.
2000-08-24 22:48:15 +00:00
jwise
3b10a1042d Initial import of new pkgsrc/lang/tcl (tcl-8.3.2) package, partly derived
from the older pkgsrc/lang/tcl-8.0.5.

This is an update of the tcl package from version 8.0.5 to version 8.3.2,
and also a slight change in the organization of tcl packages.

This will be added disabled to pkgsrc/lang/Makefile until I finish updating
tk and all tcl-based packags.

Changes from out of the box tcl-8.3.2:

	Both static and shared libtcl83.* are installed, thanks to
	the magic of libtool.

	$tcl_platform(machine) is set to ${MACHINE_ARCH}, not ${MACHINE},
	thanks to the patch to tcl-8.0 from Dan McMahill.  This makes
	sharing of binary packages of tcl and tcl extensions easier.

Changes to the package since tcl-8.0.5:

	$tcl_pkgPath is now set to ${PREFIX}/lib/tcl instead of ${PREFIX}/lib
	and packages which install tcl extensions will be updated to install
	there.  This produces less clutter in ${PREFIX}/lib, and mirrors the
	usage of java and elisp extension packages.

	A symlink to ${PREFIX}/bin/tclsh8.3.2 is installed as ${PREFIX}/bin/tclsh
	This change and the above are designed to allow tcl-using packages to
	not depend on any particular version of tcl.

	public tcl include files and the tcl configuration information script
	are now installed in their standard places (${PREFIX}/include/tcl.h,
	${PREFIX}/include/tclDecls.h, and ${PREFIX}/lib/tclConfig.sh), and
	private tcl include files are now installed in ${PREFIX}/include/tcl.
	This change allows tcl extension packages to work out of the box, and
	to not need modification when tcl is updated.  When extension package
	authors use the new libtclstubs*.a API, this even allows binary packages
	of dynamically-loadable tcl extensions to be used with newer versions of
	tcl without recompilation.

Here are the new features in tcl-8.3.x as opposed to 8.0.x.  I am not including
bug fixes as this represents about 18 months of them.

New Features since Tcl 8.2:
------------------------------

Improved clarity of error messages, especially for common programming
mistakes.

New lsort -unique switch to uniqify lists when sorting.

Enhanced glob command to provide simpler and more powerful cross-platform
file listing functionality.

File date stamping through "file atime" and "file mtime" and support for
chmod style permissions setting in file attributes -permissions on Unix.

New file channels command to obtain list of open channels.

"scan" command can now be used inline to return a list of values.

"regexp" has new -start, -all and -inline switches.

New "array unset" command.

New -milliseconds granularity option to "clock clicks".

Tcl optimization improvements, as well as numerous bug fixes.

Overhaul of the clock command to improve grammar and add support for
common ISO 8601 date/time formats.

Improved build support for numerous platforms.

New Features since Tcl 8.1.1
----------------------------------

Optimized string index, length, range, and append commands. Added a
new Unicode object type.

Added Tcl_RegExpMatchObj and Tcl_RegExpGetInfo
to public Tcl API, these functions are needed by Expect.  Changed
tools/genStubs.tcl to always write output in LF mode.

Merged string and Unicode object types.  Added new public Tcl API
functions:  Tcl_NewUnicodeObj, Tcl_SetUnicodeObj,
Tcl_GetUnicode, Tcl_GetUniChar, Tcl_GetCharLength, Tcl_GetRange,
Tcl_AppendUnicodeToObj.

Changed to conform to TEA specification, added tcl.m4 and aclocal.m4
macro libraries for configure.

Added new regexp interfaces: -expanded, -line, -linestop, and
-lineanchor switches.  Renamed Tcl_RegExpMatchObj to
Tcl_RegExpExecObj and added new Tcl_RegExpMatchObj that is equivalent
to Tcl_RegExpMatch.  Added public macros for regexp flags.  Added
REG_BOSONLY flag to allow Expect to iterate through a string and only
find matches that start at the current position within the
string.

Updated Unicode character tables to reflect Unicode 2.1 data.

Added initial implementation of new Tcl test harness package.
Modified test files to use new tcltest package.

Applied patch from Peter Hardie to add poke command to dde and changed
the dde package version number to 1.1.

Added options to tcltest package: -preservecore, -limitconstraints,
-help, -file, -notfile, and flags.

Changed parsing of variable names to allow empty array names.
Now "$(foo)" is a variable reference.  Previously you had to use
something line $::(foo), which is slower.  This change was
requested by Jean-Luc Fontaine for his STOOOP package.

Added Tcl_SetNotifier (public API) and associated hook points in the
notifiers to be able to replace the notifier calls at runtime. The
Xt notifier and test program use this hook.

Added a new variant of the "Trf core patch" from Andreas Kupries
that adds new C APIs Tcl_StackChannel, Tcl_UnstackChannel, and
Tcl_GetStackedChannel.  This allows the Trf extension to work without
applying patches to the Tcl core.

Added -timeout option to http.tcl to handle timeouts that occur during
connection attempts to hosts that are down.

New features since Tcl 8.1:
---------------------------

Applied Jeff Hobbs' string patch which includes the following changes:
   new subcommands: equal, repeat, map, is, replace
    -length option to "string compare|equal"
    -nocase option to "string compare|equal|match"
    string and list indices can be an integer or end?-integer?.
    added optional first and last index args to string toupper, et al.
See the string.n manual entry for more details about the new string features.

Applied Jeff Hobb's patch to add Tcl_StringCaseMatch to support case
insensitive glob style matching and Tcl_UniCharIs* character classification
functions.

Added Tcl_UtfNcmp and Tcl_UtfNcasecmp to make Utf string comparision easier.

Replaced the per-interpreter regexp cache with a per-thread cache.  Changed
the Regexp object to take advantage of this extra cache.  Added a reference
count to the TclRegexp type so regexps can be shared by multiple objects.
Removed the per-interp regexp cache from the interpreter.  Now regexps can be
used with no need for an interpreter. This set of changes should provide
significant speed improvements for many Tcl scripts.

Applied the patch to fix 100-year and 400-year boundaries in leap year code,
from Isaac Hollander.

New features since Tcl 8.0.5:
-----------------------------
Full Unicode support and a message catalog for internationalization.

Thread-safety for Tcl and Tk.

A new regular expression package by Henry Spencer that adds many
advanced features: non-greedy quantifiers, bounds, positive
and negative lookahead, collating elements, equivalence classes,
several built-in character classes, and comments.  In addition,
the regular expression engine works on Unicode strings to make
this the best regular expression package available anywhere.

Integrated the stub library mechanism contributed by Paul Duffin,
Jan Nijtmans, and Jean-Claude Wippler.  This feature will make it
possible to write extensions that support multiple versions of Tcl
simultaneously.  It also makes it possible to dynamically load
extensions into statically linked interpreters.  This patch includes
the following changes:
      - Added a Tcl_InitStubs() interface
      - Added Tcl_PkgProvideEx, Tcl_PkgRequireEx, Tcl_PkgPresentEx,
        and Tcl_PkgPresent.
More information about using the stubs interface in your extensions
can be found at http://www.scriptics.com/support/howto/stubs.html

Added a message catalog facility to Tcl.  This adds several commands
in the "msgcat" package.  Thanks to Mark Harrison for contributing
the initial implementation.

Added the "encoding" command that facilitate translations of strings
between different character encodings.

Added "string totitle" command to convert strings to capitalize the
first character of a string and lowercase all of the other characters.

-----

Whew...  If you're still reading, thanks.  Enjoy!
2000-08-24 19:53:32 +00:00