Commit graph

111 commits

Author SHA1 Message Date
minskim
4e88909889 Add link options to have a correct dependency_libs line in .la files
on NetBSD.

Bump PKGREVISION.
2006-02-23 23:30:57 +00:00
adam
36aff7b87b Changes 8.4.12:
* Repeated [namespace import] of same command now permitted.
  * ${prefix}/share added to ::tcl_pkgPath on some systems.
  * [exec]'s >> redirection has improved append behavior.
  * [info globals] returned only existing variables.
  * Recognize some Solaris variations of the cp1251 encoding.
  * Addressed [file mkdir] race condition.
  * Support opening >2GB files on RHEL 3.
  * Corrections to $argv formatting when [encoding system] is multibyte.
  * http 2.5.2: Update URL encoding rules to RFC 3986.
  * Fixed issue in recursive file delete with NFS lock files.
  * Stopped crash after use of Tcl_TraceCommand().
  * Win NT/XP: support unicode console.
  * Improved support for Tclkit to set [encoding system].
  * Added Korean timezone abbreviations.
  * Windows: exit codes can now exceed -128..127 range.
  * [load] support on LynxOS.
  * Packages with incorrect index scripts now cause a warning to be logged.
        *** POTENTIAL INCOMPATIBILITY ***
  * [lsearch -regexp] now accepts backrefs in the RE.
  * [selection get] made compatible with OpenOffice.org.
  * Dialog support for widget names containing spaces.
  * Improved Tk window manager event interaction on OS X Aqua.
2006-01-16 14:47:35 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
reed
a4bd461010 Remove wiz's quick workaround for the --mandir.
Remove the --mandir setting for CONFIGURE_ARGS as this is
now done by default (for GNU_CONFIGURE).

Remove the man page staging from post-install (and the
comment about this). The maintainer told me this was
a workaround for older versions of tcl and that it is
fixed now.
2005-10-07 18:38:34 +00:00
wiz
a8586bfce5 Package wants to override mandir, so set
CONFIGURE_HAS_MANDIR=  no
2005-10-07 17:19:03 +00:00
joerg
92da883c16 Ensure that errno really comes from errno.h and only define it as
extern, if it's not a macro. Teach configure about DragonFly.

OKed by maintainer.
2005-09-21 14:49:08 +00:00
seb
f55a33f4ff Add patch from Tcl cvs repository. See:
http://sourceforge.net/tracker/index.php?func=detail&aid=1222872&group_id=10894&atid=110894
http://cvs.sourceforge.net/viewcvs.py/tcl/tcl/unix/tclUnixNotfy.c?r1=1.11.2.12&r2=1.11.2.13&only_with_tag=core-8-4-branch

This has the added benefit of improving the tcl interpreter stability on
NetBSD/sparc64 2.0_STABLE: no more SIGBUS, due to a LP64 type problem with
a pthread_join() argument, even if the self-test is still shaggy.

Approved by jwise@.
2005-08-31 14:46:59 +00:00
seb
3d9bf3cc3a Restore original quoting syntax of variables in t{k,cl}Config.sh in order
to follow the principle of least surprise between the packages and the
mainstream builds.

Approved by jwise@.

Bump PKGREVISION of lang/tcl, x11/tk, x11/tk83 to 1 and of lang/tcl83 to 2.
2005-08-31 09:40:15 +00:00
seb
62f5a980a4 Patches and tuning so the test target runs and pass, at least on
NetBSD/i386 2.0_STABLE and current: set timezone in TEST_ENV, use
libtool to compile shared test modules and account for that in the
Tcl test scripts.

Thanks to jwise@ for the helping hand.
2005-08-02 22:37:18 +00:00
adam
3c8a19282b Changes 8.4.11:
* Bug fixes
2005-07-19 11:11:58 +00:00
jschauma
6af461a38a patch TCL_SRC_DIR and TK_SRC_DIR into tclConfig.sh and tkConfig.sh correctly 2005-04-13 20:41:03 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jschauma
f7f6de3c15 patch tclConfig.sh and tkConfig.sh so that they do not contain references
to the build environment, which of course no longer exists once we
install the file.  Also make sure that variables are set using
double quotes, so that variables inside are expanded.  Ok jwise@.
2005-04-11 02:44:26 +00:00
dmcmahill
010e59b2b2 use defined() instead of !empty() 2005-03-08 00:26:31 +00:00
jschauma
972f8eb122 On 64bit capable platforms, --enable-64bit 2005-03-06 18:20:52 +00:00
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
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