summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-01-25 04:20:31 +0000
committertv <tv@pkgsrc.org>2005-01-25 04:20:31 +0000
commita01c6138d5a17a4c33c112b5811d1d6f3b6cbbbc (patch)
tree335187c315d2a53ab2920ce8cd62cb82ba2a5762
parent9da8e16f168c689284378c500117da70694be604 (diff)
downloadpkgsrc-a01c6138d5a17a4c33c112b5811d1d6f3b6cbbbc.tar.gz
Make build on Interix, which acts more like SysV/xopen for time handling.
-rw-r--r--time/phoon/Makefile9
1 files changed, 8 insertions, 1 deletions
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"