| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2011 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/Attic/glib-2.30.2.ebuild,v 1.4 2011/12/29 17:24:35 pacho Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/Attic/glib-2.30.2.ebuild,v 1.5 2011/12/31 21:26:59 tetromino Exp $ |
| 4 | |
4 | |
| 5 | EAPI="4" |
5 | EAPI="4" |
| 6 | PYTHON_DEPEND="utils? 2" |
6 | PYTHON_DEPEND="utils? 2" |
| 7 | # Avoid runtime dependency on python when USE=test |
7 | # Avoid runtime dependency on python when USE=test |
| 8 | |
8 | |
| … | |
… | |
| 114 | |
114 | |
| 115 | # Fix hardcoded path to machine-id wrt #390143 |
115 | # Fix hardcoded path to machine-id wrt #390143 |
| 116 | epatch "${FILESDIR}/${PN}-2.30.2-machine-id.patch" |
116 | epatch "${FILESDIR}/${PN}-2.30.2-machine-id.patch" |
| 117 | |
117 | |
| 118 | # disable pyc compiling |
118 | # disable pyc compiling |
| 119 | ln -sfn $(type -P true) py-compile |
119 | echo '#!/bin/sh' > py-compile |
| 120 | |
120 | |
| 121 | # Needed for the punt-python-check patch, disabling timeout test |
121 | # Needed for the punt-python-check patch, disabling timeout test |
| 122 | # Also needed to prevent croscompile failures, see bug #267603 |
122 | # Also needed to prevent croscompile failures, see bug #267603 |
| 123 | # Also needed for the no-gdbus-codegen patch |
123 | # Also needed for the no-gdbus-codegen patch |
| 124 | AT_M4DIR="${WORKDIR}" eautoreconf |
124 | AT_M4DIR="${WORKDIR}" eautoreconf |