Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 82069 Details for
Bug 48136
gdc-013 (New Package) phobos-0.8.2 (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Diff to portage/eclass/toolchain.eclass
toolchain.eclass.diff (text/plain), 2.22 KB, created by
Sterling Christensen
on 2006-03-13 22:14:43 UTC
(
hide
)
Description:
Diff to portage/eclass/toolchain.eclass
Filename:
MIME Type:
Creator:
Sterling Christensen
Created:
2006-03-13 22:14:43 UTC
Size:
2.22 KB
patch
obsolete
>--- toolchain.eclass.orig 2006-03-12 21:44:23.000000000 -0800 >+++ toolchain.eclass 2006-03-12 23:01:06.000000000 -0800 >@@ -2,6 +2,10 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.250 2006/03/10 00:46:18 vapier Exp $ > >+# Maybe this should go in gcc-*.ebuild instead, but >+# the overlay is smaller this way: >+GDC_VER="0.17" >+ > HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" > LICENSE="GPL-2 LGPL-2.1" > RESTRICT="nostrip" # cross-compilers need controlled stripping >@@ -136,6 +140,7 @@ > > if [[ ${PN} != "kgcc64" ]] ; then > IUSE="${IUSE} altivec bootstrap build fortran gcj gtk hardened multilib nls nocxx objc vanilla" >+ [[ -n ${GDC_VER} ]] && IUSE="${IUSE} dlang" > [[ -n ${PIE_VER} ]] && IUSE="${IUSE} nopie" > [[ -n ${PP_VER} ]] && IUSE="${IUSE} nossp" > [[ -n ${HTB_VER} ]] && IUSE="${IUSE} boundschecking" >@@ -334,6 +339,14 @@ > )" > fi > >+ # D language frontend >+ if [[ -n ${GDC_VER} ]] ; then >+ GCC_SRC_URI="${GCC_SRC_URI} >+ dlang? ( >+ http://home.earthlink.net/~dvdfrdmn/d/gdc-${GDC_VER}.tar.bz2 >+ )" >+ fi >+ > echo "${GCC_SRC_URI}" > } > S=$(gcc_get_s_dir) >@@ -1014,6 +1027,11 @@ > > ${ETYPE}_src_unpack || die "failed to ${ETYPE}_src_unpack" > >+ if use dlang ; then >+ einfo "Unpacking GDC ${GDC_VER} ..." >+ tar -xf "${DISTDIR}"/gdc-${GDC_VER}.tar.bz2 -C gcc >+ fi >+ > fix_files="" > for x in contrib/test_summary libstdc++-v3/scripts/check_survey.in ; do > [[ -e ${x} ]] && fix_files="${fix_files} ${x}" >@@ -1123,6 +1141,7 @@ > esac > > GCC_LANG="c" >+ is_dlang && GCC_LANG="${GCC_LANG},d" > is_cxx && GCC_LANG="${GCC_LANG},c++" > is_gcj && GCC_LANG="${GCC_LANG},java" > if is_objc || is_objcxx ; then >@@ -1469,6 +1488,12 @@ > [[ ! -x /usr/bin/perl ]] && [[ -n ${MAN_VER} ]] && \ > unpack gcc-${MAN_VER}-manpages.tar.bz2 > >+ if use dlang ; then >+ einfo "Setting up GDC ${GDC_VER} ..." >+ cd ${S} >+ ./gcc/d/setup-gcc.sh || die >+ fi >+ > einfo "Configuring ${PN} ..." > gcc_do_configure > >@@ -2214,6 +2239,12 @@ > # [[ " ${TOOLCHAIN_ALLOWED_LANGS} " != " "*$1*" " ]] > } > >+is_dlang() { >+ gcc-lang-supported 'd' || return 1 >+ use build && return 1 >+ use dlang >+} >+ > is_cxx() { > gcc-lang-supported 'c++' || return 1 > is_allowed 'c++' || return 1
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 48136
:
29497
|
29498
|
30789
|
30888
|
30912
|
30913
|
30914
|
35313
|
35314
|
43022
|
43023
|
47240
|
47241
|
47242
|
48200
|
48201
|
51936
|
51962
|
51963
|
52156
|
52174
|
54128
|
57865
|
61300
|
75655
|
76443
| 82069 |
88411
|
101166
|
109352
|
124766