don't compile on Windows.
libmodplug: libmodplug-$(MODPLUG_VERSION).tar.gz
$(EXTRACT_GZ)
+#ifdef HAVE_WIN32
+ patch -p0 < Patches/libmodplug-win32.patch
+#end
.mod: libmodplug
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-shared --enable-static && make && make install)
--- /dev/null
+--- libmodplug-0.8.4/src/Makefile.am 2006-11-02 04:48:13.000000000 +0100
++++ libmodplug/src/Makefile.am 2008-04-06 07:55:35.000000000 +0200
+@@ -32,9 +32,6 @@
+ load_j2b.cpp \
+ load_mt2.cpp \
+ load_psm.cpp \
+- load_abc.cpp \
+- load_mid.cpp \
+- load_pat.cpp \
+ modplug.cpp
+
+ libmodplugincludedir = $(includedir)/libmodplug