diff options
author | tnn <tnn@pkgsrc.org> | 2007-10-16 23:48:58 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2007-10-16 23:48:58 +0000 |
commit | 24d5b5440929de9526a6f56e677b8849f624fc21 (patch) | |
tree | b29811eb6b46cc5f60ca30ac6cd4ef5482fa68eb /security | |
parent | 0d22d43b0025cb69d33a7dfeec038c71e05ef3e9 (diff) | |
download | pkgsrc-24d5b5440929de9526a6f56e677b8849f624fc21.tar.gz |
Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead.
Diffstat (limited to 'security')
-rw-r--r-- | security/skey/hacks.mk | 6 | ||||
-rw-r--r-- | security/tcp_wrappers/Makefile | 4 |
2 files changed, 5 insertions, 5 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 diff --git a/security/tcp_wrappers/Makefile b/security/tcp_wrappers/Makefile index 37dcef91f9d..124469c479a 100644 --- a/security/tcp_wrappers/Makefile +++ b/security/tcp_wrappers/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2007/09/07 22:12:22 jlam Exp $ +# $NetBSD: Makefile,v 1.32 2007/10/16 23:49:02 tnn Exp $ DISTNAME= tcp_wrappers_7.6-ipv6.1 PKGNAME= tcp_wrappers-7.6.1 @@ -27,7 +27,7 @@ BUILD_TARGET.Linux= ${LOWER_OPSYS} BUILD_TARGET.${OPSYS}= netbsd .endif BUILD_TARGET.SunOS= sunos5 -BUILD_TARGET.IRIX= ${LOWER_OPSYS:C|\..*||} +BUILD_TARGET.IRIX= irix5 BUILD_TARGET= ${BUILD_TARGET.${OPSYS}} .if !empty(PKG_OPTIONS:Minet6) |