diff options
author | jlam <jlam@pkgsrc.org> | 2001-10-26 17:15:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-10-26 17:15:57 +0000 |
commit | 0a8ec5c11728bfa57f80036f40455c6b5f7aead9 (patch) | |
tree | 78483613e5215339a1c3884a4529ea6812181e4e /Packages.txt | |
parent | 83a062506e02ebba79c3e05d3bc4b5a9691041b1 (diff) | |
download | pkgsrc-0a8ec5c11728bfa57f80036f40455c6b5f7aead9.tar.gz |
Document how to deal with packages that need autoconf/automake and
AUTOMAKE_OVERRIDE.
Diffstat (limited to 'Packages.txt')
-rw-r--r-- | Packages.txt | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/Packages.txt b/Packages.txt index ae3051c35f5..3de072e9679 100644 --- a/Packages.txt +++ b/Packages.txt @@ -1,4 +1,4 @@ -# $NetBSD: Packages.txt,v 1.205 2001/10/24 22:10:43 jlam Exp $ +# $NetBSD: Packages.txt,v 1.206 2001/10/26 17:15:57 jlam Exp $ ########################################################################### ========================== @@ -1049,7 +1049,33 @@ build in some circumstances. Some common errors are LTDL_SET_PRELOADED_SYMBOLS included in executables. - 6.4 Feedback to the author + 6.4 GNU Autoconf/Automake + ========================= + +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: + + pre-configure: + cd ${WRKSRC}; ${LOCALBASE}/bin/autoreconf --force + +and for packages that need automake: + + pre-configure: + cd ${WRKSRC}; \ + ${LOCALBASE}/bin/aclocal \ + ${LOCALBASE}/bin/autoheader \ + ${LOCALBASE}/bin/automake -a --foreign -i \ + ${LOCALBASE}/bin/autoconf \ + +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 +the automake sequence. This may be overridden by setting AUTOMAKE_OVERRIDE +to YES in the package Makefile. + + + 6.5 Feedback to the author ========================== If you have found any bugs in the package you make available, if you had to |