From 906396e49bbf147304b35a03e5ac284e50a867af Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Wed, 7 Oct 2009 23:58:50 +0000 Subject: Get this to build again on NetBSD-5.0/i386. The build was being tripped up by a configure script generated by a newer autoconf calling a configure script generated by an old autoconf in an incompatible way. --- lang/tcl-itcl-current/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lang/tcl-itcl-current/Makefile') diff --git a/lang/tcl-itcl-current/Makefile b/lang/tcl-itcl-current/Makefile index 292cc169547..28317794524 100644 --- a/lang/tcl-itcl-current/Makefile +++ b/lang/tcl-itcl-current/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2007/02/19 19:50:27 joerg Exp $ +# $NetBSD: Makefile,v 1.14 2009/10/07 23:58:50 dmcmahill Exp $ DISTNAME= tcl-itcl-20040920 PKGNAME= ${DISTNAME:S/itcl/itcl-current/} @@ -19,6 +19,7 @@ WRKSRC= ${WRKDIR}/tcl-itcl-${ITCL_VERS} ITCL_VERS= 3.3 GNU_CONFIGURE= yes USE_LIBTOOL= yes +USE_TOOLS+= autoconf CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl:Q}/lib CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk:Q}/lib CONFIGURE_ARGS+= --enable-shared @@ -35,6 +36,11 @@ SUBST_SED.tcl-itcl+= -e s\|${WRKDIR:Q}/${DISTNAME:C/-src//:Q}\|${PREFIX:Q}\| BUILDLINK_DEPMETHOD.libXt?= build +# the version of configure in the distfile is from autoconf-2.13 and is not compatible +# with some arguments which are passed down from above. +post-patch: + cd ${WRKSRC}/iwidgets && autoconf + .include "../../lang/tcl/buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" .include "../../x11/libXt/buildlink3.mk" -- cgit v1.2.3