pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/plan Create a dummy "varargs.h" on platforms whic...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e8e706c99d5f
branches:  trunk
changeset: 463494:e8e706c99d5f
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Nov 13 21:13:49 2003 +0000

description:
Create a dummy "varargs.h" on platforms which use GCC 3.3.x. It's not
really necessary for compilation there and only breaks the build under
NetBSD-current.

diffstat:

 time/plan/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 5496b702a977 -r e8e706c99d5f time/plan/Makefile
--- a/time/plan/Makefile        Thu Nov 13 20:59:53 2003 +0000
+++ b/time/plan/Makefile        Thu Nov 13 21:13:49 2003 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2003/07/17 22:55:04 grant Exp $
-#
+# $NetBSD: Makefile,v 1.14 2003/11/13 21:13:49 tron Exp $
 
 DISTNAME=      plan-1.8.4
 WRKSRC=                ${WRKDIR}/${DISTNAME}/src
@@ -14,6 +13,13 @@
 USE_X11BASE=   YES
 ALL_TARGET=    netbsd
 
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(CC_VERSION:Mgcc-3.*)
+post-configure:
+       ${TOUCH} ${BUILDLINK_DIR}/include/varargs.h
+.endif
+
 pre-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/libexec/plan ${PREFIX}/share/plan \
                ${PREFIX}/share/plan/holiday



Home | Main Index | Thread Index | Old Index