summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-11-04 13:00:51 +0000
committerseb <seb@pkgsrc.org>2002-11-04 13:00:51 +0000
commit3df5fb5b9550650d9a5508cb57ac328a8704c109 (patch)
tree5ef75e244e911bdef615f855df1a2489199b6cc4 /Packages.txt
parent293f4ea7dfe753b0c259a6d6688c7e2d0dde84c1 (diff)
downloadpkgsrc-3df5fb5b9550650d9a5508cb57ac328a8704c109.tar.gz
Mention pkgsrc/mk/auto{conf,make}.mk in section 6.4 and fix examples.
Diffstat (limited to 'Packages.txt')
-rw-r--r--Packages.txt31
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