Date: Fri, 21 Oct 2011 05:28:40 +0000 From: Nali Toja <nalitoja@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/161855: [patch] emulators/qemu-devel: respect CC (sgabios) Message-ID: <86zkguap6f.fsf@gmail.com> Resent-Message-ID: <201110210540.p9L5e98G088292@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161855 >Category: ports >Synopsis: [patch] emulators/qemu-devel: respect CC (sgabios) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 21 05:40:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Nali Toja >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: $ export PATH=~/.bin:$PATH $ for cc in CC cc c++ gcc g++; do ln -s /usr/bin/false ~/.bin/${cc}; done # everything is `off' $ make showconfig | fgrep \=on >Description: Also, make gmake(1) print directory before desceding into it gmake: Entering directory `WRKDIR/sgabios-read-only' As .depend target failed just after `cd' it required a bit of guesswork to deduce where the error occured. >How-To-Repeat: $ printf 'CC=clang\nCXX=clang++\nCPP=clang -E\n' >>/etc/make.conf $ make V=1 [...] rm -f .depend cc -E -M -Wall -Os -m32 -nostdlib sgabios.S >.tmpdepend && mv .tmpdepend .depend gmake: *** [.depend] Error 1 *** Error code 2 >Fix: --- cc.diff begins here --- Index: emulators/qemu-devel/Makefile =================================================================== RCS file: /a/.csup/ports/emulators/qemu-devel/Makefile,v retrieving revision 1.128 diff -u -p -r1.128 Makefile --- emulators/qemu-devel/Makefile 13 Oct 2011 19:08:30 -0000 1.128 +++ emulators/qemu-devel/Makefile 20 Oct 2011 01:30:58 -0000 @@ -193,7 +197,7 @@ post-configure: .endif post-build: - @(cd ${WRKDIR}/sgabios-read-only && ${GMAKE}) + @${MAKE_ENV} ${GMAKE} -C${WRKDIR}/sgabios-read-only post-install: .if !defined(NOPORTDOCS) --- cc.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86zkguap6f.fsf>