From: Nirbheek Chauhan Date: Tue, 3 Jan 2012 12:18:17 +0000 (+0000) Subject: New automake uses $(SHELL) py-compile, which fails if py-compile is a symlink to... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4e305c7553181b828c671521a8c59ed0096e8576;p=gentoo.git New automake uses $(SHELL) py-compile, which fails if py-compile is a symlink to /bin/true. Make it an executable empty file instead. --- diff --git a/eclass/ChangeLog b/eclass/ChangeLog index d023fac229e4..633e45758f4f 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for eclass directory # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.69 2012/01/03 08:59:01 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.70 2012/01/03 12:18:17 nirbheek Exp $ + + 03 Jan 2012; Nirbheek Chauhan + gnome-python-common.eclass: + New automake uses $(SHELL) py-compile, which fails if py-compile is a symlink + to /bin/true. Make it an executable empty file instead. 03 Jan 2012; Justin Lecher eutils.eclass: Convert make_desktop_entry() comment block to be eclass-manpages conform, diff --git a/eclass/gnome-python-common.eclass b/eclass/gnome-python-common.eclass index 21cc37c1543c..19d978a82355 100644 --- a/eclass/gnome-python-common.eclass +++ b/eclass/gnome-python-common.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnome-python-common.eclass,v 1.13 2011/12/27 17:55:12 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnome-python-common.eclass,v 1.14 2012/01/03 12:18:17 nirbheek Exp $ # Original Author: Arun Raghavan (based on the # gnome-python-desktop eclass by Jim Ramsay ) @@ -89,7 +89,8 @@ gnome-python-common_src_prepare() { # disable pyc compiling if [[ -f py-compile ]]; then rm py-compile - ln -s $(type -P true) py-compile + echo > py-compile + chmod +x py-compile fi # The .pc file is installed by respective gnome-python*-base package