summaryrefslogtreecommitdiff
path: root/databases/tcl-gdbm
diff options
context:
space:
mode:
authorminskim <minskim>2004-12-14 06:59:11 +0000
committerminskim <minskim>2004-12-14 06:59:11 +0000
commitf8cc76863c5806d02bf81cf2dbf5ca560cf4e20b (patch)
tree00057d747beee3402b885b8cab76da027fba0248 /databases/tcl-gdbm
parent0dc2402fe1f6a66611d73fdea696dec3b6fe0401 (diff)
downloadpkgsrc-f8cc76863c5806d02bf81cf2dbf5ca560cf4e20b.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"