summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjlam <jlam>2001-10-25 16:13:06 +0000
committerjlam <jlam>2001-10-25 16:13:06 +0000
commit1fdb947e7617b6ef6fd5b4a8c70e3d5ec8be99ce (patch)
treed5289f0f2572465505b4d166ecfddacf3bd36e2a /net
parent35771e098e30238e72d5797f138a4d869e287aa9 (diff)
downloadpkgsrc-1fdb947e7617b6ef6fd5b4a8c70e3d5ec8be99ce.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')
-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