app-admin/paxtest: epatch->PATCHES=()
authorMarty E. Plummer <hanetzer@startmail.com>
Fri, 20 Apr 2018 16:28:22 +0000 (11:28 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Sat, 21 Apr 2018 11:15:06 +0000 (07:15 -0400)
Also dropped unneeded eutils and multilib eclasses.

Package-Manager: Portage-2.3.31, Repoman-2.3.9

app-admin/paxtest/files/paxtest-0.9.13-Makefile.patch
app-admin/paxtest/paxtest-0.9.15-r1.ebuild

index 1f8a99a689b2a2dcb7a29e722b3fe083d4c81c65..4dd4831eb45341adf11b6f88526f6db4495eacbf 100644 (file)
@@ -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
  
index ed402aa9eaf8a4c73310b1a481eef2fbbc72053a..4fe8a445c276b613791192bfeafba523584eb68f 100644 (file)
@@ -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() {