1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Here is a patch to allow users to configure a packages LIBRARY_PATH via |
5 |
|
6 |
gjl_user_env="${HOME}/.gentoo/java-config-2/launcher.d/${gjl_package}" |
7 |
gjl_system_env="/etc/java-config-2/launcher.d/${gjl_package}" |
8 |
|
9 |
What do ppl think? Ive keep it the same as package.env, any complaints |
10 |
with this? |
11 |
|
12 |
Index: gjl |
13 |
=================================================================== |
14 |
- --- gjl (revision 4648) |
15 |
+++ gjl (working copy) |
16 |
@@ -113,6 +113,11 @@ |
17 |
args += ' -classpath %s' % (classpath) |
18 |
|
19 |
if library: |
20 |
+ envlp = os.getenv('LIBRARY_PATH') |
21 |
+ |
22 |
+ if envlp: |
23 |
+ library = ':'.join((envlp, library)) |
24 |
+ |
25 |
args += ' -Djava.library.path="%s"' % (library) |
26 |
|
27 |
if args: |
28 |
|
29 |
|
30 |
- -- |
31 |
Alistair John Bush |
32 |
Developer Gentoo Java |
33 |
|
34 |
OpenPGP key 0x4900CFB7 |
35 |
www.gentoo.org |
36 |
www.gentoo.org/proj/en/java |
37 |
-----BEGIN PGP SIGNATURE----- |
38 |
Version: GnuPG v2.0.4 (GNU/Linux) |
39 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
40 |
|
41 |
iD8DBQFGSArdRJGZcUkAz7cRArf3AJ915C3mSbmOjhMHp+wIX4A5yg/wDACfQqUy |
42 |
0pJXs5/33uuc+zj0LleHyC8= |
43 |
=ulQ9 |
44 |
-----END PGP SIGNATURE----- |
45 |
-- |
46 |
gentoo-java@g.o mailing list |