summaryrefslogtreecommitdiff
path: root/net/mtr
diff options
context:
space:
mode:
authorjlam <jlam>2001-10-25 16:13:06 +0000
committerjlam <jlam>2001-10-25 16:13:06 +0000
commit2425dbd9c1ae66598bd09c72e7492885ddcfa54e (patch)
treed5289f0f2572465505b4d166ecfddacf3bd36e2a /net/mtr
parent52413d4d724d954f379c00120fb337826d51212e (diff)
downloadpkgsrc-2425dbd9c1ae66598bd09c72e7492885ddcfa54e.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