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.
This commit is contained in:
parent
92ef9d08b2
commit
7b580cb0fd
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue