Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 30789 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_rc6.ebuild
gdc-0.0.1_rc6.ebuild (text/plain), 2.64 KB, created by
Sebastian Dröge
on 2004-05-05 11:15:02 UTC
(
hide
)
Description:
gdc-0.0.1_rc6.ebuild
Filename:
MIME Type:
Creator:
Sebastian Dröge
Created:
2004-05-05 11:15:02 UTC
Size:
2.64 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-r1f.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="http://home.earthlink.net/~dvdfrdmn/d/" > >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.4.0/gcc" > > unpack "d-for-gcc-r1f.tgz" > > patch -p1 < d/patch-gcc-3.4-20040317 >} > >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}" > > einfo "Building Phobos runtime library..." > cd "${S}/gcc/d/phobos" > sed -i "s:d_config_subdirs=\"boehm-gc\":d_config_subdirs=\"\":g" configure > ./configure --prefix=/usr > cd boehm-gc > ./configure --prefix=/usr > make >} > >src_install () { > dobin ${S}/gcc/gdc > dobin ${S}/gcc/cc1d > > cd "${S}/gcc/d/phobos" > dolib.a ${S}/gcc/d/phobos/libphobos.a > dodir /usr/include/d > cp -Rf *.d ${D}/usr/include/d > cp -Rf etc gcc internal std ${D}/usr/include/d >}
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