summaryrefslogtreecommitdiff
path: root/net/gopher
diff options
context:
space:
mode:
Diffstat (limited to 'net/gopher')
-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