From 6606abdd43759213582a46db7d35157bdcc42e30 Mon Sep 17 00:00:00 2001 From: steven Date: Tue, 28 Oct 2008 13:05:45 +0000 Subject: [PATCH] switch to tcl 8.5 and use tcl module --- devel/dejagnu/Makefile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/devel/dejagnu/Makefile b/devel/dejagnu/Makefile index 60fbf03f1b7..20f955837bd 100644 --- a/devel/dejagnu/Makefile +++ b/devel/dejagnu/Makefile @@ -1,27 +1,29 @@ -# $OpenBSD: Makefile,v 1.29 2008/01/04 17:48:34 espie Exp $ +# $OpenBSD: Makefile,v 1.30 2008/10/28 13:05:45 steven Exp $ COMMENT= framework to test programs DISTNAME= dejagnu-1.4.3 -PKGNAME= ${DISTNAME}p4 +PKGNAME= ${DISTNAME}p5 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU:=dejagnu/} HOMEPAGE= http://www.gnu.org/software/dejagnu/ -BUILD_DEPENDS= :tcl-8.4.*:lang/tcl/8.4 -RUN_DEPENDS= :expect-*:lang/expect,no_tk \ - ${BUILD_DEPENDS} - # GPL PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes +MODULES= lang/tcl + +BUILD_DEPENDS= ${MODTCL_BUILD_DEPENDS} +RUN_DEPENDS= :expect-*:lang/expect,no_tk \ + ${MODTCL_RUN_DEPENDS} + CONFIGURE_STYLE=gnu -CONFIGURE_ARGS= --with-tclinclude="${LOCALBASE}/include/tcl8.4/generic" -CONFIGURE_ENV= ac_cv_path_tclsh=${LOCALBASE}/bin/tclsh8.4 +CONFIGURE_ARGS= --with-tclinclude="${MODTCL_INCDIR}/generic" +CONFIGURE_ENV= ac_cv_path_tclsh=${MODTCL_BIN} ALL_TARGET= all INSTALL_TARGET= install