sys-boot/refit: respect ldflags

(Portage version: 2.2.0_alpha4/svn/Linux x86_64)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2725 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2010-11-12 16:38:12 +00:00
parent 5bc9cf7e26
commit 4c19dafd00
3 changed files with 10 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-boot/gnu-efi/gnu-efi-3.0i.ebuild,v 1.3 2010/08/28 22:43:29 vapier Exp $
# $Header: $
EAPI=2
@@ -59,16 +59,17 @@ src_compile() {
# Build the gptsync command-line utility
mkdir gptsync/buildux
emake -C gptsync/buildux -f ../Makefile.unix SRCDIR="${S}"/gptsync || die
emake -C gptsync/buildux -f ../Makefile.unix SRCDIR="${S}"/gptsync CC="$(tc-getCC)" \
CFLAGS="-Wall ${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
}
src_install() {
dosbin gptsync/buildux/gptsync
dosbin gptsync/buildux/showpart
insinto /usr/$(get_libdir)/${PN}
insinto /usr/share/${PN}
doins refit/refit.efi
insinto /usr/$(get_libdir)/${PN}/${PN}
insinto /usr/share/${PN}/${PN}
doins -r icons
doins images/vollabel/refit.vollabel
doins refit.conf