summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-09-01 08:35:41 +0000
committerFabian Groffen <grobian@gentoo.org>2011-09-01 08:35:41 +0000
commit35f75556396346e723097bb8b14a45505f72fbd0 (patch)
tree7dd04870ae2431cfc06d6355a07cb7e51b2a037e /media-libs
parentChange Python dependency as pointed out by Mike Gilbert in bug 381381 (diff)
downloadgentoo-2-35f75556396346e723097bb8b14a45505f72fbd0.tar.gz
gentoo-2-35f75556396346e723097bb8b14a45505f72fbd0.tar.bz2
gentoo-2-35f75556396346e723097bb8b14a45505f72fbd0.zip
Fix breakage introduced by Prefix changes. 1.4 ebuild cannot be migrated to EAPI=3 easily, hence added defines for the missing vars when used outside Prefix, bug #381037
(Portage version: 2.2.01.19074-prefix/cvs/SunOS i386)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/freetype/ChangeLog8
-rw-r--r--media-libs/freetype/freetype-1.4_pre20080316-r2.ebuild4
2 files changed, 10 insertions, 2 deletions
diff --git a/media-libs/freetype/ChangeLog b/media-libs/freetype/ChangeLog
index 28468c9a7aaa..60507fadcb33 100644
--- a/media-libs/freetype/ChangeLog
+++ b/media-libs/freetype/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/freetype
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.306 2011/08/31 08:35:05 mduft Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.307 2011/09/01 08:35:41 grobian Exp $
+
+ 01 Sep 2011; Fabian Groffen <grobian@gentoo.org>
+ freetype-1.4_pre20080316-r2.ebuild:
+ Fix breakage introduced by Prefix changes. 1.4 ebuild cannot be migrated to
+ EAPI=3 easily, hence added defines for the missing vars when used outside
+ Prefix, bug #381037
31 Aug 2011; Markus Duft <mduft@gentoo.org> freetype-2.4.6.ebuild:
added eautoreconf for prefix platforms.
diff --git a/media-libs/freetype/freetype-1.4_pre20080316-r2.ebuild b/media-libs/freetype/freetype-1.4_pre20080316-r2.ebuild
index fd057c8c0c4b..924955fcd6c8 100644
--- a/media-libs/freetype/freetype-1.4_pre20080316-r2.ebuild
+++ b/media-libs/freetype/freetype-1.4_pre20080316-r2.ebuild
@@ -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/media-libs/freetype/freetype-1.4_pre20080316-r2.ebuild,v 1.8 2011/08/28 17:32:21 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-1.4_pre20080316-r2.ebuild,v 1.9 2011/09/01 08:35:41 grobian Exp $
inherit autotools eutils libtool multilib
@@ -73,6 +73,7 @@ src_unpack() {
}
src_compile() {
+ use prefix || EPREFIX=
use kpathsea && kpathseaconf="--with-kpathsea-lib=${EPREFIX}/usr/$(get_libdir) --with-kpathsea-include=${EPREFIX}/usr/include"
# core
@@ -94,6 +95,7 @@ src_compile() {
}
src_install() {
+ use prefix || ED=${D}
dodoc announce PATENTS README docs/*.txt docs/FAQ
use doc && dohtml -r docs