Date: Sat, 5 Oct 2013 20:28:50 GMT From: Horia Racoviceanu <horia@racoviceanu.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182712: Port audio/audacity tries to build the entire project with cmake [patch] Message-ID: <201310052028.r95KSo4v067229@oldred.freebsd.org> Resent-Message-ID: <201310052030.r95KU05t032620@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182712 >Category: ports >Synopsis: Port audio/audacity tries to build the entire project with cmake [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: Sat Oct 05 20:30:00 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: Main project uses gmake, one subdir uses cmake. Cannot replace BUILD_DEPENDS=cmake with USES=cmake when libsamplerate=off as that will try to build the entire project with cmake ===> Performing in-source build /bin/mkdir -p /var/ports/usr/ports/audio/audacity/work/audacity-src-2.0.4 CMake Error: The source directory "/var/ports/usr/ports/audio/audacity/work/audacity-src-2.0.4" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. *** [do-configure] Error code 1 Stop in /usr/ports/audio/audacity. *** [build] Error code 1 Stop in /usr/ports/audio/audacity. ===>>> make failed for audio/audacity ===>>> Aborting update ===>>> Killing background jobs Terminated >How-To-Repeat: cd /usr/ports/audio/audacity && make install >Fix: Makefile - Change USES=cmake to BUILD_DEPENDS+=cmake:${PORTSDIR}/devel/cmake for libsamplerate=off Patch attached with submission follows: diff -ruN audacity-orig/Makefile audacity/Makefile --- audacity-orig/Makefile 2013-10-05 16:14:55.000000000 -0400 +++ audacity/Makefile 2013-10-05 13:17:50.000000000 -0400 @@ -124,7 +124,9 @@ LIB_DEPENDS+= libsamplerate.so:${PORTSDIR}/audio/libsamplerate CONFIGURE_ARGS+= --with-libsamplerate .else -USES+= cmake +# main project uses gmake, one subdir uses cmake. cannot replace with USES=cmake +# as that will try to build the entire project with cmake +BUILD_DEPENDS+= cmake:${PORTSDIR}/devel/cmake CONFIGURE_ARGS+= --without-libsamplerate .endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310052028.r95KSo4v067229>