From a01c6138d5a17a4c33c112b5811d1d6f3b6cbbbc Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 25 Jan 2005 04:20:31 +0000 Subject: Make build on Interix, which acts more like SysV/xopen for time handling. --- time/phoon/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'time') diff --git a/time/phoon/Makefile b/time/phoon/Makefile index c2d7e7ceddf..7207fdcefae 100644 --- a/time/phoon/Makefile +++ b/time/phoon/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2004/01/20 12:27:16 agc Exp $ +# $NetBSD: Makefile,v 1.7 2005/01/25 04:20:31 tv Exp $ # DISTNAME= phoon_01apr1995 @@ -12,4 +12,11 @@ COMMENT= Show phase of the moon on ASCII terminal WRKSRC= ${WRKDIR}/phoon +.include "../../mk/bsd.prefs.mk" + +# doesn't have tm_gmtoff +.if ${OPSYS} == "Interix" +MAKE_FLAGS+= DEFINES=-DSYSV +.endif + .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3