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
commit0811cc2c6f6a810bd844b3ce3888bf970edadd9d (patch)
tree00057d747beee3402b885b8cab76da027fba0248 /databases/tcl-gdbm
parent909a7466f3e9cbd90a91abf729e3b22ae485ebf0 (diff)
downloadpkgsrc-0811cc2c6f6a810bd844b3ce3888bf970edadd9d.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"