pkgsrc/lang/tcl/Makefile
adam 4fe343190e tcl: updated to 8.6.9
8.6.9:
* (enhance) stop blocking conversion of object to/from class
* (enhance) NR-enable [package require]
* (bug)[9fd5c6] crash in object deletion, test oo-11.5
* (bug)[3c32a3] crash deleting object with class mixed in
* (platform) stop using -lieee, removed from glibc-2.27
***POTENTIAL INCOMPATIBILITY for math programs that embed Tcl***
* (bug)[8e6a9a] bad binary [string match], test string-11.55
* (bug)[1873ea] repair multi-thread std channel init
* (bug)[db36fa] broken bytecode for index values
* (bug) broken compiled [string replace], test string-14.19
* (bug) [string trim*] engine crashed on invalid UTF
* (bug) missing trace in compiled [array set], test var-20.11
* (bug)[46a241] crash in unset array with search, var-13.[23]
* (bug)[27b682] race made [file delete] raise "no such file"
* (bug)[925643] 32/64 cleanup of filesystem DIR operations
* (bug) leaks in TclSetEnv and env cache
* (bug)[3592747] [yieldto] dying namespace, tailcall-14.1
* (bug)[270f78] race in [file mkdir]
* (bug)[3f7af0] [file delete] raised "permission denied"
* (bug)[d051b7] overflow crash in [format]
* revised quoting of [exec] args in generated command line
***POTENTIAL INCOMPATIBILITY***
* HTTP Keep-Alive with pipelined requests
=> http 2.9.0
* (new)[TIP 505] [lreplace] accepts all out of range indices
* (bug) Prevent crash from NULL keyName
=> registry 1.3.3
* (enhance) advance dde version
=> dde 1.4.1
* tzdata updated to Olson's tzdata2018g
* Update tcltest package for Travis support
=> tcltest 2.5.0
* (bug)[35a8f1] overlong string length of some lists
* (bug)[00d04c] Repair [binary encode base64]
2018-12-09 18:33:55 +00:00

78 lines
2.5 KiB
Makefile

# $NetBSD: Makefile,v 1.103 2018/12/09 18:33:55 adam Exp $
DISTNAME= tcl${TCL_VERSION}-src
PKGNAME= tcl-${TCL_VERSION}
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.tcl.tk/
COMMENT= Tool Command Language, a dynamic language
LICENSE= 2-clause-bsd
.include "../../lang/tcl/Makefile.version"
WRKSRC= ${WRKDIR}/tcl${TCL_VERSION}
USE_GCC_RUNTIME= yes
GNU_CONFIGURE= yes
CONFIGURE_DIRS= unix
BUILD_DIRS= ${CONFIGURE_DIRS}
INSTALL_TARGET= install
PKGCONFIG_OVERRIDE+= unix/tcl.pc.in
CHECK_PORTABILITY_SKIP= win/configure
# The test target gives better results when not run as root.
TEST_TARGET= test
.include "options.mk"
# This is needed for SGI and maybe sun (according to tcl developers)
.if defined(ABI) && ${ABI} == "64"
CONFIGURE_ARGS+= --enable-64bit
.endif
CONFIGURE_ARGS.NetBSD+= ac_cv_func_gethostbyname_r=no
SUBST_CLASSES+= tcl-config
SUBST_STAGE.tcl-config= post-build
SUBST_FILES.tcl-config= unix/tclConfig.sh
SUBST_SED.tcl-config+= -e "s|${WRKSRC}/unix|${PREFIX}/lib|"
SUBST_SED.tcl-config+= -e "s|${WRKSRC}|${PREFIX}/include/tcl|"
PLIST_SUBST+= SONUM=${TCL_SONUM}
PLIST_SUBST+= BASEVER=${TCL_BASEVER}
PLIST_SUBST+= ITCL_VERSION=${ITCL_VERSION}
PLIST_SUBST+= SQLITE3_VERSION=${SQLITE3_VERSION}
PLIST_SUBST+= TDBC_VERSION=${TDBC_VERSION}
PLIST_SUBST+= THREAD_VERSION=${THREAD_VERSION}
CONFIGURE_ARGS+= --with-system-sqlite
SUBST_CLASSES+= sqllink
SUBST_STAGE.sqllink= pre-configure
SUBST_FILES.sqllink= pkgs/sqlite${SQLITE3_VERSION}/configure
SUBST_SED.sqllink= -e "/LIBS=/s|-lsqlite3|-L${BUILDLINK_PREFIX.sqlite3}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.sqlite3}/lib -lsqlite3|g"
# install-sh requires $SHELL is an extremely close match to /bin/sh
MAKE_ENV+= SHELL=${SH:Q}
.if ${OPSYS} == "Darwin"
post-build:
. for lib in itcl${ITCL_VERSION}/libitcl${ITCL_VERSION}.dylib \
sqlite${SQLITE3_VERSION}/libsqlite${SQLITE3_VERSION}.dylib \
tdbc${TDBC_VERSION}/libtdbc${TDBC_VERSION}.dylib \
tdbcmysql${TDBC_VERSION}/libtdbcmysql${TDBC_VERSION}.dylib \
tdbcodbc${TDBC_VERSION}/libtdbcodbc${TDBC_VERSION}.dylib \
tdbcpostgres${TDBC_VERSION}/libtdbcpostgres${TDBC_VERSION}.dylib \
thread${THREAD_VERSION}/libthread${THREAD_VERSION}.dylib
install_name_tool -id ${PREFIX}/lib/${lib} ${WRKSRC}/unix/pkgs/${lib}
. endfor
.endif
BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=${SQLITE3_VERSION}
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"