summaryrefslogtreecommitdiff
path: root/time/plan
diff options
context:
space:
mode:
authortron <tron>2003-11-13 21:13:49 +0000
committertron <tron>2003-11-13 21:13:49 +0000
commit934ed6e9ef251a847200dfcab15f983c9117cda3 (patch)
treec9791f52c7459e20e998fff9dc41ebbdff2b1122 /time/plan
parenta58b26a39e6f0205725e98664371edc3d69067e6 (diff)
downloadpkgsrc-934ed6e9ef251a847200dfcab15f983c9117cda3.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/plan')
-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