summaryrefslogtreecommitdiff
path: root/databases/tcl-gdbm
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-12-14 06:59:11 +0000
committerminskim <minskim@pkgsrc.org>2004-12-14 06:59:11 +0000
commit1abe55a88feeb52a746f44f80da8b47a1c366ac7 (patch)
tree00057d747beee3402b885b8cab76da027fba0248 /databases/tcl-gdbm
parent333655963d199119aacf1b81968fc0a7b4300a47 (diff)
downloadpkgsrc-1abe55a88feeb52a746f44f80da8b47a1c366ac7.tar.gz
Teach configure explicitly how to find tcl using buildlink3, so that
the correct tclsh is used regardless of PATH.
Diffstat (limited to 'databases/tcl-gdbm')
-rw-r--r--databases/tcl-gdbm/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/databases/tcl-gdbm/Makefile b/databases/tcl-gdbm/Makefile
index bbe5e5d6c42..e8fdade9d86 100644
--- a/databases/tcl-gdbm/Makefile
+++ b/databases/tcl-gdbm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2004/10/03 00:13:24 tv Exp $
+# $NetBSD: Makefile,v 1.16 2004/12/14 06:59:11 minskim Exp $
#
DISTNAME= tclgdbm-0.10
@@ -10,13 +10,14 @@ MASTER_SITES= http://www.graphviz.org/pub/tclgdbm/
MAINTAINER= bouyer@NetBSD.org
COMMENT= Tcl interface to gdbm - GNU database manager
-DEPENDS+= tcl>=8.4:../../lang/tcl
-DEPENDS+= gdbm>=1.8.3:../../databases/gdbm
-
GNU_CONFIGURE= # defined
+USE_BUILDLINK3= yes
USE_LIBTOOL= # defined
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
CFLAGS+= -I${LOCALBASE}/include # gdbm.h
+CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}
+.include "../../databases/gdbm/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"