pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/phoon Make build on Interix, which acts more like...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb3bdeac0078
branches:  trunk
changeset: 488122:bb3bdeac0078
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Jan 25 04:20:31 2005 +0000

description:
Make build on Interix, which acts more like SysV/xopen for time handling.

diffstat:

 time/phoon/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 3e0d941e944a -r bb3bdeac0078 time/phoon/Makefile
--- a/time/phoon/Makefile       Tue Jan 25 04:13:57 2005 +0000
+++ b/time/phoon/Makefile       Tue Jan 25 04:20:31 2005 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index