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
commit64bbfca1a7590d50e41072db803db3754474d175 (patch)
tree0b6fc0bcf1f91b0246822d8bda4581a9444172a6 /shells
parentb5720175c4068b5e7ebea91de6926e288c23a341 (diff)
downloadpkgsrc-64bbfca1a7590d50e41072db803db3754474d175.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