summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2003-11-13 21:13:49 +0000
committertron <tron@pkgsrc.org>2003-11-13 21:13:49 +0000
commita450331cbcf1a189450c72125fca467f524aacb7 (patch)
treec9791f52c7459e20e998fff9dc41ebbdff2b1122 /time
parent4f9e6625e65acc340c35a7774ec4096874b2a102 (diff)
downloadpkgsrc-a450331cbcf1a189450c72125fca467f524aacb7.tar.gz
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 (limited to 'time')
-rw-r--r--time/plan/Makefile10
1 files changed, 8 insertions, 2 deletions
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