Dan Nelson wrote:
In the last episode (Sep 27), Tim Kellers said:
I have autoconf 2.62 installed. Is there a workaround?
===> Building for sshguard-1.2
Making all in src
cd .. && /bin/sh
/usr/ports/security/sshguard/work/sshguard-1.2/missing --run autoheader
aclocal.m4:14: error: this file was generated for autoconf 2.61.
You have another version of autoconf. If you want to use that,
you should regenerate the build system entirely.
aclocal.m4:14: the top level
autom4te-2.62: /usr/local/bin/gm4 failed with exit status: 63
autoheader-2.62: '/usr/local/bin/autom4te-2.62' failed with exit
status: 63
*** Error code 1
It looks like the original author didn't prepare their source tree
correctly before creating the tarball (end-users should never need to
run autoheader), and the port maintainer didn't specify any autotools
dependencies to compensate.
Try this patch:
diff -u -r1.10 Makefile
--- Makefile 23 Sep 2008 18:58:35 -0000 1.10
+++ Makefile 27 Sep 2008 17:13:38 -0000
@@ -21,6 +21,7 @@
MANCOMPRESSED= no
USE_BZIP2= yes
MAKE_ARGS+= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}"
+USE_AUTOTOOLS= aclocal:110 autoheader:262
HAS_CONFIGURE= yes
# sublist will be set afterward
Thanks Dan,
That:
USE_AUTOTOOLS= aclocal:110 autoheader:262
Did the trick
will you send-pr it?
Tim
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"