From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 14 09:30:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F09D123A for ; Thu, 14 Nov 2013 09:30:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D39E02A1D for ; Thu, 14 Nov 2013 09:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAE9U1jd064215 for ; Thu, 14 Nov 2013 09:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAE9U1Op064214; Thu, 14 Nov 2013 09:30:01 GMT (envelope-from gnats) Resent-Date: Thu, 14 Nov 2013 09:30:01 GMT Resent-Message-Id: <201311140930.rAE9U1Op064214@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, Horia Racoviceanu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 826791F3 for ; Thu, 14 Nov 2013 09:28:55 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 734D42A05 for ; Thu, 14 Nov 2013 09:28:55 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rAE9Stas008685 for ; Thu, 14 Nov 2013 09:28:55 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rAE9St8N008676; Thu, 14 Nov 2013 09:28:55 GMT (envelope-from nobody) Message-Id: <201311140928.rAE9St8N008676@oldred.freebsd.org> Date: Thu, 14 Nov 2013 09:28:55 GMT From: Horia Racoviceanu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/183950: audio/audacity build fails with TWOLAME=off [PATCH] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2013 09:30:02 -0000 >Number: 183950 >Category: ports >Synopsis: audio/audacity build fails with TWOLAME=off [PATCH] >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: Thu Nov 14 09:30:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Horia Racoviceanu >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: FreeBSD horia.lan 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep 9 21:34:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: audacity has a mandatory depend on libsndfile, which is implicitly handled by option TWOLAME (audio/twolame->audio/libsndfile). With TWOLAME=off, libsndfile doesn't get installed and build fails. checking for SNDFILE... no configure: Libsndfile libraries are NOT available as system libraries checking for ./lib-src/libsndfile/src/sndfile.h.in... no configure: libsndfile libraries are NOT available in this source tree configure: disabling LIBSNDFILE configure: error: Audacity requires libsndfile to be enabled the LIB_DEPENDS on libsndfile seems to have been accidentally removed by an automatic option-ifier script in r311611. >How-To-Repeat: >Fix: - Add libsndfile.so to LIB_DEPENDS - Remove SNDFILE_LIB_DEPENDS - Remove SNDFILE_CONFIGURE_WITH Patch attached with submission follows: Index: audio/audacity/Makefile =================================================================== --- audio/audacity/Makefile (revision 332840) +++ audio/audacity/Makefile (working copy) @@ -13,6 +13,8 @@ LICENSE= GPLv2 +LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile + WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION} USE_AUTOTOOLS= aclocal autoconf @@ -66,9 +68,6 @@ DEBUG_CONFIGURE_WITH= debug -SNDFILE_CONFIGURE_WITH= libsndfile -SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile - FFMPEG_CONFIGURE_WITH= ffmpeg FFMPEG_RUN_DEPENDS= ffmpeg0:${PORTSDIR}/multimedia/ffmpeg0 FFMPEG_BUILD_DEPENDS= ffmpeg0>=0:${PORTSDIR}/multimedia/ffmpeg0 >Release-Note: >Audit-Trail: >Unformatted: