diff options
-rw-r--r-- | Packages.txt | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/Packages.txt b/Packages.txt index 589922686ff..ac792903302 100644 --- a/Packages.txt +++ b/Packages.txt @@ -1,4 +1,4 @@ -# $NetBSD: Packages.txt,v 1.268 2002/10/27 21:54:05 seb Exp $ +# $NetBSD: Packages.txt,v 1.269 2002/11/04 13:00:51 seb Exp $ ########################################################################### ========================== @@ -1127,20 +1127,35 @@ build in some circumstances. Some common errors are If a package needs GNU autoconf or automake to be executed to regenerate the configure script and Makefile.in makefile templates, then they should -be executed in a pre-configure target. For packages that need only -autoconf: +be executed in a pre-configure target. Two makefile fragments are provided +in pkgsrc/mk/autoconf.mk and pkgsrc/mk/automake.mk to help dealing with +these tools. See comments in these files for details. + +For packages that need only autoconf: + + AUTOCONF_REQD= 2.50 # if default version is not good enough + ... pre-configure: - cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf + cd ${WRKSRC}; ${AUTOCONF} + + ... + .include "../../mk/autoconf.mk" and for packages that need automake and autoconf: + AUTOMAKE_REQD= 1.7.1 # if default version is not good enough + ... + pre-configure: cd ${WRKSRC}; \ - ${LOCALBASE}/bin/aclocal; \ - ${LOCALBASE}/bin/autoheader; \ - ${LOCALBASE}/bin/automake -a --foreign -i; \ - ${LOCALBASE}/bin/autoconf + ${ACLOCAL}; \ + ${AUTOHEADER}; \ + ${AUTOMAKE} -a --foreign -i; \ + ${AUTOCONF} + + ... + .include "../mk/automake.mk" There are times when the configure process makes additional changes to the generated files, which then causes the build process to try to re-execute |