pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/tcl-itcl-current Get this to build again on NetBS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7edb34c42331
branches:  trunk
changeset: 399899:7edb34c42331
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Wed Oct 07 23:58:50 2009 +0000

description:
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.

diffstat:

 lang/tcl-itcl-current/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 49cf6cc8f001 -r 7edb34c42331 lang/tcl-itcl-current/Makefile
--- a/lang/tcl-itcl-current/Makefile    Wed Oct 07 19:40:41 2009 +0000
+++ b/lang/tcl-itcl-current/Makefile    Wed Oct 07 23:58:50 2009 +0000
@@ -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 @@
 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 @@
 
 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"



Home | Main Index | Thread Index | Old Index