From 9ba22b64c389c7882db2fd029e78bc7f052d7173 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 28 Feb 2013 23:17:21 +0000 Subject: Build demos in the way recommended upstream. (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!) --- media-libs/freetype/ChangeLog | 5 ++++- media-libs/freetype/freetype-2.4.11-r1.ebuild | 12 ++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'media-libs/freetype') diff --git a/media-libs/freetype/ChangeLog b/media-libs/freetype/ChangeLog index 0db9b44d7611..39d2883e77ac 100644 --- a/media-libs/freetype/ChangeLog +++ b/media-libs/freetype/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/freetype # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.363 2013/02/26 14:40:54 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.364 2013/02/28 23:17:21 mgorny Exp $ + + 28 Feb 2013; Michał Górny freetype-2.4.11-r1.ebuild: + Build demos in the way recommended upstream. 26 Feb 2013; Michał Górny freetype-2.4.11-r1.ebuild: Fix out-of-source demo builds. diff --git a/media-libs/freetype/freetype-2.4.11-r1.ebuild b/media-libs/freetype/freetype-2.4.11-r1.ebuild index 3c5da4fbc24f..be5de4d5b1cd 100644 --- a/media-libs/freetype/freetype-2.4.11-r1.ebuild +++ b/media-libs/freetype/freetype-2.4.11-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.4.11-r1.ebuild,v 1.2 2013/02/26 14:40:54 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.4.11-r1.ebuild,v 1.3 2013/02/28 23:17:21 mgorny Exp $ EAPI=5 @@ -113,12 +113,12 @@ src_compile() { if use utils; then einfo "Building utils" - cd "${WORKDIR}/ft2demos-${PV}" || die # fix for Prefix, bug #339334 - # XXX: replace ${ARCH} assumption when bug #459210 is fixed - emake X11_PATH="${EPREFIX}/usr/$(get_libdir)" \ - TOP_DIR="${S}" \ - {BUILD_DIR,OBJ_DIR}="${S%%/}-${ARCH}" + # XXX: replace ${ARCH} hack when a proper solution is available + BUILD_DIR="${S}-${ARCH}" \ + autotools-utils_src_compile \ + X11_PATH="${EPREFIX}/usr/$(get_libdir)" \ + FT2DEMOS=1 TOP_DIR_2="${WORKDIR}/ft2demos-${PV}" fi } -- cgit v1.2.3-65-gdbad