summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2010-10-29 18:47:08 +0000
committerVlastimil Babka <caster@gentoo.org>2010-10-29 18:47:08 +0000
commitefb46b6310f1dd71dede78b90527545a6c548e2a (patch)
tree5f4c08a634fd86d94eeb025a84d1a62753bcd935 /dev-java/maven-bin/maven-bin-2.2.1.ebuild
parentMark ~ppc64; bug #300106 (diff)
downloadgentoo-2-efb46b6310f1dd71dede78b90527545a6c548e2a.tar.gz
gentoo-2-efb46b6310f1dd71dede78b90527545a6c548e2a.tar.bz2
gentoo-2-efb46b6310f1dd71dede78b90527545a6c548e2a.zip
Add the configuration to CONFIG_PROTECT, bug #342901.
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/maven-bin/maven-bin-2.2.1.ebuild')
-rw-r--r--dev-java/maven-bin/maven-bin-2.2.1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-java/maven-bin/maven-bin-2.2.1.ebuild b/dev-java/maven-bin/maven-bin-2.2.1.ebuild
index edcc2b616864..9260023edee0 100644
--- a/dev-java/maven-bin/maven-bin-2.2.1.ebuild
+++ b/dev-java/maven-bin/maven-bin-2.2.1.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-java/maven-bin/maven-bin-2.2.1.ebuild,v 1.4 2010/06/25 11:25:47 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.2.1.ebuild,v 1.5 2010/10/29 18:47:08 caster Exp $
inherit java-pkg-2
@@ -41,4 +41,8 @@ src_install() {
dodir /usr/bin
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
+
+ # bug #342901
+ echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
+ doenvd "${T}/25${MAVEN}"
}