summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-04-23 23:02:21 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-04-23 23:02:29 +0200
commitaceb136163c6ec8874fc0bd62ca0e45e2cc7eba9 (patch)
treeea38cd6a792f568b6efe6614feb61f890a419ef7 /app-office/auto-multiple-choice
parentsys-boot/udk: [QA] Add missing python metadata variables (diff)
downloadgentoo-aceb136163c6ec8874fc0bd62ca0e45e2cc7eba9.tar.gz
gentoo-aceb136163c6ec8874fc0bd62ca0e45e2cc7eba9.tar.bz2
gentoo-aceb136163c6ec8874fc0bd62ca0e45e2cc7eba9.zip
app-office/auto-multiple-choice: Fix bugs and restore keywords
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'app-office/auto-multiple-choice')
-rw-r--r--app-office/auto-multiple-choice/auto-multiple-choice-1.3.0-r1.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/app-office/auto-multiple-choice/auto-multiple-choice-1.3.0-r1.ebuild b/app-office/auto-multiple-choice/auto-multiple-choice-1.3.0-r1.ebuild
index 5660b1edcbac..925afe07ad38 100644
--- a/app-office/auto-multiple-choice/auto-multiple-choice-1.3.0-r1.ebuild
+++ b/app-office/auto-multiple-choice/auto-multiple-choice-1.3.0-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://home.gna.org/auto-qcm/"
SRC_URI="http://download.gna.org/auto-qcm/${PN}_${PV}_sources.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
IUSE=""
LANGS="ar es fr ja"
@@ -62,12 +62,13 @@ src_prepare() {
default
local la
- for la in ${L10N} ; do
+ for la in ${LANGS} ; do
if ! use l10n_${la} ; then
- # remove languages that we dont want to install
+ # remove languages that we dont want to install. no error on nonexisting files.
rm -vf "I18N/lang/${la}.po"
rm -vf "doc/auto-multiple-choice.${la}.in.xml" "doc/doc-xhtml-site.${la}.xsl.in"
rm -rvf "doc/html/auto-multiple-choice.${la}" "doc/modeles/${la}"
+ sed -e "s: doc/doc-xhtml-site\\.${la}\\.xsl: :g" -i Makefile || die
fi
done
}