summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-11-08 14:07:11 +0000
committertv <tv@pkgsrc.org>2005-11-08 14:07:11 +0000
commit3e0f03ddc2b89ae95540954a976b3fb39bd7e0d3 (patch)
tree0ca876eda108b454cb8a573d5280f32cb96afb23 /net
parent4644f26d1f2fddca7fecb6b1a0f85b2d478b5680 (diff)
downloadpkgsrc-3e0f03ddc2b89ae95540954a976b3fb39bd7e0d3.tar.gz
Use "int" in place of socklen_t on Interix.
Diffstat (limited to 'net')
-rw-r--r--net/gopher/hacks.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/gopher/hacks.mk b/net/gopher/hacks.mk
new file mode 100644
index 00000000000..3c8c69679f6
--- /dev/null
+++ b/net/gopher/hacks.mk
@@ -0,0 +1,10 @@
+# $NetBSD: hacks.mk,v 1.1 2005/11/08 14:07:11 tv Exp $
+
+###
+### Define socklen_t on platforms without it, until maintainer adds
+### this check to autoconf tests
+###
+.if ${OPSYS} == "Interix"
+PKG_HACKS+= socklen-int
+CPPFLAGS+= -Dsocklen_t=int
+.endif