summaryrefslogtreecommitdiff
path: root/lang/tcl
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-07-29 15:23:11 +0000
committerjperkin <jperkin>2015-07-29 15:23:11 +0000
commitbdeeb55fd878479a9ae26e1028023d275bffe830 (patch)
treeb02df86848c05427b59095ac04c51f986337e875 /lang/tcl
parentea0535b34ab41f8ad5e0efe6172e94743955910a (diff)
downloadpkgsrc-bdeeb55fd878479a9ae26e1028023d275bffe830.tar.gz
Ensure we can find pkgsrc-installed sqlite3.
Diffstat (limited to 'lang/tcl')
-rw-r--r--lang/tcl/Makefile6
1 files changed, 5 insertions, 1 deletions
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"