mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-admin/paxtest: epatch->PATCHES=()
Also dropped unneeded eutils and multilib eclasses. Package-Manager: Portage-2.3.31, Repoman-2.3.9
This commit is contained in:
committed by
Anthony G. Basile
parent
0e59e13b88
commit
2cfe92ed72
@@ -1,6 +1,5 @@
|
||||
diff -Naur paxtest-0.9.13.orig/Makefile paxtest-0.9.13/Makefile
|
||||
--- paxtest-0.9.13.orig/Makefile 2014-12-09 19:53:48.000000000 -0500
|
||||
+++ paxtest-0.9.13/Makefile 2014-12-12 13:07:55.715099100 -0500
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -52,12 +52,14 @@
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
EAPI=6
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="PaX regression test suite"
|
||||
HOMEPAGE="https://pax.grsecurity.net"
|
||||
@@ -21,12 +21,15 @@ DEPEND="${RDEPEND}
|
||||
# EI_PAX flags are not strip safe.
|
||||
RESTRICT="strip"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.9.13-Makefile.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
mv Makefile.psm Makefile
|
||||
epatch "${FILESDIR}/${PN}-0.9.13-Makefile.patch"
|
||||
default
|
||||
sed -i "s/^CC := gcc/CC := $(tc-getCC)/" Makefile
|
||||
sed -i "s/^LD := ld/LD := $(tc-getLD)/" Makefile
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
Reference in New Issue
Block a user