summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2009-10-07 23:58:50 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2009-10-07 23:58:50 +0000
commit906396e49bbf147304b35a03e5ac284e50a867af (patch)
tree3eac817457e8cb1a4d85d62523f741985f248fcb
parent9d82f5394f3b1cb8a5ec464cac617993a2f505ce (diff)
downloadpkgsrc-906396e49bbf147304b35a03e5ac284e50a867af.tar.gz
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.
-rw-r--r--lang/tcl-itcl-current/Makefile8
1 files changed, 7 insertions, 1 deletions
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"