On Mon, Oct 24, 2005 at 11:54:09AM +0200, Pierre-Yves Ritschard wrote: > Hi, this small patch disables tcl for sqlite.
Can you make it more like how no_tcl is for databases/sqlite3? > Index: Makefile > =================================================================== > RCS file: /cvs/ports/databases/sqlite/Makefile,v > retrieving revision 1.8 > diff -u -r1.8 Makefile > --- Makefile 2005/04/29 00:02:05 1.8 > +++ Makefile 2005/10/24 08:49:44 > @@ -18,12 +18,19 @@ > AUTOCONF_VERSION= 2.59 > USE_GMAKE= Yes > > -BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \ > - tcl84::lang/tcl/8.4 > +FLAVORS=no_tcl > +FLAVOR?= > > -CONFIGURE_ARGS= ${CONFIGURE_SHARED} > +BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig > + > +CONFIGURE_ARGS= ${CONFIGURE_SHARED} > +.if ${FLAVOR} == "no_tcl" > +CONFIGURE_ARGS+= --disable-tcl > +.else > +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" > +CONFIGURE_ENV+= config_TARGET_TCL_INC="-I${LOCALBASE}/include/tcl8.4" > +.endif > > REGRESS_TARGET= test >