Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3737 - dev-java/sun-jdk ebuild for 1.4.0 incorrect
Summary: dev-java/sun-jdk ebuild for 1.4.0 incorrect
Status: RESOLVED DUPLICATE of bug 3554
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-14 15:19 UTC by Craig Steinberger
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
Diffs to fix sun-jdk-1.4.0 (sun-jdk-1.4.0.diff,861 bytes, patch)
2002-06-14 15:21 UTC, Craig Steinberger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Steinberger 2002-06-14 15:19:01 UTC
The ebuild file for dev-java/sun-jdk/sun-jdk-1.4.0-r2.ebuild is incorrect
because the file naming and structure seems to have changed on Sun's end. Diffs
to fix follow (the working file is named sun-jdk-1.4.0.01_alpha:

$ diff sun-jdk-1.4.0-r2.ebuild sun-jdk-1.4.0.01_alpha.ebuild 7,8c7,8
< At="j2sdk-1_4_0-linux-i386.bin"
< S=${WORKDIR}/j2sdk1.4.0
---
> At="j2sdk-1_4_0_01-linux-i586.bin"
> S=${WORKDIR}/j2sdk1.4.0_01
25c25
<       tail +295 ${DISTDIR}/${At} > install.sfx
---
>       tail +336 ${DISTDIR}/${At} > install.sfx
50c50
<               dosym /opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji140.so
/usr/lib/mozilla/plugins/
---
>               dosym /opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji.so
/usr/lib/mozilla/plugins/
64c64
<               einfo "The Mozilla browser plugin has been installed as
/usr/lib/mozilla/plugins/libjavaplugin_oji140.so"
---
>               einfo "The Mozilla browser plugin has been installed as
/usr/lib/mozilla/plugins/libjavaplugin_oji.so"
67c67
<               einfo "ln -s
/opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji140.so /usr/lib/mozilla/plugins/"
---
>               einfo "ln -s
/opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla/plugins/"
Comment 1 Craig Steinberger 2002-06-14 15:21:12 UTC
Created attachment 1525 [details, diff]
Diffs to fix sun-jdk-1.4.0

Correct file is named sun-jdk-1.4.0.01_alpha
Comment 2 Craig Steinberger 2002-06-14 15:23:35 UTC

*** This bug has been marked as a duplicate of 3554 ***