pkgsrc/lang/tcl/buildlink.mk
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

59 lines
2 KiB
Makefile

# $NetBSD: buildlink.mk,v 1.9 2001/12/23 17:02:31 bjoern Exp $
#
# This Makefile fragment is included by packages that use tcl.
#
# To use this Makefile fragment, simply:
#
# (1) Optionally define BUILDLINK_DEPENDS.tcl to the dependency pattern
# for the version of tcl desired.
# (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
.include "../../mk/bsd.buildlink.mk"
BUILDLINK_DEPENDS.tcl?= tcl>=8.3.4
DEPENDS+= ${BUILDLINK_DEPENDS.tcl}:../../lang/tcl
EVAL_PREFIX+= BUILDLINK_PREFIX.tcl=tcl
BUILDLINK_PREFIX.tcl_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.tcl= include/tcl.h
BUILDLINK_FILES.tcl+= include/tclDecls.h
BUILDLINK_FILES.tcl+= include/tclPlatDecls.h
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
_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"
tclConfig-buildlink:
${_PKG_SILENT}${_PKG_DEBUG} \
cookie=${BUILDLINK_DIR}/.tclConfig_buildlink_done; \
if [ ! -f $${cookie} ]; then \
file=lib/tclConfig.sh; \
${ECHO_BUILDLINK_MSG} "Creating script ${BUILDLINK_DIR}/$${file}."; \
${SED} ${_TCLCONFIG_SED} \
${BUILDLINK_PREFIX.tcl}/$${file} \
> ${BUILDLINK_DIR}/$${file}; \
${CHMOD} +x ${BUILDLINK_DIR}/$${file}; \
${ECHO} ${BUILDLINK_PREFIX.tcl}/$${file} >> $${cookie}; \
fi
.endif # TCL_BUILDLINK_MK