From 9fe596bfd0ae23fbe92f4a6e8312fedad78a74cd Mon Sep 17 00:00:00 2001 From: gahr Date: Wed, 25 Sep 2013 09:32:09 +0000 Subject: [PATCH] - Convert to USES+=tcl - Fix package provide --- databases/sqlite2/Makefile | 9 ++++----- databases/sqlite2/files/pkgIndex.tcl | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/databases/sqlite2/Makefile b/databases/sqlite2/Makefile index ec5cb29b1a63..4ac24d504c03 100644 --- a/databases/sqlite2/Makefile +++ b/databases/sqlite2/Makefile @@ -10,8 +10,7 @@ MASTER_SITES= http://www.sqlite.org/ MAINTAINER= ports@FreeBSD.org COMMENT= An SQL database engine in a C library -USES= pkgconfig -USE_GMAKE= YES +USES= gmake pkgconfig USE_AUTOTOOLS= libtool USE_LDCONFIG= YES @@ -30,11 +29,11 @@ NO_STAGE= yes .include .if ${PORT_OPTIONS:MTCL} -USE_TCL= 84+ +USES+= tcl .else .if ${PORT_OPTIONS:MDOCS} -USE_TCL_BUILD= 84+ -. endif +USES+= tcl:build +.endif .endif .include diff --git a/databases/sqlite2/files/pkgIndex.tcl b/databases/sqlite2/files/pkgIndex.tcl index d96e27a1bc55..cf17c6ef1f1b 100644 --- a/databases/sqlite2/files/pkgIndex.tcl +++ b/databases/sqlite2/files/pkgIndex.tcl @@ -1 +1 @@ -package ifneeded sqlite 0.0 [list load [file join $dir libtclsqlite.so] sqlite] +package ifneeded sqlite 2.0 [list load [file join $dir libtclsqlite.so] sqlite]