pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/tcl



Module Name:    pkgsrc
Committed By:   kamil
Date:           Fri Oct 21 11:45:44 UTC 2016

Modified Files:
        pkgsrc/lang/tcl: Makefile Makefile.version PLIST buildlink3.mk

Log Message:
Export TDBC_VERSION like ITCL_VERSION.

Use these versions as well in Makefile and PLIST.

It's unclear whether buildlink3.mk might include Makefile.version, this
is the reason to duplicate this information.

There are other packages that might be versioned similarily:
 - sqlite3,
 - thread.

No user-visible change in the main package.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 pkgsrc/lang/tcl/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/lang/tcl/Makefile.version
cvs rdiff -u -r1.21 -r1.22 pkgsrc/lang/tcl/PLIST
cvs rdiff -u -r1.28 -r1.29 pkgsrc/lang/tcl/buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/tcl/Makefile
diff -u pkgsrc/lang/tcl/Makefile:1.92 pkgsrc/lang/tcl/Makefile:1.93
--- pkgsrc/lang/tcl/Makefile:1.92       Mon Sep  5 13:24:38 2016
+++ pkgsrc/lang/tcl/Makefile    Fri Oct 21 11:45:44 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.92 2016/09/05 13:24:38 adam Exp $
+# $NetBSD: Makefile,v 1.93 2016/10/21 11:45:44 kamil Exp $
 
 DISTNAME=      tcl${TCL_VERSION}-src
 PKGNAME=       tcl-${TCL_VERSION}
@@ -45,6 +45,8 @@ SUBST_SED.tcl-config+=        -e "s|${WRKSRC}|$
 
 PLIST_SUBST+=          SONUM=${TCL_SONUM}
 PLIST_SUBST+=          BASEVER=${TCL_BASEVER}
+PLIST_SUBST+=          ITCL_VERSION=${ITCL_VERSION}
+PLIST_SUBST+=          TDBC_VERSION=${TDBC_VERSION}
 
 CONFIGURE_ARGS+=       --with-system-sqlite
 SUBST_CLASSES+=                sqllink
@@ -54,12 +56,12 @@ SUBST_SED.sqllink=  -e "/LIBS=/s|-lsqlite
 
 .if ${OPSYS} == "Darwin"
 post-build:
-.  for lib in itcl4.0.5/libitcl4.0.5.dylib \
+.  for lib in itcl${ITCL_VERSION}/libitcl${ITCL_VERSION}.dylib \
              sqlite3.13.0/libsqlite3.13.0.dylib \
-             tdbc1.0.4/libtdbc1.0.4.dylib \
-             tdbcmysql1.0.4/libtdbcmysql1.0.4.dylib \
-             tdbcodbc1.0.4/libtdbcodbc1.0.4.dylib \
-             tdbcpostgres1.0.4/libtdbcpostgres1.0.4.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 \
              thread2.8.0/libthread2.8.0.dylib
        install_name_tool -id ${PREFIX}/lib/${lib} ${WRKSRC}/unix/pkgs/${lib}
 .  endfor

Index: pkgsrc/lang/tcl/Makefile.version
diff -u pkgsrc/lang/tcl/Makefile.version:1.20 pkgsrc/lang/tcl/Makefile.version:1.21
--- pkgsrc/lang/tcl/Makefile.version:1.20       Fri Oct 21 01:44:24 2016
+++ pkgsrc/lang/tcl/Makefile.version    Fri Oct 21 11:45:44 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.version,v 1.20 2016/10/21 01:44:24 kamil Exp $
+# $NetBSD: Makefile.version,v 1.21 2016/10/21 11:45:44 kamil Exp $
 # used by cad/xcircuit/Makefile
 # used by devel/tcl-tclcl/Makefile
 # used by lang/tcl/Makefile
@@ -9,4 +9,6 @@ TCL_SONUM=      86
 TCL_BASEVER=   8.6
 TCL_VERSION=   8.6.6
 
-# Update bundled itcl version (ITCL_VERSION) in lang/tcl/buildlink3.mk
+# Update bundled versions in lang/tcl/buildlink3.mk
+ITCL_VERSION=  4.0.5
+TDBC_VERSION=  1.0.4

Index: pkgsrc/lang/tcl/PLIST
diff -u pkgsrc/lang/tcl/PLIST:1.21 pkgsrc/lang/tcl/PLIST:1.22
--- pkgsrc/lang/tcl/PLIST:1.21  Sat Sep  3 20:28:39 2016
+++ pkgsrc/lang/tcl/PLIST       Fri Oct 21 11:45:44 2016
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2016/09/03 20:28:39 wiz Exp $
+@comment $NetBSD: PLIST,v 1.22 2016/10/21 11:45:44 kamil Exp $
 bin/sqlite3_analyzer
 bin/tclsh
 bin/tclsh${BASEVER}
@@ -52,13 +52,13 @@ include/tclThread.h
 include/tdbc.h
 include/tdbcDecls.h
 include/tdbcInt.h
-lib/itcl4.0.5/itcl.tcl
-lib/itcl4.0.5/itclConfig.sh
-lib/itcl4.0.5/itclHullCmds.tcl
-lib/itcl4.0.5/itclWidget.tcl
-lib/itcl4.0.5/libitcl4.0.5.so
-lib/itcl4.0.5/libitclstub4.0.5.a
-lib/itcl4.0.5/pkgIndex.tcl
+lib/itcl${ITCL_VERSION}/itcl.tcl
+lib/itcl${ITCL_VERSION}/itclConfig.sh
+lib/itcl${ITCL_VERSION}/itclHullCmds.tcl
+lib/itcl${ITCL_VERSION}/itclWidget.tcl
+lib/itcl${ITCL_VERSION}/libitcl${ITCL_VERSION}.so
+lib/itcl${ITCL_VERSION}/libitclstub${ITCL_VERSION}.a
+lib/itcl${ITCL_VERSION}/pkgIndex.tcl
 lib/libtcl${SONUM}.a
 lib/libtcl${SONUM}.so
 lib/libtcl${SONUM}.so.1.0
@@ -301,23 +301,23 @@ lib/tcl8/8.4/platform/shell-1.1.4.tm
 lib/tcl8/8.5/msgcat-1.6.0.tm
 lib/tcl8/8.5/tcltest-2.4.0.tm
 lib/tcl8/8.6/http-2.8.9.tm
-lib/tcl8/8.6/tdbc/sqlite3-1.0.4.tm
+lib/tcl8/8.6/tdbc/sqlite3-${TDBC_VERSION}.tm
 lib/tclConfig.sh
 lib/tclooConfig.sh
-lib/tdbc1.0.4/libtdbc1.0.4.so
-lib/tdbc1.0.4/libtdbcstub1.0.4.a
-lib/tdbc1.0.4/pkgIndex.tcl
-lib/tdbc1.0.4/tdbc.tcl
-lib/tdbc1.0.4/tdbcConfig.sh
-lib/tdbcmysql1.0.4/libtdbcmysql1.0.4.so
-lib/tdbcmysql1.0.4/pkgIndex.tcl
-lib/tdbcmysql1.0.4/tdbcmysql.tcl
-lib/tdbcodbc1.0.4/libtdbcodbc1.0.4.so
-lib/tdbcodbc1.0.4/pkgIndex.tcl
-lib/tdbcodbc1.0.4/tdbcodbc.tcl
-lib/tdbcpostgres1.0.4/libtdbcpostgres1.0.4.so
-lib/tdbcpostgres1.0.4/pkgIndex.tcl
-lib/tdbcpostgres1.0.4/tdbcpostgres.tcl
+lib/tdbc${TDBC_VERSION}/libtdbc${TDBC_VERSION}.so
+lib/tdbc${TDBC_VERSION}/libtdbcstub${TDBC_VERSION}.a
+lib/tdbc${TDBC_VERSION}/pkgIndex.tcl
+lib/tdbc${TDBC_VERSION}/tdbc.tcl
+lib/tdbc${TDBC_VERSION}/tdbcConfig.sh
+lib/tdbcmysql${TDBC_VERSION}/libtdbcmysql${TDBC_VERSION}.so
+lib/tdbcmysql${TDBC_VERSION}/pkgIndex.tcl
+lib/tdbcmysql${TDBC_VERSION}/tdbcmysql.tcl
+lib/tdbcodbc${TDBC_VERSION}/libtdbcodbc${TDBC_VERSION}.so
+lib/tdbcodbc${TDBC_VERSION}/pkgIndex.tcl
+lib/tdbcodbc${TDBC_VERSION}/tdbcodbc.tcl
+lib/tdbcpostgres${TDBC_VERSION}/libtdbcpostgres${TDBC_VERSION}.so
+lib/tdbcpostgres${TDBC_VERSION}/pkgIndex.tcl
+lib/tdbcpostgres${TDBC_VERSION}/tdbcpostgres.tcl
 lib/thread2.8.0/libthread2.8.0.so
 lib/thread2.8.0/pkgIndex.tcl
 lib/thread2.8.0/ttrace.tcl

Index: pkgsrc/lang/tcl/buildlink3.mk
diff -u pkgsrc/lang/tcl/buildlink3.mk:1.28 pkgsrc/lang/tcl/buildlink3.mk:1.29
--- pkgsrc/lang/tcl/buildlink3.mk:1.28  Fri Oct 21 01:44:24 2016
+++ pkgsrc/lang/tcl/buildlink3.mk       Fri Oct 21 11:45:44 2016
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.28 2016/10/21 01:44:24 kamil Exp $
+# $NetBSD: buildlink3.mk,v 1.29 2016/10/21 11:45:44 kamil Exp $
 
 BUILDLINK_TREE+=       tcl
 
@@ -23,6 +23,7 @@ TCLCONFIG_SH?=                ${BUILDLINK_PREFIX.tcl}/
 TCLSH=                 ${BUILDLINK_PREFIX.tcl}/bin/tclsh
 # Bundled library
 ITCL_VERSION=          4.0.5
+TDBC_VERSION=          1.0.4
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/dlopen.buildlink3.mk"



Home | Main Index | Thread Index | Old Index