summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-01-25 18:22:24 +0000
committertv <tv@pkgsrc.org>2005-01-25 18:22:24 +0000
commitd3ce098fd00d798ce23874cf7860d68bcda83383 (patch)
tree0b6fc0bcf1f91b0246822d8bda4581a9444172a6 /shells
parentbe32b9164d3ac1213b818ac6bcd73f26ff2264b0 (diff)
downloadpkgsrc-d3ce098fd00d798ce23874cf7860d68bcda83383.tar.gz
Add another Interix hack -- ut_xtime is the obsolescent name for utmpx.ut_tv.
Diffstat (limited to 'shells')
-rw-r--r--shells/zsh3/hacks.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/shells/zsh3/hacks.mk b/shells/zsh3/hacks.mk
index 4a710a8f9f6..e5598f53366 100644
--- a/shells/zsh3/hacks.mk
+++ b/shells/zsh3/hacks.mk
@@ -1,13 +1,16 @@
-# $NetBSD: hacks.mk,v 1.1 2005/01/24 22:27:48 tv Exp $
+# $NetBSD: hacks.mk,v 1.2 2005/01/25 18:22:24 tv Exp $
.ifndef ZSH3_HACKS_MK
ZSH3_HACKS_MK= # defined
### [Mon Jan 24 22:27:33 UTC 2005 : tv]
-### For some reason, the GETPGRP_VOID test is not working correctly
+### for some reason, the GETPGRP_VOID test is not working correctly;
+### also, ut_xtime (the obsolescent utmpx field) is changed
###
.if ${OPSYS} == "Interix"
+PKG_HACKS+= compat
CONFIGURE_ENV+= ac_cv_func_getpgrp_void=yes
+CPPFLAGS+= -Dut_xtime=ut_tv.tv_sec
.endif
.endif