summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-08-19 18:33:54 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-08-19 18:33:54 +0000
commitd270f21a711f134ff26d2bde260eef2d13eaea64 (patch)
tree5769751f5369e6bf553a0e7ef470a79a8648f1fd /app-text/mftrace/mftrace-1.2.13.ebuild
parentMask app-admin/eselect-1.2_rc* for testing, and unmask it in prefix. (diff)
downloadhistorical-d270f21a711f134ff26d2bde260eef2d13eaea64.tar.gz
historical-d270f21a711f134ff26d2bde260eef2d13eaea64.tar.bz2
historical-d270f21a711f134ff26d2bde260eef2d13eaea64.zip
Py 2.6 fix, closes #279997. Thanks to David Leverton.
Package-Manager: portage-2.2_rc38/cvs/Linux x86_64
Diffstat (limited to 'app-text/mftrace/mftrace-1.2.13.ebuild')
-rw-r--r--app-text/mftrace/mftrace-1.2.13.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/app-text/mftrace/mftrace-1.2.13.ebuild b/app-text/mftrace/mftrace-1.2.13.ebuild
index e4e2cf21039b..e0b9eccbb7f5 100644
--- a/app-text/mftrace/mftrace-1.2.13.ebuild
+++ b/app-text/mftrace/mftrace-1.2.13.ebuild
@@ -1,8 +1,10 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/mftrace/mftrace-1.2.13.ebuild,v 1.7 2009/01/11 21:03:17 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/mftrace/mftrace-1.2.13.ebuild,v 1.8 2009/08/19 18:33:54 patrick Exp $
-inherit python multilib toolchain-funcs
+EAPI="2"
+
+inherit python multilib toolchain-funcs eutils
DESCRIPTION="traces TeX fonts to PFA or PFB fonts (formerly pktrace)"
HOMEPAGE="http://lilypond.org/download/sources/mftrace/"
@@ -21,11 +23,14 @@ RDEPEND="${DEPEND}
>=app-text/t1utils-1.25
truetype? ( media-gfx/fontforge )"
-src_compile() {
+src_prepare() {
+ epatch "${FILESDIR}/${P}-python-2.6.patch"
python_version
tc-export CC
econf --datadir=/usr/$(get_libdir)/python${PYVER}/site-packages || \
die "econf failed"
+}
+src_compile() {
emake CFLAGS="-Wall ${CFLAGS}" || die "emake failed"
}