From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 22 20:50:00 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]) by hub.freebsd.org (Postfix) with ESMTP id E416397D for ; Fri, 22 Mar 2013 20:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id C9E6B7EA for ; Fri, 22 Mar 2013 20:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2MKo0K1047517 for ; Fri, 22 Mar 2013 20:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2MKo05Z047516; Fri, 22 Mar 2013 20:50:00 GMT (envelope-from gnats) Resent-Date: Fri, 22 Mar 2013 20:50:00 GMT Resent-Message-Id: <201303222050.r2MKo05Z047516@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, "r4721@tormail.org" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CA573808 for ; Fri, 22 Mar 2013 20:45:26 +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 BA30C76A for ; Fri, 22 Mar 2013 20:45:26 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2MKjQGK092842 for ; Fri, 22 Mar 2013 20:45:26 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r2MKjQMp092841; Fri, 22 Mar 2013 20:45:26 GMT (envelope-from nobody) Message-Id: <201303222045.r2MKjQMp092841@red.freebsd.org> Date: Fri, 22 Mar 2013 20:45:26 GMT From: "r4721@tormail.org" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/177285: [patch] fix audio/audacity build with samplerate=off X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2013 20:50:01 -0000 >Number: 177285 >Category: ports >Synopsis: [patch] fix audio/audacity build with samplerate=off >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: Fri Mar 22 20:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: r4721@tormail.org >Release: >Organization: >Environment: >Description: when samplerate option is off, audacity builds an internal library which needs cmake which is not listed in the depends. === configuring in lib-src/libsoxr (/work/a/ports/audio/audacity/work/audacity-src-2.0.3/lib-src/libsoxr) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--with-lib-preference=local system' '--with-portaudio' '--enable-unicode' '--without-ffmpeg' '--without-libflac' '--without-libid3tag' '--without-jack' '--disable-ladspa' '--without-libmad' '--enable-nyquist' '--without-portmixer' '--without-libsamplerate' '--without-sbsms' '--with-sse' '--without-libtwolame' '--without-taglib' '--without-libvamp' '--without-libvorbis' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd9.1' 'build_alias=amd64-portbld-freebsd9.1' 'CC=cc' 'CFLAGS=-O2 -pipe -I/work/a/ports/audio/audacity/work/audacity-src-2.0.3/lib-src/portsmf -I/work/a/ports/audio/audacity/work/audacity-src-2.0.3/lib-src/portaudio-v19/include -I/usr/local/include -fno-strict-aliasing' 'LDFLAGS= -L/usr/local/lib -pthread' 'CPPFLAGS=-I/work/a/ports/audio/audacity/work/audacity-src-2.0.3/lib-src/portsmf -I/work/a/ports/audio/audacity/work/audacity-src-2.0.3/lib-src/ portaudio-v19/include -I/usr/local/include ' 'CXX=c++' 'CXXFLAGS=-O2 -pipe -I/work/a/ports/audio/audacity/work/audacity-src-2.0.3/lib-src/portsmf -I/work/a/ports/audio/audacity/work/audacity-src-2.0.3/lib-src/portaudio-v19/include -I/usr/local/include -fno-strict-aliasing -I/work/a/ports/audio/audacity/work/audacity-src-2.0.3/lib-src/portsmf -I/work/a/ports/audio/audacity/work/audacity-src-2.0.3/lib-src/portaudio-v19/include -I/usr/local/include ' '--with-wx-config=/usr/local/bin/wxgtk2u-2.8-config' '--with-pa-include=../portaudio-v19/include' --cache-file=/dev/null --srcdir=. ./configure: cmake: not found configure: error: ./configure failed for lib-src/libsoxr ===> Script "configure" failed unexpectedly. simple patch adds conditional cmake depend when samplerate=off. a build_depend is used instead of uses=cmake because the main project still uses gmake, just the one subproject needs cmake. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: audio/audacity/Makefile =================================================================== --- audio/audacity/Makefile (revision 314882) +++ audio/audacity/Makefile (working copy) @@ -124,6 +123,7 @@ LIB_DEPENDS+= samplerate:${PORTSDIR}/audio/libsamplerate CONFIGURE_ARGS+= --with-libsamplerate .else +BUILD_DEPENDS+= cmake:${PORTSDIR}/devel/cmake CONFIGURE_ARGS+= --without-libsamplerate .endif >Release-Note: >Audit-Trail: >Unformatted: