summaryrefslogtreecommitdiff
path: root/net/mtr
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-10-25 16:13:06 +0000
committerjlam <jlam@pkgsrc.org>2001-10-25 16:13:06 +0000
commitfbc08b19bf6a984db5f3d526d23f8bdd8e4b6276 (patch)
treed5289f0f2572465505b4d166ecfddacf3bd36e2a /net/mtr
parent1071baf87e86364839563c21b0ec932bb44c569e (diff)
downloadpkgsrc-fbc08b19bf6a984db5f3d526d23f8bdd8e4b6276.tar.gz
Do the whole automake step, not just the autoconf step, at pre-configure
time. We need the various Makefile.in to be regenerated due to changes in the patched configure.in. Doing it now prevents the build process from automatically doing it later during the build, which would overwrite any changes done to the configure script by targets in ${_CONFIGURE_PREREQ}.
Diffstat (limited to 'net/mtr')
-rw-r--r--net/mtr/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index d0c6b4402b8..3ad7a38577f 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2001/10/16 18:45:14 kleink Exp $
+# $NetBSD: Makefile,v 1.18 2001/10/25 16:13:06 jlam Exp $
#
DISTNAME= mtr-0.42
@@ -18,7 +18,11 @@ USE_GMAKE= yes
USE_BUILDLINK_ONLY= yes
pre-configure:
- cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf
+ cd ${WRKSRC}; \
+ ${LOCALBASE}/bin/aclocal; \
+ ${LOCALBASE}/bin/automake -a --foreign -i; \
+ ${LOCALBASE}/bin/autoreconf --force; \
+ ${LOCALBASE}/bin/autoheader
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mtr