no need to depend on tk, tcl is enough

based on a diff from and tested by kettenis@
This commit is contained in:
sturm 2004-12-29 06:33:28 +00:00
parent bacc8fda16
commit d1c3f52380

View File

@ -1,16 +1,16 @@
# $OpenBSD: Makefile,v 1.22 2004/12/21 01:52:03 espie Exp $
# $OpenBSD: Makefile,v 1.23 2004/12/29 06:33:28 sturm Exp $
COMMENT= "framework to test programs"
DISTNAME= dejagnu-1.4.3
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=dejagnu/}
HOMEPAGE= http://www.gnu.org/software/dejagnu/
LIB_DEPENDS= tk84:tk-8.4.*:x11/tk/8.4
RUN_DEPENDS= ::lang/expect
LIB_DEPENDS= tcl84:tcl-8.4.*:lang/tcl/8.4
RUN_DEPENDS= :expect-*:lang/expect,no_tk
# GPL
PERMIT_PACKAGE_CDROM= Yes
@ -18,10 +18,9 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-tclinclude="${PREFIX}/include/tcl8.4/generic" \
--with-tkinclude="${PREFIX}/include/tk8.4/generic"
CONFIGURE_ENV= ac_cv_path_tclsh=${PREFIX}/bin/tclsh8.4
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-tclinclude="${LOCALBASE}/include/tcl8.4/generic"
CONFIGURE_ENV= ac_cv_path_tclsh=${LOCALBASE}/bin/tclsh8.4
ALL_TARGET= all
INSTALL_TARGET= install