pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/autoconf pkgsrc symlinks config/config.guess and...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ba9b0b1e37c
branches:  trunk
changeset: 519738:3ba9b0b1e37c
user:      ben <ben%pkgsrc.org@localhost>
date:      Sun Oct 08 23:02:30 2006 +0000

description:
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:

 devel/autoconf/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 66727aa0ee5c -r 3ba9b0b1e37c devel/autoconf/Makefile
--- a/devel/autoconf/Makefile   Sun Oct 08 22:14:54 2006 +0000
+++ b/devel/autoconf/Makefile   Sun Oct 08 23:02:30 2006 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index