diff --git a/databases/sqlite/Makefile b/databases/sqlite/Makefile index 129d3af6b2a..269707dc64c 100644 --- a/databases/sqlite/Makefile +++ b/databases/sqlite/Makefile @@ -1,31 +1,38 @@ -# $OpenBSD: Makefile,v 1.8 2005/04/29 00:02:05 djm Exp $ +# $OpenBSD: Makefile,v 1.9 2005/11/03 23:05:01 jolan Exp $ COMMENT= "Embedded SQL implementation" - DISTNAME= sqlite-2.8.16 +PKGNAME= ${DISTNAME}p0 CATEGORIES= databases -HOMEPAGE= http://www.sqlite.org/ MASTER_SITES= ${HOMEPAGE} -# Public Domain -PERMIT_PACKAGE_CDROM= Yes -PERMIT_PACKAGE_FTP= Yes +HOMEPAGE= http://www.sqlite.org/ + +# PD PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= c ncurses readline +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes -CONFIGURE_STYLE= autoconf no-autoheader -AUTOCONF_VERSION= 2.59 -USE_GMAKE= Yes +AUTOCONF_VERSION=2.59 +USE_GMAKE= Yes -BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \ - tcl84::lang/tcl/8.4 +BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig +WANTLIB= c ncurses readline -CONFIGURE_ARGS= ${CONFIGURE_SHARED} -CONFIGURE_ENV= config_TARGET_TCL_LIBS="-L${LOCALBASE}/lib -ltcl84 -lm" -CONFIGURE_ENV+= config_TARGET_TCL_INC="-I${LOCALBASE}/include/tcl8.4" +FLAVORS=no_tcl +FLAVOR?= -REGRESS_TARGET= test +CONFIGURE_STYLE=autoconf no-autoheader +CONFIGURE_ARGS= ${CONFIGURE_SHARED} +.if ${FLAVOR:Mno_tcl} +NO_REGRESS= Yes +CONFIGURE_ARGS+=--disable-tcl +.else +REGRESS_TARGET= test +BUILD_DEPENDS+= tcl84::lang/tcl/8.4 +CONFIGURE_ENV+= config_TARGET_TCL_LIBS="-L${LOCALBASE}/lib -ltcl84 -lm" +CONFIGURE_ENV+= config_TARGET_TCL_INC="-I${LOCALBASE}/include/tcl8.4" +.endif .include - diff --git a/databases/sqlite/pkg/DESCR b/databases/sqlite/pkg/DESCR index f16c3ed4888..afc827e1d1c 100644 --- a/databases/sqlite/pkg/DESCR +++ b/databases/sqlite/pkg/DESCR @@ -5,3 +5,5 @@ standalone command-line access program (sqlite) that can be used to administer an SQLite database and which serves as an example of how to use the SQLite library. +Flavors: + no_tcl - disables TCL-based regression tests