From a450331cbcf1a189450c72125fca467f524aacb7 Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 13 Nov 2003 21:13:49 +0000 Subject: 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. --- time/plan/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'time') diff --git a/time/plan/Makefile b/time/plan/Makefile index 81e2b03fbeb..fa4ac52f32c 100644 --- a/time/plan/Makefile +++ b/time/plan/Makefile @@ -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_BUILDLINK2= YES 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 -- cgit v1.2.3