summaryrefslogtreecommitdiff
path: root/devel/autoconf
diff options
context:
space:
mode:
authorben <ben>2006-10-08 23:02:30 +0000
committerben <ben>2006-10-08 23:02:30 +0000
commitb69545ee580d76a1c761a0de2349a2504665c0b8 (patch)
tree3c777983c879e72f104e090cbb945a55d07eba83 /devel/autoconf
parent421de5a82edbb151b470456ffe9600c3321d189a (diff)
downloadpkgsrc-b69545ee580d76a1c761a0de2349a2504665c0b8.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.
Diffstat (limited to 'devel/autoconf')
-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