dev-util/unifdef: support Prefix.
authorBenda Xu <heroxbd@gentoo.org>
Sun, 26 Jun 2016 12:17:57 +0000 (21:17 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Sun, 26 Jun 2016 12:18:23 +0000 (21:18 +0900)
Package-Manager: portage-2.2.28

dev-util/unifdef/unifdef-2.11.ebuild

index 5a937489bd279862799e510ef38a199d4b258dea..aeda647752ab32d7302e062d079d8de7f51bee9f 100644 (file)
@@ -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
 }