summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty E. Plummer <hanetzer@startmail.com>2018-04-20 02:56:31 -0500
committerDavid Seifert <soap@gentoo.org>2018-04-20 22:00:39 +0200
commit5d6cf07c8577bffb30bb412d9145781c10b02528 (patch)
tree156324e921a71159b63e38c8f30bfd94f4bbe140 /app-admin/verynice
parentprofiles: Mask new dev-db/mysql-connector-c++ for futher testing (diff)
downloadgentoo-5d6cf07c8577bffb30bb412d9145781c10b02528.tar.gz
gentoo-5d6cf07c8577bffb30bb412d9145781c10b02528.tar.bz2
gentoo-5d6cf07c8577bffb30bb412d9145781c10b02528.zip
app-admin/verynice: epatch->eapply
Also removed eutils; verynice-1.1-r2 only requires epatch externally, and verynice-1.1.-r3 doesn't require it at all. Package-Manager: Portage-2.3.28, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/8081
Diffstat (limited to 'app-admin/verynice')
-rw-r--r--app-admin/verynice/files/verynice-1.1-build.patch4
-rw-r--r--app-admin/verynice/verynice-1.1-r2.ebuild4
-rw-r--r--app-admin/verynice/verynice-1.1-r3.ebuild9
3 files changed, 8 insertions, 9 deletions
diff --git a/app-admin/verynice/files/verynice-1.1-build.patch b/app-admin/verynice/files/verynice-1.1-build.patch
index a70202b99300..3782c74a5c05 100644
--- a/app-admin/verynice/files/verynice-1.1-build.patch
+++ b/app-admin/verynice/files/verynice-1.1-build.patch
@@ -5,8 +5,8 @@ Subject: build system
respect flags, add LDFLAGS to linker line
fix install rules
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
@@ -15,13 +15,15 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
diff --git a/app-admin/verynice/verynice-1.1-r2.ebuild b/app-admin/verynice/verynice-1.1-r2.ebuild
index d4536a3b895e..e9dc02e399c0 100644
--- a/app-admin/verynice/verynice-1.1-r2.ebuild
+++ b/app-admin/verynice/verynice-1.1-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=5
-inherit eutils systemd toolchain-funcs
+inherit epatch systemd toolchain-funcs
DESCRIPTION="A tool for dynamically adjusting the nice-level of processes"
HOMEPAGE="https://web.archive.org/web/2010033109/http://thermal.cnde.iastate.edu/~sdh4/verynice/"
@@ -17,7 +17,7 @@ IUSE=""
S=${WORKDIR}/${PN}
src_prepare() {
- epatch "${FILESDIR}"/${P}-build.patch
+ epatch "${FILESDIR}"/${PN}-1.1-build.patch
}
src_compile() {
diff --git a/app-admin/verynice/verynice-1.1-r3.ebuild b/app-admin/verynice/verynice-1.1-r3.ebuild
index b6334a5e2815..7aba33fc8dc2 100644
--- a/app-admin/verynice/verynice-1.1-r3.ebuild
+++ b/app-admin/verynice/verynice-1.1-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit eutils systemd toolchain-funcs
+inherit systemd toolchain-funcs
DESCRIPTION="A tool for dynamically adjusting the nice-level of processes"
HOMEPAGE="https://web.archive.org/web/20130621090315/http://thermal.cnde.iastate.edu/~sdh4/verynice/"
@@ -16,10 +16,9 @@ IUSE=""
S=${WORKDIR}/${PN}
-src_prepare() {
- default
- epatch "${FILESDIR}"/${P}-build.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.1-build.patch
+)
src_compile() {
tc-export CC