On Tue, Oct 02, 2007 at 09:22:02PM +0100, Carlos Valiente wrote:
> Hi! The following patch (also available at
> http://virutass.net/openbsd/erlang/erlang-autoconf-version.diff) fixes
> compilation of lang/erlang when several versions of autoconf are
> installed. Tested under i386, amd64 and sparc64.
I think it also needs no-autoheader:
Index: Makefile
===================================================================
RCS file: /var/cvs/OpenBSD/ports/lang/erlang/Makefile,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile
--- Makefile 16 Sep 2007 00:27:05 -0000 1.28
+++ Makefile 3 Oct 2007 12:17:21 -0000
@@ -32,7 +32,8 @@ CONFIGURE_ARGS= --disable-jinterface \
--enable-kernel-poll
USE_GMAKE= Yes
-CONFIGURE_STYLE=autoconf
+CONFIGURE_STYLE=autoconf no-autoheader
+AUTOCONF_VERSION=2.59
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/erts/autoconf \
${WRKSRC}/lib/erl_interface/src/auxdir