commit:     4acb78ef9ac26d0c2664ca84e13d2f18ba277a33
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 26 12:17:57 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Jun 26 12:18:23 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4acb78ef

dev-util/unifdef: support Prefix.

Package-Manager: portage-2.2.28

 dev-util/unifdef/unifdef-2.11.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/unifdef/unifdef-2.11.ebuild 
b/dev-util/unifdef/unifdef-2.11.ebuild
index 5a93748..aeda647 100644
--- a/dev-util/unifdef/unifdef-2.11.ebuild
+++ b/dev-util/unifdef/unifdef-2.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,6 +16,6 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~s390 ~sh ~spar
 DOCS=( README )
 
 src_prepare() {
-       sed -i '/^prefix/s:=.*:=/usr:' Makefile || die
+       sed -i "/^prefix/s:=.*:=${EPREFIX}/usr:" Makefile || die
        tc-export CC
 }

Reply via email to