pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2006Q3]: pkgsrc/devel/autoconf Pullup ticket 1902 - requested ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/887cbd85ec4b
branches:  pkgsrc-2006Q3
changeset: 519173:887cbd85ec4b
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Tue Nov 07 07:55:30 2006 +0000

description:
Pullup ticket 1902 - requested by briggs
build fix for autoconf

- pkgsrc/devel/autoconf/Makefile                1.62

   Module Name: pkgsrc
   Committed By:        ben
   Date:                Sun Oct  8 23:02:30 UTC 2006

   Modified Files:
        pkgsrc/devel/autoconf: Makefile

   Log Message:
   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 36e98a7a6b52 -r 887cbd85ec4b devel/autoconf/Makefile
--- a/devel/autoconf/Makefile   Sun Nov 05 19:29:45 2006 +0000
+++ b/devel/autoconf/Makefile   Tue Nov 07 07:55:30 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2006/07/03 21:23:29 wiz Exp $
+# $NetBSD: Makefile,v 1.61.2.1 2006/11/07 07:55:30 ghen 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