commit:     2bfec260e57586d91de7da25029f893eef1094ea
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 10 07:24:01 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Mar 10 07:24:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bfec260

x11-terms/rxvt-unicode: fix build on Prefix

Closes: https://bugs.gentoo.org/506500
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 x11-terms/rxvt-unicode/rxvt-unicode-9.22-r7.ebuild | 5 ++++-
 x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild    | 7 +++++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r7.ebuild 
b/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r7.ebuild
index 4f49bd38126..d72cdf336d7 100644
--- a/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r7.ebuild
+++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools desktop systemd
+inherit autotools desktop systemd prefix
 
 COLOUR_PATCH_NAME="${PN}-9.22_24-bit-color_cpixl-20201108.patch"
 
@@ -54,6 +54,9 @@ src_prepare() {
        # kill the rxvt-unicode terminfo file - #192083
        sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed"
 
+       # use xsubpp from Prefix - #506500
+       hprefixify -q '"' -w "/xsubpp/" src/Makefile.in
+
        eautoreconf
 }
 

diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild 
b/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild
index f5856323843..71119ddbc14 100644
--- a/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild
+++ b/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit autotools cvs desktop vcs-clean
+inherit autotools cvs desktop vcs-clean prefix
 
 DESCRIPTION="rxvt clone with xft and unicode support"
 HOMEPAGE="http://software.schmorp.de/pkg/rxvt-unicode.html";
@@ -56,6 +56,9 @@ src_prepare() {
        # kill the rxvt-unicode terminfo file - #192083
        sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed"
 
+       # use xsubpp from Prefix - #506500
+       hprefixify -q '"' -w "/xsubpp/" src/Makefile.in
+
        eautoreconf
 }
 

Reply via email to