Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 505546 Details for
Bug 638390
sys-apps/checkpolicy-2.7: Use build libraries not host libraries
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch
0001-sys-apps-checkpolicy-Fix-cross-compile.patch (text/plain), 992 bytes, created by
Geoff Levand
on 2017-11-21 20:49:05 UTC
(
hide
)
Description:
ebuild patch
Filename:
MIME Type:
Creator:
Geoff Levand
Created:
2017-11-21 20:49:05 UTC
Size:
992 bytes
patch
obsolete
>From a35148c088621ba831aec1ee213549f81ee62df9 Mon Sep 17 00:00:00 2001 >From: Geoff Levand <geoff@infradead.org> >Date: Tue, 21 Nov 2017 12:43:31 -0800 >Subject: [PATCH] sys-apps/checkpolicy: Fix cross compile > >Signed-off-by: Geoff Levand <geoff@infradead.org> >--- > sys-apps/checkpolicy/checkpolicy-2.7.ebuild | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/sys-apps/checkpolicy/checkpolicy-2.7.ebuild b/sys-apps/checkpolicy/checkpolicy-2.7.ebuild >index 812e63ad..5eeccc17 100644 >--- a/sys-apps/checkpolicy/checkpolicy-2.7.ebuild >+++ b/sys-apps/checkpolicy/checkpolicy-2.7.ebuild >@@ -39,12 +39,13 @@ src_compile() { > emake \ > CC="$(tc-getCC)" \ > YACC="bison -y" \ >- LIBDIR="\$(PREFIX)/$(get_libdir)" >+ PREFIX="${ROOT:-/}usr" \ >+ LIBDIR="${ROOT:-/}usr/$(get_libdir)" > } > > src_install() { > emake DESTDIR="${D}" \ >- LIBSEPOLA="/usr/$(get_libdir)/libsepol.a" \ >+ LIBSEPOLA="${ROOT:-/}usr/$(get_libdir)/libsepol.a" \ > install > > if use debug; then >-- >2.11.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 638390
: 505546