-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/29/10 8:12 AM, Hariharan B wrote: > But ExTeX startup script relies on these two environment variables. Can > you please suggest an alternative?
Yes, patch the script to find the jars where you install them. If all it requires is it's own java jars (not things from other packages), you don't need to use JarFiles at all. Just install them in something like %p/lib/%N and then fix the script to look for it's jars there. Same with JAVA_HOME. It is rare that you actually need to force a JAVA_HOME for an app, usually it's just a shortcut for finding $JAVA_HOME/bin/java and such. Patch the script to set JAVA_HOME to /Library/Java/Home (the default java home) and don't override it for everyone. What I mean by that is, RuntimeVars sets those variables for anyone who does a fink init.sh; there are many packages that most definitely do NOT want JAVA_HOME forced to the location you need just for one package... RuntimeVars is for your package to communicate with other packages how to find things, not for internal use of something just within the scope of your own package. - -- Benjamin Reed a.k.a. Ranger Rick a.k.a. Raccoon Fink Fink, KDE, and Mac OS X development Blog: http://www.raccoonfink.com/ Music: http://music.raccoonfink.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.12 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLsJpIUu+jZtP2Zf4RAtz+AJ4/rW5/aq7ZrCbXMHhzEiVbsa/qkgCePjBj KF/wvPqfAqi5FTZlmXG8kW0= =ZI+G -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel