From bdeeb55fd878479a9ae26e1028023d275bffe830 Mon Sep 17 00:00:00 2001 From: jperkin Date: Wed, 29 Jul 2015 15:23:11 +0000 Subject: Ensure we can find pkgsrc-installed sqlite3. --- lang/tcl/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lang/tcl') diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile index 27d6277cddf..5aecfd54ed1 100644 --- a/lang/tcl/Makefile +++ b/lang/tcl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.81 2015/07/22 04:54:23 dholland Exp $ +# $NetBSD: Makefile,v 1.82 2015/07/29 15:23:11 jperkin Exp $ DISTNAME= tcl${TCL_VERSION}-src PKGNAME= tcl-${TCL_VERSION} @@ -50,6 +50,10 @@ PLIST_SUBST+= SONUM=${TCL_SONUM} PLIST_SUBST+= BASEVER=${TCL_BASEVER} CONFIGURE_ARGS+= --with-system-sqlite +SUBST_CLASSES+= sqllink +SUBST_STAGE.sqllink= pre-configure +SUBST_FILES.sqllink= pkgs/sqlite3.8.8.3/configure +SUBST_SED.sqllink= -e "/LIBS=/s,-lsqlite3,-L${BUILDLINK_PREFIX.sqlite3}/lib -lsqlite3,g" BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.8.3 .include "../../databases/sqlite3/buildlink3.mk" -- cgit v1.2.3