summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2005-11-18 13:05:48 +0000
committerRoy Marples <uberlord@gentoo.org>2005-11-18 13:05:48 +0000
commit64a159ce310f675a3c1dedb2aea42296c7804f4a (patch)
tree34430faa99b0623f12a90a278919bab4e14576e9 /net-misc/pump
parentRemove the ppcunbreak patch, it gets patched by the buildsystem by itself. (diff)
downloadgentoo-2-64a159ce310f675a3c1dedb2aea42296c7804f4a.tar.gz
gentoo-2-64a159ce310f675a3c1dedb2aea42296c7804f4a.tar.bz2
gentoo-2-64a159ce310f675a3c1dedb2aea42296c7804f4a.zip
Only install specific po files if LINGUAS is set
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'net-misc/pump')
-rw-r--r--net-misc/pump/ChangeLog5
-rw-r--r--net-misc/pump/Manifest2
-rw-r--r--net-misc/pump/pump-0.8.21-r8.ebuild11
3 files changed, 14 insertions, 4 deletions
diff --git a/net-misc/pump/ChangeLog b/net-misc/pump/ChangeLog
index 1986d8e9b30e..4234111f3efc 100644
--- a/net-misc/pump/ChangeLog
+++ b/net-misc/pump/ChangeLog
@@ -1,12 +1,13 @@
# ChangeLog for net-misc/pump
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/pump/ChangeLog,v 1.27 2005/11/18 10:19:30 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/pump/ChangeLog,v 1.28 2005/11/18 13:05:48 uberlord Exp $
*pump-0.8.21-r8 (18 Nov 2005)
18 Nov 2005; Roy Marples <uberlord@gentoo.org>
+files/pump-0.8.21-gcc4.patch, +pump-0.8.21-r8.ebuild:
- Fixed gcc4 compilation warnings
+ Fixed gcc4 compilation warnings.
+ Only install specific po files if LINGUAS is set.
06 Oct 2005; Roy Marples <uberlord@gentoo.org> -files/pump.conf,
-pump-0.8.11-r1.ebuild, -pump-0.8.19-r1.ebuild:
diff --git a/net-misc/pump/Manifest b/net-misc/pump/Manifest
index 42519b586d30..b9a385cbcdaa 100644
--- a/net-misc/pump/Manifest
+++ b/net-misc/pump/Manifest
@@ -1,4 +1,4 @@
-MD5 596a707d824d859464268dc733d053b9 pump-0.8.21-r8.ebuild 1523
+MD5 976cede1582edd07aee1ebbaa1ebf644 pump-0.8.21-r8.ebuild 1721
MD5 94fe4b6cace933a6aaedd7fb52194eca metadata.xml 288
MD5 d057200fd35820b24f71841abe4fb946 pump-0.8.21-r7.ebuild 1444
MD5 7273162ab6c096c9b2b05cd472240979 ChangeLog 4724
diff --git a/net-misc/pump/pump-0.8.21-r8.ebuild b/net-misc/pump/pump-0.8.21-r8.ebuild
index d1b83bbc0ba4..d95a012f13ab 100644
--- a/net-misc/pump/pump-0.8.21-r8.ebuild
+++ b/net-misc/pump/pump-0.8.21-r8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/pump/pump-0.8.21-r8.ebuild,v 1.1 2005/11/18 10:19:30 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/pump/pump-0.8.21-r8.ebuild,v 1.2 2005/11/18 13:05:48 uberlord Exp $
inherit eutils
@@ -37,6 +37,15 @@ src_unpack() {
# Clean compile on GCC4
epatch "${FILESDIR}/pump-${PV}-gcc4.patch"
+
+ # Only install specific po files if LINGUAS is set
+ if [[ -n ${LINGUAS} ]]; then
+ cd po
+ local p
+ for l in $(ls *.po) ; do
+ [[ " ${LINGUAS} " != *" ${l%%.po} "* ]] && rm -f "${l}"
+ done
+ fi
}
src_compile() {