Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267000 - java-vm-2.eclass: set_java_env should allow @lib@
Summary: java-vm-2.eclass: set_java_env should allow @lib@
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-21 17:27 UTC by Harald van Dijk (RETIRED)
Modified: 2011-10-25 13:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald van Dijk (RETIRED) gentoo-dev 2009-04-21 17:27:36 UTC
Hi,

set_java_env installs env files containing lib paths. It should be possible for these paths to reference $(get_libdir), and this should be used at least by the icedtea6 ebuild (in java-overlay), possibly others. icedtea6 installs into /usr/$(get_libdir)/icedtea6, not /usr/lib/icedtea6 (nor should it), and it would be nice if it referred to that instead of relying on any /usr/lib symlink unnecessarily. Could you add -e "s/@lib@/$(get_libdir)/g" to the sed list in the eclass, and do a s|/usr/lib|/usr/@lib@| on icedtea6.env (and any other appropriate files you come across)?
Comment 1 Ralph Sennhauser (RETIRED) gentoo-dev 2011-10-25 13:27:53 UTC
Was added as @LIBDIR@ a while back: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/java-vm-2.eclass?r1=1.29&r2=1.30