Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 444724

Summary: sys-libs/libcap: please review prefix changes
Product: Gentoo Linux Reporter: Christoph Junghans (RETIRED) <junghans>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: prefix
Priority: Normal Keywords: Inclusion, InVCS, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 315803    
Attachments: patch against libcap-2.22.ebuild

Description Christoph Junghans (RETIRED) gentoo-dev 2012-11-25 18:43:10 UTC
Created attachment 330564 [details, diff]
patch against libcap-2.22.ebuild

Changes to be added as libcap-2.22-r1:
- EAPI bumped to 4 to make portage prefix aware
- added prefix keywords
- emake install with DESTDIR=${ED} for prefixed install
- another ${D} -> ${ED}
- emake dies automatically on EAPI=4
Comment 1 SpanKY gentoo-dev 2012-11-25 19:29:56 UTC
can't src_install now run `default` ?
Comment 2 Christoph Junghans (RETIRED) gentoo-dev 2012-11-25 19:57:21 UTC
(In reply to comment #1)
> can't src_install now run `default` ?
No, default would be 'emake install DESTDIR="${D}"', we would need to add the prefix for installation elsewhere.
Comment 3 SpanKY gentoo-dev 2012-11-26 06:04:45 UTC
(In reply to comment #2)

right, libcap doesn't use configure.  feel free to commit.
Comment 4 Christoph Junghans (RETIRED) gentoo-dev 2012-11-26 16:02:56 UTC
Committed, thanks.