Subject: Re: audio/musicpd
To: Magnus Eriksson <magetoo@fastmail.fm>
From: Ben Collver <collver@peak.org>
List: tech-pkg
Date: 11/16/2004 09:39:03
On Tue, Nov 16, 2004 at 06:13:57PM +0100, Magnus Eriksson wrote:
>   I'm getting strange errors related to libmikmod when trying to build
> musicpd, but the logs are telling me everything should work just fine.

Right now musicpd is not configured to use libmikmod.  Please file a
change-request using send-pr or the web form at
http://www.netbsd.org/cgi-bin/sendpr.cgi?gndb=netbsd

The change you want to add is something like:

--- Makefile.orig       Tue Nov 16 09:34:34 2004
+++ Makefile    Tue Nov 16 09:37:33 2004
@@ -19,6 +19,7 @@
 BUILD_DEFS+=           MUSICPD_WITH_FLAC
 BUILD_DEFS+=           MUSICPD_WITH_ICONV
 BUILD_DEFS+=           MUSICPD_WITH_ID3
+BUILD_DEFS+=           MUSICPD_WITH_MIKMOD
 BUILD_DEFS+=           MUSICPD_WITH_OGG
 #BUILD_DEFS+=          USE_INET6

@@ -76,6 +77,13 @@
 CONFIGURE_ARGS+=       --with-id3tag=${BUILDLINK_PREFIX.libid3tag}
 .else
 CONFIGURE_ARGS+=       --disable-id3
+.endif
+
+.if ${MUSICPD_WITH_MIKMOD} == "YES"
+.  include "../../audio/libmikmod/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-mikmod=${BUILDLINK_PREFIX.libmikmod}
+.else
+CONFIGURE_ARGS+=       --disable-mikmod
 .endif

 .if ${MUSICPD_WITH_OGG} == "YES"

Cheers,

Ben