diff options
author | Fabian Groffen <grobian@gentoo.org> | 2011-09-07 07:04:06 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2011-09-07 07:04:06 +0000 |
commit | 20b5acee7c7fc5d04a51ef509973298b50b91c1a (patch) | |
tree | a04d0f65c7947055a2c160751a776dc1921a48af /app-misc | |
parent | Version bump. (diff) | |
download | gentoo-2-20b5acee7c7fc5d04a51ef509973298b50b91c1a.tar.gz gentoo-2-20b5acee7c7fc5d04a51ef509973298b50b91c1a.tar.bz2 gentoo-2-20b5acee7c7fc5d04a51ef509973298b50b91c1a.zip |
Update RELPATH to compensate for the added offset.
(Portage version: 2.2.01.19120-prefix/cvs/Darwin i386)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/ca-certificates/ChangeLog | 6 | ||||
-rw-r--r-- | app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/app-misc/ca-certificates/ChangeLog b/app-misc/ca-certificates/ChangeLog index b8e199c0fab1..be14703d0800 100644 --- a/app-misc/ca-certificates/ChangeLog +++ b/app-misc/ca-certificates/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-misc/ca-certificates # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ChangeLog,v 1.55 2011/09/07 01:47:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ChangeLog,v 1.56 2011/09/07 07:04:06 grobian Exp $ + + 07 Sep 2011; Fabian Groffen <grobian@gentoo.org> + ca-certificates-20110502-r4.ebuild: + Update RELPATH to compensate for the added offset. *ca-certificates-20110502-r4 (07 Sep 2011) diff --git a/app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild b/app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild index 4dc9b7fd4c64..8cc8e7ad9bee 100644 --- a/app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild +++ b/app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild,v 1.1 2011/09/07 01:47:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild,v 1.2 2011/09/07 07:04:06 grobian Exp $ EAPI="3" @@ -46,7 +46,10 @@ src_unpack() { src_prepare() { cd "./${EPREFIX}" || die epatch "${FILESDIR}"/${PN}-20110502-root.patch - sed -i -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') + sed -i \ + -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ usr/sbin/update-ca-certificates || die } |