summaryrefslogtreecommitdiff
path: root/security/openssh
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2006-05-14 21:13:42 +0000
committerschwarz <schwarz@pkgsrc.org>2006-05-14 21:13:42 +0000
commit731d1a44fe89ad5c76c68df258c56cc2b3212776 (patch)
treea18b74cd4f5c35e96524267ef5e6f29d314aaa42 /security/openssh
parent43e72778ea8a158c43d13f36fae58e9f51e78365 (diff)
downloadpkgsrc-731d1a44fe89ad5c76c68df258c56cc2b3212776.tar.gz
added a hack that works around a bug (variable name conflict) in OpenSSH
3.4p1 and 3.4p2 that shows up on IRIX 5.
Diffstat (limited to 'security/openssh')
-rw-r--r--security/openssh/hacks.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/security/openssh/hacks.mk b/security/openssh/hacks.mk
new file mode 100644
index 00000000000..69587da1f6f
--- /dev/null
+++ b/security/openssh/hacks.mk
@@ -0,0 +1,15 @@
+# $NetBSD: hacks.mk,v 1.1 2006/05/14 21:13:42 schwarz Exp $
+
+.if !defined(OPENSSH_HACKS_MK)
+OPENSSH_HACKS_MK= # defined
+
+### [Sun May 14 15:09:28 CDT 2006 : schwarz]
+### work around a definition conflict for _res present in openssh
+### 4.3p1 and 4.3p2 (should be fixed with later releases)
+###
+.if !empty(LOWER_OPSYS:Mirix5*)
+PKG_HACKS+= _res-conflict
+CPPFLAGS+= -D_res=_compat_res
+.endif
+
+.endif