Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 51962 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]
hopefully fixes the gcc version problems discussed below
gdc-0.10-r1.ebuild (text/plain), 1.76 KB, created by
Anders Runesson
on 2005-02-23 10:10:34 UTC
(
hide
)
Description:
hopefully fixes the gcc version problems discussed below
Filename:
MIME Type:
Creator:
Anders Runesson
Created:
2005-02-23 10:10:34 UTC
Size:
1.76 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: $ > >#inherit flag-o-matic libtool >inherit eutils flag-o-matic toolchain-funcs > >IUSE="nls" > >#need to check what gcc version we are running >GCC_PV=`gcc-version` >GCC_PVS=`gcc-major-version`.`gcc-minor-version`.`gcc-micro-version` >GCC_PVF=`gcc-fullversion` >GCC_LIBS="`gcc-config --get-lib-path`" > ># GCC_LIBS must be saved before we inherit toolchain ># toolchain makes gcc-config not work ># toolchain is used to patch the version >inherit toolchain > >DESCRIPTION="D GCC Frontend" >SRC_URI="http://home.earthlink.net/~dvdfrdmn/d/gdc-${PV}.tar.bz2 > ftp://gcc.gnu.org/pub/gcc/releases/gcc-${GCC_PVS}/gcc-${GCC_PVS}.tar.bz2" > >HOMEPAGE="http://home.earthlink.net/~dvdfrdmn/d/" > >SLOT="0" >KEYWORDS="~x86" >LICENSE="GPL-2" >S="${WORKDIR}/gcc-${GCC_PVS}" > >DEPEND="virtual/glibc > >=sys-devel/gcc-3.3.2" > >RDEPEND="=dev-libs/phobos-${PV}" > >src_unpack() { > unpack "gcc-${GCC_PVS}.tar.bz2" > > cd "${S}/gcc" > gcc_version_patch "${GCC_PVF}" > > unpack "gdc-${PV}.tar.bz2" > > if [ "${GCC_PV}" = "3.4" ] > then > patch -p1 < d/patch-gcc-3.4.x || die "GCC 3.4.x patch failed" > > elif [ "${GCC_PV}" = "3.3" ] > then > patch -p1 < d/patch-gcc-3.3.x || die "GCC 3.3.x patch failed" > > else > die "GCC ${GCC_PV} not supported by GDC" > fi >} > >src_compile() { > einfo "Configuring GCC for GDC inclusion..." > > cd ${S} > ./configure --prefix=/usr --enable-shared --enable-threads=posix --enable-languages=d > > einfo "Building GDC..." > gmake >} > >src_install () { > dobin ${S}/gcc/gdc > > # rename to dmd but move to ${WORKDIR} since there already is a directory named "dmd" in old location > mv ${S}/gcc/d/dmd-script ${WORKDIR}/dmd > dobin ${WORKDIR}/dmd > > dodir "${GCC_LIBS}" > cp ${S}/gcc/cc1d ${D}"${GCC_LIBS}" >} >
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 Raw
Actions:
View
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