1 |
commit: 4acb78ef9ac26d0c2664ca84e13d2f18ba277a33 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 26 12:17:57 2016 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 26 12:18:23 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4acb78ef |
7 |
|
8 |
dev-util/unifdef: support Prefix. |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-util/unifdef/unifdef-2.11.ebuild | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/dev-util/unifdef/unifdef-2.11.ebuild b/dev-util/unifdef/unifdef-2.11.ebuild |
16 |
index 5a93748..aeda647 100644 |
17 |
--- a/dev-util/unifdef/unifdef-2.11.ebuild |
18 |
+++ b/dev-util/unifdef/unifdef-2.11.ebuild |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 1999-2014 Gentoo Foundation |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
# $Id$ |
24 |
|
25 |
@@ -16,6 +16,6 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~spar |
26 |
DOCS=( README ) |
27 |
|
28 |
src_prepare() { |
29 |
- sed -i '/^prefix/s:=.*:=/usr:' Makefile || die |
30 |
+ sed -i "/^prefix/s:=.*:=${EPREFIX}/usr:" Makefile || die |
31 |
tc-export CC |
32 |
} |