pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/tcl-gdbm Teach configure explicitly how to f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4484c2713d67
branches:  trunk
changeset: 485497:4484c2713d67
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Dec 14 06:59:11 2004 +0000

description:
Teach configure explicitly how to find tcl using buildlink3, so that
the correct tclsh is used regardless of PATH.

diffstat:

 databases/tcl-gdbm/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 4684a65d7b3d -r 4484c2713d67 databases/tcl-gdbm/Makefile
--- a/databases/tcl-gdbm/Makefile       Tue Dec 14 06:47:30 2004 +0000
+++ b/databases/tcl-gdbm/Makefile       Tue Dec 14 06:59:11 2004 +0000
@@ -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 @@
 MAINTAINER=    bouyer%NetBSD.org@localhost
 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"



Home | Main Index | Thread Index | Old Index