aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-04-16 15:21:41 +0800
committermm <mm@FreeBSD.org>2010-04-16 15:21:41 +0800
commit9af19c6202cb931c9b06aed6c381c5ec771a19d2 (patch)
tree63668e8b3a50628cc02a25df9d1be8b0952661e7 /x11-toolkits
parent676dc73be4ebfa9a0e0cc4ba14be93021458ba4d (diff)
downloadfreebsd-ports-gnome-9af19c6202cb931c9b06aed6c381c5ec771a19d2.tar.gz
freebsd-ports-gnome-9af19c6202cb931c9b06aed6c381c5ec771a19d2.tar.zst
freebsd-ports-gnome-9af19c6202cb931c9b06aed6c381c5ec771a19d2.zip
- Fix version string in pkgIndex.tcl
Reported by: Daniel O'Connor <doconnor@gsoft.com.au>
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/tk85/Makefile5
-rw-r--r--x11-toolkits/tk85/files/pkgIndex.tcl.in2
-rw-r--r--x11-toolkits/tk86/Makefile5
-rw-r--r--x11-toolkits/tk86/files/pkgIndex.tcl.in2
4 files changed, 8 insertions, 6 deletions
diff --git a/x11-toolkits/tk85/Makefile b/x11-toolkits/tk85/Makefile
index 57fcb972f806..e41cf73d0f95 100644
--- a/x11-toolkits/tk85/Makefile
+++ b/x11-toolkits/tk85/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tk
PORTVERSION= 8.5.8
-#PORTREVISION= 1
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= SF/tcl/Tcl/${PORTVERSION}
PKGNAMESUFFIX?= ${THREADS_SUFFIX}
@@ -45,7 +45,8 @@ THREADS_SUFFIX= -threads
LIB_DEPENDS= tcl${SHORT_TK_VER}${THREADS_SUFFIX}:${PORTSDIR}/lang/tcl${SHORT_TK_VER}-thread
.endif
-SUB_LIST+= THREADS_SUFFIX="${THREADS_SUFFIX}"
+SUB_LIST+= THREADS_SUFFIX="${THREADS_SUFFIX}" \
+ TCLPATCHLEVEL="${PORTVERSION}"
.include <bsd.port.pre.mk>
diff --git a/x11-toolkits/tk85/files/pkgIndex.tcl.in b/x11-toolkits/tk85/files/pkgIndex.tcl.in
index 954c05521c10..4c66beca7d5b 100644
--- a/x11-toolkits/tk85/files/pkgIndex.tcl.in
+++ b/x11-toolkits/tk85/files/pkgIndex.tcl.in
@@ -1,3 +1,3 @@
# Tcl package index file, version 1.0
-package ifneeded Tk%%THREADS_SUFFIX%% 8.5 "[list load "[file join [file dirname $dir] libtk85%%THREADS_SUFFIX%%.so.1]" Tk]%%TK_PROVIDE%%"
+package ifneeded Tk%%THREADS_SUFFIX%% %%TCLPATCHLEVEL%% "[list load "[file join [file dirname $dir] libtk85%%THREADS_SUFFIX%%.so.1]" Tk]%%TK_PROVIDE%%"
diff --git a/x11-toolkits/tk86/Makefile b/x11-toolkits/tk86/Makefile
index c74f6381d09a..c752d09ec985 100644
--- a/x11-toolkits/tk86/Makefile
+++ b/x11-toolkits/tk86/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tk
PORTVERSION= 8.6.b.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-toolkits
MASTER_SITES= SF/tcl/Tcl/8.6b1
PKGNAMESUFFIX?= ${THREADS_SUFFIX}
@@ -45,7 +45,8 @@ THREADS_SUFFIX= -threads
LIB_DEPENDS= tcl${SHORT_TK_VER}${THREADS_SUFFIX}:${PORTSDIR}/lang/tcl${SHORT_TK_VER}-thread
.endif
-SUB_LIST+= THREADS_SUFFIX="${THREADS_SUFFIX}"
+SUB_LIST+= THREADS_SUFFIX="${THREADS_SUFFIX}" \
+ TCLPATCHLEVEL="8.6b1"
.include <bsd.port.pre.mk>
diff --git a/x11-toolkits/tk86/files/pkgIndex.tcl.in b/x11-toolkits/tk86/files/pkgIndex.tcl.in
index 9bd93ee7d50c..dd53ba798811 100644
--- a/x11-toolkits/tk86/files/pkgIndex.tcl.in
+++ b/x11-toolkits/tk86/files/pkgIndex.tcl.in
@@ -1,3 +1,3 @@
# Tcl package index file, version 1.0
-package ifneeded Tk%%THREADS_SUFFIX%% 8.6b1 "[list load "[file join [file dirname $dir] libtk86%%THREADS_SUFFIX%%.so.1]" Tk]%%TK_PROVIDE%%"
+package ifneeded Tk%%THREADS_SUFFIX%% %%TCLPATCHLEVEL%% "[list load "[file join [file dirname $dir] libtk86%%THREADS_SUFFIX%%.so.1]" Tk]%%TK_PROVIDE%%"