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 18:02:30 +01:00
|
|
|
# $NetBSD: buildlink.mk,v 1.9 2001/12/23 17:02:31 bjoern Exp $
|
2001-06-21 20:54:37 +02:00
|
|
|
#
|
|
|
|
# This Makefile fragment is included by packages that use tcl.
|
|
|
|
#
|
|
|
|
# To use this Makefile fragment, simply:
|
|
|
|
#
|
2001-06-23 21:26:48 +02:00
|
|
|
# (1) Optionally define BUILDLINK_DEPENDS.tcl to the dependency pattern
|
|
|
|
# for the version of tcl desired.
|
2001-06-21 20:54:37 +02:00
|
|
|
# (2) Include this Makefile fragment in the package Makefile,
|
|
|
|
# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
|
|
|
|
# search path, and
|
|
|
|
# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
|
|
|
|
# path.
|
|
|
|
|
|
|
|
.if !defined(TCL_BUILDLINK_MK)
|
|
|
|
TCL_BUILDLINK_MK= # defined
|
|
|
|
|
2001-07-02 00:59:08 +02:00
|
|
|
.include "../../mk/bsd.buildlink.mk"
|
|
|
|
|
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 18:02:30 +01:00
|
|
|
BUILDLINK_DEPENDS.tcl?= tcl>=8.3.4
|
2001-06-23 21:26:48 +02:00
|
|
|
DEPENDS+= ${BUILDLINK_DEPENDS.tcl}:../../lang/tcl
|
2001-06-21 20:54:37 +02:00
|
|
|
|
2001-07-20 03:54:31 +02:00
|
|
|
EVAL_PREFIX+= BUILDLINK_PREFIX.tcl=tcl
|
2001-07-27 15:33:18 +02:00
|
|
|
BUILDLINK_PREFIX.tcl_DEFAULT= ${LOCALBASE}
|
2001-06-21 20:54:37 +02:00
|
|
|
BUILDLINK_FILES.tcl= include/tcl.h
|
|
|
|
BUILDLINK_FILES.tcl+= include/tclDecls.h
|
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 18:02:30 +01:00
|
|
|
BUILDLINK_FILES.tcl+= include/tclPlatDecls.h
|
2001-06-21 20:54:37 +02:00
|
|
|
BUILDLINK_FILES.tcl+= include/tcl/*/*.h
|
|
|
|
BUILDLINK_FILES.tcl+= lib/libtcl83.*
|
|
|
|
BUILDLINK_FILES.tcl+= lib/libtclstub83.*
|
|
|
|
|
|
|
|
BUILDLINK_TARGETS.tcl= tcl-buildlink
|
|
|
|
BUILDLINK_TARGETS.tcl+= tclConfig-buildlink
|
|
|
|
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.tcl}
|
|
|
|
|
|
|
|
pre-configure: ${BUILDLINK_TARGETS.tcl}
|
|
|
|
tcl-buildlink: _BUILDLINK_USE
|
|
|
|
|
2001-10-23 15:02:11 +02:00
|
|
|
_TCLCONFIG_SED= \
|
|
|
|
-e "/^TCL_PREFIX/s|${BUILDLINK_PREFIX.tcl}|${BUILDLINK_DIR}|g"
|
|
|
|
_TCLCONFIG_SED+= \
|
|
|
|
-e "s|-L${BUILDLINK_PREFIX.tcl}/lib|-L${BUILDLINK_DIR}/lib|g"
|
|
|
|
_TCLCONFIG_SED+= \
|
|
|
|
-e "s|${BUILDLINK_PREFIX.tcl}/lib/libtclstub|${BUILDLINK_DIR}/lib/libtclstub|g"
|
|
|
|
|
2001-06-21 20:54:37 +02:00
|
|
|
tclConfig-buildlink:
|
|
|
|
${_PKG_SILENT}${_PKG_DEBUG} \
|
|
|
|
cookie=${BUILDLINK_DIR}/.tclConfig_buildlink_done; \
|
|
|
|
if [ ! -f $${cookie} ]; then \
|
|
|
|
file=lib/tclConfig.sh; \
|
2001-11-30 18:21:54 +01:00
|
|
|
${ECHO_BUILDLINK_MSG} "Creating script ${BUILDLINK_DIR}/$${file}."; \
|
2001-10-23 15:02:11 +02:00
|
|
|
${SED} ${_TCLCONFIG_SED} \
|
|
|
|
${BUILDLINK_PREFIX.tcl}/$${file} \
|
|
|
|
> ${BUILDLINK_DIR}/$${file}; \
|
2001-06-21 20:54:37 +02:00
|
|
|
${CHMOD} +x ${BUILDLINK_DIR}/$${file}; \
|
2001-07-23 14:34:32 +02:00
|
|
|
${ECHO} ${BUILDLINK_PREFIX.tcl}/$${file} >> $${cookie}; \
|
2001-06-21 20:54:37 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
.endif # TCL_BUILDLINK_MK
|