summaryrefslogtreecommitdiff
path: root/net/gopher
diff options
context:
space:
mode:
authortv <tv>2005-11-08 14:07:11 +0000
committertv <tv>2005-11-08 14:07:11 +0000
commite3d92226111396d9a0b4a24aba454e7a744add66 (patch)
tree0ca876eda108b454cb8a573d5280f32cb96afb23 /net/gopher
parentcdf8ef79062cc9fa68f632cdece45a1795aa8181 (diff)
downloadpkgsrc-e3d92226111396d9a0b4a24aba454e7a744add66.tar.gz
Use "int" in place of socklen_t on Interix.
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