summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-06-08 09:35:44 +0000
committerFabian Groffen <grobian@gentoo.org>2010-06-08 09:35:44 +0000
commit2bc798620e6cba2927027cb0be7589acaf9de27b (patch)
tree5c3c6f763a49f2fb538fdf6b9272b4341947d59e /dev-libs/zziplib
parentMoved from sunrise overlay. Fixes bug #322455 (diff)
downloadgentoo-2-2bc798620e6cba2927027cb0be7589acaf9de27b.tar.gz
gentoo-2-2bc798620e6cba2927027cb0be7589acaf9de27b.tar.bz2
gentoo-2-2bc798620e6cba2927027cb0be7589acaf9de27b.zip
Apply fix for bug #321975 only when run as root
(Portage version: 2.2.00.15842-prefix/cvs/SunOS i386)
Diffstat (limited to 'dev-libs/zziplib')
-rw-r--r--dev-libs/zziplib/ChangeLog6
-rw-r--r--dev-libs/zziplib/zziplib-0.13.59-r1.ebuild7
2 files changed, 10 insertions, 3 deletions
diff --git a/dev-libs/zziplib/ChangeLog b/dev-libs/zziplib/ChangeLog
index 97c47e9a41c4..c4d7834aa219 100644
--- a/dev-libs/zziplib/ChangeLog
+++ b/dev-libs/zziplib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/zziplib
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/ChangeLog,v 1.80 2010/06/07 10:20:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/ChangeLog,v 1.81 2010/06/08 09:35:44 grobian Exp $
+
+ 08 Jun 2010; Fabian Groffen <grobian@gentoo.org>
+ zziplib-0.13.59-r1.ebuild:
+ Apply fix for bug #321975 only when run as root
*zziplib-0.13.59-r1 (07 Jun 2010)
diff --git a/dev-libs/zziplib/zziplib-0.13.59-r1.ebuild b/dev-libs/zziplib/zziplib-0.13.59-r1.ebuild
index ba0c35c7ca8a..1541a6120105 100644
--- a/dev-libs/zziplib/zziplib-0.13.59-r1.ebuild
+++ b/dev-libs/zziplib/zziplib-0.13.59-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/zziplib-0.13.59-r1.ebuild,v 1.1 2010/06/07 10:20:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/zziplib-0.13.59-r1.ebuild,v 1.2 2010/06/08 09:35:44 grobian Exp $
EAPI="2"
@@ -46,7 +46,10 @@ src_test() {
src_install() {
emake DESTDIR="${D}" install || die
- fowners -R root /usr/share/man || die #321975
+ # fowners fails when we don't have enough permissions (Prefix)
+ if [[ ${EUID} == 0 ]] ; then
+ fowners -R root /usr/share/man || die #321975
+ fi
if ! use static-libs ; then
find "${D}" -type f -name '*.la' -exec rm {} + \