From a267b624e9fc278068c410d78673c884ff152ca3 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Thu, 28 Feb 2013 16:43:13 +0000 Subject: Don't call pkg-config directly, in order not to break cross compilation. (Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!) --- app-editors/ersatz-emacs/ChangeLog | 5 ++++- app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild | 5 ++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'app-editors') diff --git a/app-editors/ersatz-emacs/ChangeLog b/app-editors/ersatz-emacs/ChangeLog index e9bf005df6c7..0d31cc6e425f 100644 --- a/app-editors/ersatz-emacs/ChangeLog +++ b/app-editors/ersatz-emacs/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-editors/ersatz-emacs # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/ersatz-emacs/ChangeLog,v 1.9 2013/02/28 00:28:07 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/ersatz-emacs/ChangeLog,v 1.10 2013/02/28 16:43:13 ulm Exp $ + + 28 Feb 2013; Ulrich Müller ersatz-emacs-20060515.ebuild: + Don't call pkg-config directly, in order not to break cross compilation. 28 Feb 2013; Ulrich Müller ersatz-emacs-20060515.ebuild: Fix build failure with separate tinfo library, bug 459576. diff --git a/app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild b/app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild index c30fa6e51dd6..ad66816c16f0 100644 --- a/app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild +++ b/app-editors/ersatz-emacs/ersatz-emacs-20060515.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/app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild,v 1.9 2013/02/28 00:28:07 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild,v 1.10 2013/02/28 16:43:13 ulm Exp $ EAPI=4 @@ -14,7 +14,6 @@ SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="public-domain" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" RDEPEND="!app-editors/ee sys-libs/ncurses" @@ -32,7 +31,7 @@ src_prepare() { src_compile() { emake CC="$(tc-getCC)" \ CFLAGS="${CFLAGS} -Wall" \ - LFLAGS="${LDFLAGS} $(pkg-config --libs ncurses)" + LFLAGS="${LDFLAGS} $("$(tc-getPKG_CONFIG)" --libs ncurses)" } src_install() { -- cgit v1.2.3-65-gdbad