From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Lsj88-0006A5-TV for garchives@archives.gentoo.org; Sat, 11 Apr 2009 19:44:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D19FE0A70; Sat, 11 Apr 2009 19:44:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5701DE0A70 for ; Sat, 11 Apr 2009 19:44:44 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id EA17864EE7 for ; Sat, 11 Apr 2009 19:44:43 +0000 (UTC) Received: from scarabeus by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1Lsj87-0002ul-96 for gentoo-commits@lists.gentoo.org; Sat, 11 Apr 2009 19:44:43 +0000 From: "Tomas Chvatal (scarabeus)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, scarabeus@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: cmake-utils.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: cmake-utils.eclass X-VCS-Directories: eclass X-VCS-Committer: scarabeus X-VCS-Committer-Name: Tomas Chvatal Content-Type: text/plain; charset=utf8 Message-Id: Sender: Tomas Chvatal Date: Sat, 11 Apr 2009 19:44:43 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 0645d081-8b14-421c-855c-493338e7fc06 X-Archives-Hash: a207742a20df1fa1feea10035588e65a scarabeus 09/04/11 19:44:43 Modified: cmake-utils.eclass Log: Exit with error when runing src_compile and no Makefile is around. Revision Changes Path 1.25 eclass/cmake-utils.eclass file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/cmake-utils= .eclass?rev=3D1.25&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/cmake-utils= .eclass?rev=3D1.25&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/cmake-utils= .eclass?r1=3D1.24&r2=3D1.25 Index: cmake-utils.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- cmake-utils.eclass 10 Apr 2009 20:24:56 -0000 1.24 +++ cmake-utils.eclass 11 Apr 2009 19:44:43 -0000 1.25 @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.24 2009= /04/10 20:24:56 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.25 2009= /04/11 19:44:43 scarabeus Exp $ =20 # @ECLASS: cmake-utils.eclass # @MAINTAINER: @@ -319,6 +319,8 @@ =20 _check_build_dir pushd "${CMAKE_BUILD_DIR}" > /dev/null + # first check if Makefile exist otherwise die + [[ -e Makefile ]] || die "Makefile not found. Error during configure st= age." if [[ -n ${CMAKE_VERBOSE} ]]; then emake VERBOSE=3D1 "$@" || die "Make failed!" else