- Fix version string in pkgIndex.tcl

Reported by:	Daniel O'Connor <doconnor@gsoft.com.au>
This commit is contained in:
Martin Matuska 2010-04-16 07:21:41 +00:00
parent a1ca944f48
commit bcb5c27f62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252756
4 changed files with 8 additions and 6 deletions

View file

@ -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>

View file

@ -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%%"

View file

@ -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>

View file

@ -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%%"