summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authortv <tv>2005-01-25 04:20:31 +0000
committertv <tv>2005-01-25 04:20:31 +0000
commit2150c42cbec7c6146816d8d31f50da31b49c10e0 (patch)
tree335187c315d2a53ab2920ce8cd62cb82ba2a5762 /time
parentdedc47ad03c1eacb26ab9641ffa23d29f0272f72 (diff)
downloadpkgsrc-2150c42cbec7c6146816d8d31f50da31b49c10e0.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"