diff options
author | tnn <tnn@pkgsrc.org> | 2008-03-11 18:47:40 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-03-11 18:47:40 +0000 |
commit | 882d3eb4fe8c809807b4232f1e499c7b966f0fd1 (patch) | |
tree | 4ba809a4ee12e6e6894da2f50f8724926076e91f /security/skey | |
parent | 35b1981bfd386a291c7a6a4e4a151d9dd92ccf7c (diff) | |
download | pkgsrc-882d3eb4fe8c809807b4232f1e499c7b966f0fd1.tar.gz |
Put back a couple of IRIX conditionals the way they used to behave,
e.g. match IRIX 5.x but not 6.x. Some of these may indeed apply to 6.x
too, but let's be conservative. PR pkg/38224.
Diffstat (limited to 'security/skey')
-rw-r--r-- | security/skey/hacks.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/skey/hacks.mk b/security/skey/hacks.mk index 5268ddd4417..852bd86f0e4 100644 --- a/security/skey/hacks.mk +++ b/security/skey/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.2 2007/10/16 23:49:02 tnn Exp $ +# $NetBSD: hacks.mk,v 1.3 2008/03/11 18:47:41 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 ${OPSYS} == "IRIX" +.if !empty(MACHINE_PLATFORM:MIRIX-5*) 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 ${OPSYS} == "IRIX" +.if !empty(MACHINE_PLATFORM:MIRIX-5*) PKG_HACKS+= missing-u_int64_t CPPFLAGS+= -DMISSING-U_INT64_T .endif |