summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Berman <tberman@gentoo.org>2003-05-19 23:29:41 +0000
committerTodd Berman <tberman@gentoo.org>2003-05-19 23:29:41 +0000
commita8063d935c74b4b2fe5c02cafa847e5715dc5738 (patch)
tree6fa97a7ff62a0cbe0971b8d2dca67b2f84485acc /eclass/java.eclass
parentAdded patch to allow proper compile on sparc; changed -sparc to ~sparc (diff)
downloadhistorical-a8063d935c74b4b2fe5c02cafa847e5715dc5738.tar.gz
historical-a8063d935c74b4b2fe5c02cafa847e5715dc5738.tar.bz2
historical-a8063d935c74b4b2fe5c02cafa847e5715dc5738.zip
commiting fix to bug #21106
Diffstat (limited to 'eclass/java.eclass')
-rw-r--r--eclass/java.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/java.eclass b/eclass/java.eclass
index 55e9429c0481..bb727ad3b26e 100644
--- a/eclass/java.eclass
+++ b/eclass/java.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/java.eclass,v 1.10 2003/02/28 09:15:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java.eclass,v 1.11 2003/05/19 23:29:41 tberman Exp $
#
# Author: Karl Trygve Kalleberg <karltk@gentoo.org>
@@ -68,6 +68,7 @@ set_java_env() {
-e "s/@PN@/${PN}/g" \
-e "s/@PV@/${PV}/g" \
-e "s/@PF@/${PF}/g" \
+ -e "/^ADDLDPATH=.*lib\\/\\"/s|\"\\(.*\\)\"|\"\\1${platform}/:\\1${platform}/server/\"|" \
< $1 \
> ${D}/etc/env.d/java/20`basename $1` || die
}