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 /net | |
parent | 0d22d43b0025cb69d33a7dfeec038c71e05ef3e9 (diff) | |
download | pkgsrc-24d5b5440929de9526a6f56e677b8849f624fc21.tar.gz |
Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead.
Diffstat (limited to 'net')
-rw-r--r-- | net/host/Makefile | 4 | ||||
-rw-r--r-- | net/openslp/hacks.mk | 4 | ||||
-rw-r--r-- | net/rsync/hacks.mk | 4 | ||||
-rw-r--r-- | net/xtraceroute/Makefile | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/net/host/Makefile b/net/host/Makefile index ace6aaa088e..45f83e68894 100644 --- a/net/host/Makefile +++ b/net/host/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2006/11/09 09:26:21 rillig Exp $ +# $NetBSD: Makefile,v 1.17 2007/10/16 23:49:01 tnn Exp $ DISTNAME= host-20040812 CATEGORIES= net @@ -23,7 +23,7 @@ CPPFLAGS+= -DBIND_8_COMPAT BUILDLINK_TRANSFORM+= rm:-Wl,--warn-common BUILDLINK_TRANSFORM+= rm:-static .endif -.if !empty(LOWER_OPSYS:Mirix5*) +.if ${OPSYS} == "IRIX" CPPFLAGS+= -DIRIX5 .endif diff --git a/net/openslp/hacks.mk b/net/openslp/hacks.mk index 86d0af577b8..99cb47af9ab 100644 --- a/net/openslp/hacks.mk +++ b/net/openslp/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.1 2006/04/20 10:55:35 schwarz Exp $ +# $NetBSD: hacks.mk,v 1.2 2007/10/16 23:48:59 tnn Exp $ .if !defined(LIBEXIF_HACKS_MK) LIBEXIF_HACKS_MK= # defined @@ -7,7 +7,7 @@ LIBEXIF_HACKS_MK= # defined ### make sys/types.h not conflict with inttypes.h ### (issue is specific to IRIX 5.3) ### -.if ${LOWER_OPSYS} == "irix5.3" +.if !empty(MACHINE_PLATFORM:MIRIX-5.3-*) PKG_HACKS+= sys_types_h-inttypes_h-conflict post-wrapper: ${MKDIR} ${BUILDLINK_DIR}/include/sys && ${GREP} -v '^typedef.*[^u_]int[12368]*_t;' /usr/include/sys/types.h > ${BUILDLINK_DIR}/include/sys/types.h diff --git a/net/rsync/hacks.mk b/net/rsync/hacks.mk index 55aebc218fd..bbaabc751db 100644 --- a/net/rsync/hacks.mk +++ b/net/rsync/hacks.mk @@ -1,9 +1,9 @@ -# $NetBSD: hacks.mk,v 1.1 2006/11/21 19:36:16 tv Exp $ +# $NetBSD: hacks.mk,v 1.2 2007/10/16 23:48:58 tnn Exp $ ### [Tue Nov 21 19:32:00 UTC 2006 : tvierling] ### iconv(..., NULL, 0, NULL, 0) crashes in libc version of iconv(3) ### -.if !empty(LOWER_OPSYS:Minterix*) +.if ${OPSYS} == "Interix" PKG_HACKS+= pkgsrc-iconv .include "../../converters/libiconv/buildlink3.mk" .endif diff --git a/net/xtraceroute/Makefile b/net/xtraceroute/Makefile index d27a735f4ff..6043da14a24 100644 --- a/net/xtraceroute/Makefile +++ b/net/xtraceroute/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.48 2007/09/08 21:57:58 jlam Exp $ +# $NetBSD: Makefile,v 1.49 2007/10/16 23:49:01 tnn Exp $ # DISTNAME= xtraceroute-0.8.14 @@ -26,7 +26,7 @@ CONFIGURE_ARGS+= --with-lib-MesaGL .include "../../mk/bsd.prefs.mk" -.if !empty(LOWER_OPSYS:Mirix5*) +.if ${OPSYS} == "IRIX" CONFIGURE_ARGS+= --with-traceroute=/usr/etc/traceroute .endif |