diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-02 14:51:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-02 14:51:48 +0000 |
commit | 630cc7cf512ba9d40e66fa96993d1271b1a66f46 (patch) | |
tree | 32b5c4f536de3b2b53267a1cff82356b0f0f71bf /sys-apps | |
parent | stable on x86 (diff) | |
download | gentoo-2-630cc7cf512ba9d40e66fa96993d1271b1a66f46.tar.gz gentoo-2-630cc7cf512ba9d40e66fa96993d1271b1a66f46.tar.bz2 gentoo-2-630cc7cf512ba9d40e66fa96993d1271b1a66f46.zip |
Only build/install languages as defined by $LINGUAS #97612 by Martin von Gagern.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/man/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/man/man-1.6.ebuild | 21 |
2 files changed, 20 insertions, 7 deletions
diff --git a/sys-apps/man/ChangeLog b/sys-apps/man/ChangeLog index 50ff432a663d..4ea0cd4df4a7 100644 --- a/sys-apps/man/ChangeLog +++ b/sys-apps/man/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/man # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v 1.70 2005/07/01 00:04:39 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v 1.71 2005/07/02 14:51:48 vapier Exp $ + + 02 Jul 2005; Mike Frysinger <vapier@gentoo.org> man-1.6.ebuild: + Only build/install languages as defined by $LINGUAS #97612 by Martin von + Gagern. 30 Jun 2005; Luca Barbato <lu_zero@gentoo.org> +files/man-1.6-parallel-make.patch, man-1.6.ebuild: diff --git a/sys-apps/man/man-1.6.ebuild b/sys-apps/man/man-1.6.ebuild index 678538c20282..2c7bfe3f1cae 100644 --- a/sys-apps/man/man-1.6.ebuild +++ b/sys-apps/man/man-1.6.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/sys-apps/man/man-1.6.ebuild,v 1.3 2005/06/30 10:18:45 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/man-1.6.ebuild,v 1.4 2005/07/02 14:51:48 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -23,18 +23,18 @@ src_unpack() { cd "${S}" # Make sure we can build with -j :) - epatch ${FILESDIR}/man-1.6-parallel-make.patch + epatch "${FILESDIR}"/man-1.6-parallel-make.patch # Fix search order in man.conf so that system installed manpages # will be found first ... - epatch ${FILESDIR}/man-1.5p-search-order.patch + epatch "${FILESDIR}"/man-1.5p-search-order.patch # For groff-1.18 or later we need to call nroff with '-c' - epatch ${FILESDIR}/man-1.5m-groff-1.18.patch + epatch "${FILESDIR}"/man-1.5m-groff-1.18.patch # makewhatis traverses manpages twice, as default manpath # contains two directories that are symlinked together - epatch ${FILESDIR}/man-1.5p-defmanpath-symlinks.patch + epatch "${FILESDIR}"/man-1.5p-defmanpath-symlinks.patch # use non-lazy binds for man. And let portage handling stripping. append-ldflags -Wl,-z,now @@ -48,7 +48,16 @@ src_compile() { tc-export CC BUILD_CC local myconf= - use nls && myconf="+lang all" || myconf="+lang none" + if use nls ; then + strip-linguas $(cd man; echo ??) + if [[ -z ${LINGUAS} ]] ; then + myconf="+lang all" + else + myconf="+lang ${LINGUAS// /,}" + fi + else + myconf="+lang none" + fi ./configure \ -confdir=/etc \ +sgid +fhs \ |