From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 17 16:40:10 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 285E81065672 for ; Sun, 17 Jul 2011 16:40:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 061708FC12 for ; Sun, 17 Jul 2011 16:40:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6HGe9g0061724 for ; Sun, 17 Jul 2011 16:40:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6HGe9nC061723; Sun, 17 Jul 2011 16:40:09 GMT (envelope-from gnats) Resent-Date: Sun, 17 Jul 2011 16:40:09 GMT Resent-Message-Id: <201107171640.p6HGe9nC061723@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Demelier Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 161C6106564A for ; Sun, 17 Jul 2011 16:34:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 067F98FC0A for ; Sun, 17 Jul 2011 16:34:09 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p6HGY8GH037598 for ; Sun, 17 Jul 2011 16:34:08 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p6HGY8Vx037568; Sun, 17 Jul 2011 16:34:08 GMT (envelope-from nobody) Message-Id: <201107171634.p6HGY8Vx037568@red.freebsd.org> Date: Sun, 17 Jul 2011 16:34:08 GMT From: David Demelier To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/158999: [patch] audio/musicpd: libsndfile auto activation feature X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2011 16:40:10 -0000 >Number: 158999 >Category: ports >Synopsis: [patch] audio/musicpd: libsndfile auto activation feature >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 17 16:40:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: David Demelier >Release: 8.2-STABLE >Organization: >Environment: FreeBSD Melon.malikania.fr 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Jul 16 10:17:29 CEST 2011 root@Melon.malikania.fr:/usr/obj/usr/src/sys/Melon amd64 >Description: audio/musicpd automatically links to libsndfile if the library is installed on the system. This is a autoconf feature but it also means that libsndfile will not be pulled as musicpd dependency. This Makefile diff use a static option that links to libsndfile following the option SNDFILE enabled by default (I chose this by default but it can be discussed) >How-To-Repeat: >Fix: --- musicpd.diff begins here --- --- Makefile.orig 2011-07-17 18:24:04.000000000 +0200 +++ Makefile 2011-07-17 18:27:25.000000000 +0200 @@ -58,6 +58,7 @@ PULSEAUDIO "Support PulseAudio sound server" off \ JACK "Support JACK audio server" off \ SHOUTCAST "Support for OGG Icecast and Shoutcast" off \ + SNDFILE "Adds support for libsndfile" on \ LAME "Support for MP3 Icecast Streams" off \ HTTPD "Support for httpd output streaming" off \ SAMPLERATE "Support sample rate conversion" off @@ -224,6 +225,13 @@ CONFIGURE_ARGS+=--disable-shout .endif +.if defined(WITH_SNDFILE) +LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile +CONFIGURE_ARGS+= --enable-sndfile +.else +CONFIGURE_ARGS+= --disable-sndfile +.endif + .if defined(WITHOUT_SAMPLERATE) CONFIGURE_ARGS+=--disable-lsr .else --- musicpd.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: