summaryrefslogtreecommitdiff
path: root/security/skey
diff options
context:
space:
mode:
authortnn <tnn>2007-10-16 23:48:58 +0000
committertnn <tnn>2007-10-16 23:48:58 +0000
commit3b59682564cbc2467ee05d18fd888d19bad13868 (patch)
treeb29811eb6b46cc5f60ca30ac6cd4ef5482fa68eb /security/skey
parent5353ea94f08028992ec2086c3b1ea7299957b4c5 (diff)
downloadpkgsrc-3b59682564cbc2467ee05d18fd888d19bad13868.tar.gz
Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead.
Diffstat (limited to 'security/skey')
-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