Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 488460 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/app-misc/pax-utils/pax-utils-0.8.1.ebuild (-5 / +15 lines)
Lines 4-10 Link Here
4
4
5
EAPI=4
5
EAPI=4
6
6
7
inherit eutils toolchain-funcs unpacker
7
inherit eutils toolchain-funcs unpacker prefix
8
8
9
DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
9
DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
10
HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
10
HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
Lines 14-25 Link Here
14
14
15
LICENSE="GPL-2"
15
LICENSE="GPL-2"
16
SLOT="0"
16
SLOT="0"
17
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
17
KEYWORDS="~x64-freebsd ~x86-freebsd ~ia64-hpux ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
18
IUSE="caps python"
18
IUSE="caps +python"
19
#RESTRICT="mirror"
19
#RESTRICT="mirror"
20
20
21
RDEPEND="caps? ( sys-libs/libcap )
21
RDEPEND="caps? ( sys-libs/libcap )
22
	python? ( dev-python/pyelftools )"
22
	python? ( dev-python/pyelftools )
23
	ia64-hpux? ( dev-libs/gnulib )"
23
DEPEND="${RDEPEND}
24
DEPEND="${RDEPEND}
24
	app-arch/xz-utils"
25
	app-arch/xz-utils"
25
26
Lines 31-37 Link Here
31
}
32
}
32
33
33
src_compile() {
34
src_compile() {
34
	_emake CC="$(tc-getCC)"
35
	local libs
36
	if [[ ${CHOST} == *-hpux* ]]; then
37
		append-flags -I"${EPREFIX}"/usr/$(get_libdir)/gnulib/include
38
		append-ldflags -L"${EPREFIX}"/usr/$(get_libdir)/gnulib/lib
39
		libs="-lgnu"
40
	fi
41
	use prefix && eprefixify lddtree.py
42
	_emake CC="$(tc-getCC)" LIBS="${libs}"
35
}
43
}
36
44
37
src_test() {
45
src_test() {
Lines 40-43 Link Here
40
48
41
src_install() {
49
src_install() {
42
	_emake DESTDIR="${ED}" PKGDOCDIR='$(DOCDIR)'/${PF} install
50
	_emake DESTDIR="${ED}" PKGDOCDIR='$(DOCDIR)'/${PF} install
51
52
	use prefix && use !python && ewarn "With USE=-python lddtree will not work in Prefix"
43
}
53
}

Return to bug 488460