x11-misc/i3blocks: revbump, fixes bug #610090
authorEttore Di Giacinto <mudler@gentoo.org>
Mon, 20 Feb 2017 18:26:17 +0000 (19:26 +0100)
committerEttore Di Giacinto <mudler@gentoo.org>
Mon, 20 Feb 2017 19:24:56 +0000 (20:24 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

x11-misc/i3blocks/files/i3blocks-default-sysconfdir.patch [new file with mode: 0644]
x11-misc/i3blocks/i3blocks-1.4-r1.ebuild [moved from x11-misc/i3blocks/i3blocks-1.4.ebuild with 86% similarity]

diff --git a/x11-misc/i3blocks/files/i3blocks-default-sysconfdir.patch b/x11-misc/i3blocks/files/i3blocks-default-sysconfdir.patch
new file mode 100644 (file)
index 0000000..04d625d
--- /dev/null
@@ -0,0 +1,15 @@
+--- i3blocks-1.4/~Makefile     2017-02-20 18:56:06.340061271 +0100
++++ i3blocks-1.4/Makefile      2017-02-20 18:56:27.518915055 +0100
+@@ -4,11 +4,7 @@ ifndef PREFIX
+   PREFIX=/usr/local
+ endif
+ ifndef SYSCONFDIR
+-  ifeq ($(PREFIX),/usr)
+-    SYSCONFDIR=/etc
+-  else
+-    SYSCONFDIR=$(PREFIX)/etc
+-  endif
++  SYSCONFDIR=/etc
+ endif
+ ifndef LIBEXECDIR
+   LIBEXECDIR=$(PREFIX)/libexec
similarity index 86%
rename from x11-misc/i3blocks/i3blocks-1.4.ebuild
rename to x11-misc/i3blocks/i3blocks-1.4-r1.ebuild
index 37da57dc05641c326280d01098ffb544c13dec65..f932aa4e535e3d68063d3b86baa37d52b4aacaa6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -29,6 +29,8 @@ RDEPEND="app-admin/sysstat
 
 DEPEND="app-text/ronn"
 
+PATCHES=( "${FILESDIR}/${PN}-default-sysconfdir.patch" ) #610090
+
 src_install() {
        emake DESTDIR="${D}" PREFIX="/usr" install
 }