summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2006-10-08 23:02:30 +0000
committerben <ben@pkgsrc.org>2006-10-08 23:02:30 +0000
commit7b580cb0fdd0f14ebcc1c9c6d824e2e916d38bcb (patch)
tree3c777983c879e72f104e090cbb945a55d07eba83
parent92ef9d08b2e03919d75339f951c9aa107baa65de (diff)
downloadpkgsrc-7b580cb0fdd0f14ebcc1c9c6d824e2e916d38bcb.tar.gz
pkgsrc symlinks config/config.guess and config.sub to mk/gnu-config
when you do not preserve timestamps in mk, this can cause config.guess and config.sub to be newer than config.guess.1 and config.sub.1. In that case, the man pages need to be rebuilt, and build fails because pkgsrc lacks help2man. Work around this situation.
-rw-r--r--devel/autoconf/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/autoconf/Makefile b/devel/autoconf/Makefile
index e528f2f7a6a..5515f325b59 100644
--- a/devel/autoconf/Makefile
+++ b/devel/autoconf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2006/07/03 21:23:29 wiz Exp $
+# $NetBSD: Makefile,v 1.62 2006/10/08 23:02:30 ben Exp $
DISTNAME= autoconf-2.60
CATEGORIES= devel
@@ -33,6 +33,14 @@ CHECK_WRKREF_SKIP+= ${PREFIX}/share/autoconf/autotest/autotest.m4f
CHECK_WRKREF_SKIP+= ${PREFIX}/share/autoconf/m4sugar/m4sugar.m4f
CHECK_WRKREF_SKIP+= ${PREFIX}/share/autoconf/m4sugar/m4sh.m4f
+# pkgsrc symlinks config/config.guess and config.sub to mk/gnu-config
+# when you do not preserve timestamps in mk, this can cause
+# config.guess and config.sub to be newer than config.guess.1 and
+# config.sub.1. In that case, the man pages need to be rebuilt, and
+# build fails because pkgsrc lacks help2man. Work around this situation.
+pre-build:
+ ${TOUCH} ${WRKSRC}/man/config.sub.1 ${WRKSRC}/man/config.guess.1
+
# undo a rather stupid hack in the install step when --without-lispdir is used
post-install:
${RM} -rf ${WRKSRC}/lib/emacs/no