summaryrefslogtreecommitdiff
path: root/security/skey/hacks.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/skey/hacks.mk')
-rw-r--r--security/skey/hacks.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/skey/hacks.mk b/security/skey/hacks.mk
index 0db96ee7c88..5268ddd4417 100644
--- a/security/skey/hacks.mk
+++ b/security/skey/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2006/07/09 13:39:06 schwarz Exp $
+# $NetBSD: hacks.mk,v 1.2 2007/10/16 23:49:02 tnn Exp $
.if !defined(SKEY_HACKS_MK)
SKEY_HACKS_MK= # defined
@@ -18,7 +18,7 @@ SUBST_SED.tsmp= -e 's,$$(CATMAN),$$(TROFFMAN),g'
### [Sun Jul 9 13:20:30 CDT 2006 : schwarz]
### IRIX 5 does not have usleep()
###
-.if !empty(LOWER_OPSYS:Mirix5*)
+.if ${OPSYS} == "IRIX"
PKG_HACKS+= use-sginap-instead-of-usleep
SUBST_CLASSES+= sginap
SUBST_MESSAGE.sginap= use sginap() instead of usleep()
@@ -30,7 +30,7 @@ SUBST_SED.sginap= -e 's,usleep(100000),sginap(CLK_TCK/10),g'
### [Sun Jul 9 14:11:23 CDT 2006 : schwarz]
### IRIX 5 does not define 64 bit types in sys/types.h
###
-.if !empty(LOWER_OPSYS:Mirix5*)
+.if ${OPSYS} == "IRIX"
PKG_HACKS+= missing-u_int64_t
CPPFLAGS+= -DMISSING-U_INT64_T
.endif