Fix py-compile idiom for automake-1.11.2 compatibility.
authorAlexandre Rostovtsev <tetromino@gentoo.org>
Sat, 31 Dec 2011 16:25:55 +0000 (16:25 +0000)
committerAlexandre Rostovtsev <tetromino@gentoo.org>
Sat, 31 Dec 2011 16:25:55 +0000 (16:25 +0000)
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64

dev-python/pygtk/ChangeLog
dev-python/pygtk/pygtk-2.24.0-r1.ebuild
dev-python/pygtk/pygtk-2.24.0-r2.ebuild

index 78559b1d8cef3015010ef172366007b136225571..4e6d2430d45c3e8c4ef416ee260735631706de2c 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for dev-python/pygtk
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.266 2011/12/29 17:35:24 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.267 2011/12/31 16:25:55 tetromino Exp $
+
+  31 Dec 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
+  pygtk-2.24.0-r1.ebuild, pygtk-2.24.0-r2.ebuild:
+  Fix py-compile idiom for automake-1.11.2 compatibility.
 
   29 Dec 2011; Pacho Ramos <pacho@gentoo.org> pygtk-2.24.0-r2.ebuild:
   amd64 stable, bug 393007
index d7aaf96fcc8e84638794357e2270f71fb7e44e32..8a0e0f1221e6a0d5e6638856e3a86c9fe8eb0fbb 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.24.0-r1.ebuild,v 1.7 2011/10/05 17:14:33 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.24.0-r1.ebuild,v 1.8 2011/12/31 16:25:55 tetromino Exp $
 
 EAPI="3"
 GCONF_DEBUG="no"
@@ -41,7 +41,7 @@ src_prepare() {
 
        # Disable pyc compiling
        mv "${S}"/py-compile "${S}"/py-compile.orig
-       ln -s $(type -P true) "${S}"/py-compile
+       echo -e '#!'$(type -P sh)'\n:' > py-compile
 
        AT_M4DIR="m4" eautoreconf
 
index 17602d863e82d21ae84b49e414c87716b3d1ce4d..39da8a971acdf6e765d4a2bde578412287c06f83 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.24.0-r2.ebuild,v 1.4 2011/12/29 17:35:24 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.24.0-r2.ebuild,v 1.5 2011/12/31 16:25:55 tetromino Exp $
 
 EAPI="4"
 GCONF_DEBUG="no"
@@ -47,7 +47,7 @@ src_prepare() {
 
        # Disable pyc compiling
        mv "${S}"/py-compile "${S}"/py-compile.orig
-       ln -s $(type -P true) "${S}"/py-compile
+       echo -e '#!'$(type -P sh)'\n:' > py-compile
 
        AT_M4DIR="m4" eautoreconf