Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 205890 Details for
Bug 246516
dev-lang/(icc|idb)-11.1.046 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to create link from icc to eclipse
icc-11.1.056.ebuild_eclipse_links.diff (text/plain), 1.74 KB, created by
Jacek Szafarkiewicz
on 2009-10-03 01:22:25 UTC
(
hide
)
Description:
Patch to create link from icc to eclipse
Filename:
MIME Type:
Creator:
Jacek Szafarkiewicz
Created:
2009-10-03 01:22:25 UTC
Size:
1.74 KB
patch
obsolete
>--- icc-11.1.056.ebuild 2009-10-03 02:30:24.000000000 +0200 >+++ icc-11.1.056.ebuild.new 2009-10-03 03:08:14.000000000 +0200 >@@ -25,7 +25,7 @@ > > LICENSE="Intel-SDP" > SLOT="0" >-IUSE="" >+IUSE="eclipse" > KEYWORDS="~amd64" > > RESTRICT="mirror strip binchecks" >@@ -38,7 +38,8 @@ > > DEPEND="app-arch/rpm" > RDEPEND="~virtual/libstdc++-3.3 >- amd64? ( app-emulation/emul-linux-x86-compat )" >+ amd64? ( app-emulation/emul-linux-x86-compat ) >+ eclipse? ( >=dev-util/eclipse-sdk-3.4 )" > > S="${WORKDIR}/${PACKAGEID}" > >@@ -91,6 +92,16 @@ > doenvd ${ENV_FILE} || die > > keepdir /opt/intel/licenses >+ >+ if use eclipse; then >+ if has_version 'dev-util/eclipse-sdk:3.4'; then >+ link_eclipse_plugins "3.4" "5.0" || die 'Unable to create links to eclipse v3.4 and cdt 5.0' >+ fi >+ >+ if has_version 'dev-util/eclipse-sdk:3.5'; then >+ link_eclipse_plugins "3.5" "6.0" || die 'Unable to create links to eclipse v3.5 and cdt 6.0' >+ fi >+ fi > } > > pkg_postinst() { >@@ -116,3 +127,25 @@ > ewarn "You will have to update these lines every time you upgrade GCC for icpc to work." > ewarn > } >+ >+link_eclipse_plugins() { >+ ECLIPSE_V="$1" >+ CDT_V="$2" >+ >+ einfo "Linking eclipse (v${ECLIPSE_V}) plugin cdt (v${CDT_V})" >+ >+ dodir "/usr/lib/eclipse-${ECLIPSE_V}/plugins/" >+ dodir "/usr/lib/eclipse-${ECLIPSE_V}/features/" >+ >+ for cdt_file in "${D}/${INSTALL_DIR}/eclipse_support/cdt${CDT_V}/eclipse/plugins"/*; do >+ cdt_file="`echo ${cdt_file} | sed \"s:^${D}/:${ROOT}:\"`" >+ dosym "${cdt_file}" "${ROOT}usr/lib/eclipse-${ECLIPSE_V}/plugins/" >+ done >+ >+ for cdt_file in "${D}/${INSTALL_DIR}/eclipse_support/cdt${CDT_V}/eclipse/features"/*; do >+ cdt_file="`echo ${cdt_file} | sed \"s:^${D}/:${ROOT}:\"`" >+ dosym "${cdt_file}" "${ROOT}usr/lib/eclipse-${ECLIPSE_V}/features/" >+ done >+ >+ eend $? >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 246516
:
171758
|
172919
|
173064
|
173250
|
173252
|
173253
|
173264
|
182044
|
190551
|
205789
|
205793
|
205890
|
205972
|
205973