pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/tk Define TK_VERSION in a separate file so that it...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/49e89405dd3f
branches:  trunk
changeset: 499085:49e89405dd3f
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Sep 08 21:25:15 2005 +0000

description:
Define TK_VERSION in a separate file so that it can be included by
other packages such as tcl-tkX, which is currently broken due to the
hardcoded Tk version.

diffstat:

 x11/tk/Makefile         |  8 +++++---
 x11/tk/Makefile.version |  3 +++
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 232b60ca0827 -r 49e89405dd3f x11/tk/Makefile
--- a/x11/tk/Makefile   Thu Sep 08 20:25:32 2005 +0000
+++ b/x11/tk/Makefile   Thu Sep 08 21:25:15 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.48 2005/08/31 09:40:15 seb Exp $
+# $NetBSD: Makefile,v 1.49 2005/09/08 21:25:15 minskim Exp $
 
-DISTNAME=      tk8.4.11-src
-PKGNAME=       tk-8.4.11
+DISTNAME=      tk${TK_VERSION}-src
+PKGNAME=       tk-${TK_VERSION}
 PKGREVISION=           1
 CATEGORIES=    x11 lang
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=tcl/}
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://www.tcl.tk/
 COMMENT=       Graphical toolkit for TCL
 
+.include "../../x11/tk/Makefile.version"
+
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
 WRKSRC=                        ${WRKDIR}/${DISTNAME:C/-src//}/unix
diff -r 232b60ca0827 -r 49e89405dd3f x11/tk/Makefile.version
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/tk/Makefile.version   Thu Sep 08 21:25:15 2005 +0000
@@ -0,0 +1,3 @@
+# $NetBSD: Makefile.version,v 1.1 2005/09/08 21:25:15 minskim Exp $
+
+TK_VERSION=8.4.11



Home | Main Index | Thread Index | Old Index