Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 29498 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]
gdc-0.0.1_rc5.ebuild (New Package)
gdc-0.0.1_rc5.ebuild (text/plain), 2.22 KB, created by
Stephan Wienczny
on 2004-04-17 09:21:28 UTC
(
hide
)
Description:
gdc-0.0.1_rc5.ebuild (New Package)
Filename:
MIME Type:
Creator:
Stephan Wienczny
Created:
2004-04-17 09:21:28 UTC
Size:
2.22 KB
patch
obsolete
># Distributed under the terms of the GNU General Public License v2 > >#inherit flag-o-matic libtool >inherit flag-o-matic > >IUSE="nls" > >#need to check what gcc version we are running >GCC_PV=$(gcc -dumpversion) > >S="${WORKDIR}/gcc-${GCC_PV}" >DESCRIPTION="D GCC Frontend" >SRC_URI="http://home.earthlink.net/~dvdfrdmn/d/d-for-gcc-r1e.tgz > ftp://gcc.gnu.org/pub/gcc/releases/gcc-${GCC_PV}/gcc-${GCC_PV}.tar.bz2" >#only need gcc-core (smaller download), but user will likely have this one already > >HOMEPAGE="I don't know " > >SLOT="0" >KEYWORDS="~x86" >LICENSE="GPL-2" > >DEPEND="virtual/glibc > >=sys-devel/gcc-3.3.3" > ># Theoretical cross compiler support >[ ! -n "${CCHOST}" ] && export CCHOST="${CHOST}" > >LOC="/usr" >#GCC_PVR=$(emerge -s gcc|grep "installed: 3.2"|cut -d ':' -f 2) >LIBPATH="${LOC}/lib/gcc-lib/${CCHOST}/${GCC_PV}" >#BINPATH="${LOC}/${CCHOST}/gcc-bin/${GCC_PV}" >DATAPATH="${LOC}/share" ># Dont install in /usr/include/g++-v3/, but in gcc internal directory. ># We will handle /usr/include/g++-v3/ with gcc-config ... >STDCXX_INCDIR="${LIBPATH}/include/g++-v${MY_PV/\.*/}" > > >src_unpack() { > unpack "gcc-${GCC_PV}.tar.bz2" > > cd "${WORKDIR}/gcc-3.3.3/gcc" > > unpack "d-for-gcc-r1e.tgz" > > patch -p1 < d/patch-gcc-3.3.3 >} > >src_compile() { > local myconf > > #lets reduce optimisation somewhat > replace-flags -O? -O2 > > if [ -z "`use nls`" ] > then > myconf="${myconf} --disable-nls" > else > myconf="${myconf} --enable-nls --without-included-gettext" > fi > > #Makefiles seems to use ${P} internally, need to wrap around > SAVEP="${P}" > unset P > > einfo "Configuring GCC for GDC inclusion..." > ${S}/configure --prefix=${LOC} \ > --mandir=${DATAPATH}/man \ > --infodir=${DATAPATH}/info \ > --enable-shared \ > --host=${CHOST} \ > --target=${CCHOST} \ > --with-system-zlib \ > --enable-languages=d \ > --enable-threads=posix \ > --enable-long-long \ > --disable-checking \ > --enable-cstdio=stdio \ > --enable-clocale=generic \ > --enable-__cxa_atexit \ > --enable-version-specific-runtime-libs \ > --with-gxx-include-dir=${STDCXX_INCDIR} \ > --with-local-prefix=${LOC}/local \ > ${myconf} || die > > einfo "Building GDC..." > # Fix for our libtool-portage.patc > make LIBPATH="${LIBPATH}" || die "make failed" > > P="${SAVEP}" >} > >src_install () { > dobin ${S}/gcc/gdc > dobin ${S}/gcc/cc1d > >}
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