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