summaryrefslogtreecommitdiff
path: root/time
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
commit90069700e875aac7c9193c41232ceab3a1286eea (patch)
tree335187c315d2a53ab2920ce8cd62cb82ba2a5762 /time
parent6f9ce4da5cd4f90fd3af3ae0cc49ef7b8d33eda2 (diff)
downloadpkgsrc-90069700e875aac7c9193c41232ceab3a1286eea.tar.gz
Make build on Interix, which acts more like SysV/xopen for time handling.
Diffstat (limited to 'time')
-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"