summaryrefslogtreecommitdiff
path: root/net/host
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-03-11 18:47:40 +0000
committertnn <tnn@pkgsrc.org>2008-03-11 18:47:40 +0000
commit882d3eb4fe8c809807b4232f1e499c7b966f0fd1 (patch)
tree4ba809a4ee12e6e6894da2f50f8724926076e91f /net/host
parent35b1981bfd386a291c7a6a4e4a151d9dd92ccf7c (diff)
downloadpkgsrc-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 'net/host')
-rw-r--r--net/host/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/host/Makefile b/net/host/Makefile
index 8e42f1bb703..8ddbcb72bc1 100644
--- a/net/host/Makefile
+++ b/net/host/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/12/21 11:20:40 obache Exp $
+# $NetBSD: Makefile,v 1.19 2008/03/11 18:47:41 tnn Exp $
DISTNAME= host-20040812
CATEGORIES= net
@@ -26,7 +26,7 @@ CPPFLAGS+= -DBIND_8_COMPAT
BUILDLINK_TRANSFORM+= rm:-Wl,--warn-common
BUILDLINK_TRANSFORM+= rm:-static
.endif
-.if ${OPSYS} == "IRIX"
+.if !empty(MACHINE_PLATFORM:MIRIX-5*)
CPPFLAGS+= -DIRIX5
.endif