summaryrefslogtreecommitdiff
path: root/audio/fluidsynth/hacks.mk
diff options
context:
space:
mode:
authortv <tv>2005-10-31 15:23:54 +0000
committertv <tv>2005-10-31 15:23:54 +0000
commit68bccea6c6f567896e90c077c8441341f48e9ec4 (patch)
tree1a94f08001596ee926aa3e964e0e4733bd065127 /audio/fluidsynth/hacks.mk
parent2536470fe0f1f51f3dbbdfd0fe0259ea1d06b564 (diff)
downloadpkgsrc-68bccea6c6f567896e90c077c8441341f48e9ec4.tar.gz
Interix has neither mlock(2) nor socklen_t.
Diffstat (limited to 'audio/fluidsynth/hacks.mk')
-rw-r--r--audio/fluidsynth/hacks.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/fluidsynth/hacks.mk b/audio/fluidsynth/hacks.mk
new file mode 100644
index 00000000000..b946977403f
--- /dev/null
+++ b/audio/fluidsynth/hacks.mk
@@ -0,0 +1,10 @@
+# $NetBSD: hacks.mk,v 1.1 2005/10/31 15:23:54 tv Exp $
+
+###
+### Define socklen_t on platforms without it (there's no easy autoconf
+### CHECK_TYPE check to insert this without depending on autoconf)
+###
+.if ${OPSYS} == "Interix"
+PKG_HACKS+= socklen-int
+CPPFLAGS+= -Dsocklen_t=int
+.endif