diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2016-09-11 11:07:14 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2016-09-11 11:07:34 -0400 |
commit | eaa5f387810f96802d4f83e80575b404d04eb9d8 (patch) | |
tree | d38f2f9490c207a709706500ebdec277adb83187 /app-admin/paxtest/paxtest-0.9.15-r1.ebuild | |
parent | dev-python/sh: cleaning old (diff) | |
download | gentoo-eaa5f387810f96802d4f83e80575b404d04eb9d8.tar.gz gentoo-eaa5f387810f96802d4f83e80575b404d04eb9d8.tar.bz2 gentoo-eaa5f387810f96802d4f83e80575b404d04eb9d8.zip |
app-admin/paxtest: remove get_libdir in global scope, bug #593384
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-admin/paxtest/paxtest-0.9.15-r1.ebuild')
-rw-r--r-- | app-admin/paxtest/paxtest-0.9.15-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/paxtest/paxtest-0.9.15-r1.ebuild b/app-admin/paxtest/paxtest-0.9.15-r1.ebuild new file mode 100644 index 000000000000..fba18a276d67 --- /dev/null +++ b/app-admin/paxtest/paxtest-0.9.15-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="PaX regression test suite" +HOMEPAGE="http://pax.grsecurity.net" +SRC_URI="http://grsecurity.net/~spender/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + sys-apps/paxctl" + +# EI_PAX flags are not strip safe. +RESTRICT="strip" + +src_prepare() { + mv Makefile.psm Makefile + epatch "${FILESDIR}/${PN}-0.9.13-Makefile.patch" + sed -i "s/^CC := gcc/CC := $(tc-getCC)/" Makefile + sed -i "s/^LD := ld/LD := $(tc-getLD)/" Makefile + eapply_user +} + +src_compile() { + emake RUNDIR=/usr/$(get_libdir)/paxtest || die +} + +src_install() { + emake DESTDIR="${D}" BINDIR=/usr/bin RUNDIR=/usr/$(get_libdir)/paxtest install || die + + newman debian/manpage.1.ex paxtest.1 || die + dodoc ChangeLog README || die +} |