Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 156563 Details for
Bug 212793
dev-lang/dmd-bin-2.012 and dev-lang/dmd-bin-1.028 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild for 2.014
dmd-bin-2.014.ebuild (text/plain), 3.02 KB, created by
Dennis Schridde
on 2008-06-12 23:42:17 UTC
(
hide
)
Description:
Ebuild for 2.014
Filename:
MIME Type:
Creator:
Dennis Schridde
Created:
2008-06-12 23:42:17 UTC
Size:
3.02 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild,v 1.2 2008/03/22 17:51:23 coldwind Exp $ > >inherit eutils > >MY_P=${P/-bin/} >MY_P=${MY_P/-/.} > >DESCRIPTION="Digital Mars D Compiler" >HOMEPAGE="http://www.digitalmars.com/d/" >SRC_URI="http://ftp.digitalmars.com/${MY_P}.zip" > >LICENSE="DMD" >RESTRICT="mirror strip" >SLOT="0" >KEYWORDS="~amd64 ~x86" > >LOC="/opt/dmd" >S="${WORKDIR}/dmd" > >DEPEND="sys-apps/findutils > app-arch/unzip" >RDEPEND="amd64? ( app-emulation/emul-linux-x86-compat ) > x86? ( sys-libs/libstdc++-v3 )" > >src_unpack() { > unpack "${A}" > cd "${S}" > > # Fix permissions and clean up > fperms ug=rw `find . -type f` > fperms ug=rwx `find . -type d` > fperms ug=rwx bin/dmd bin/dumpobj bin/obj2asm bin/rdmd > > # Cleanup line endings > edos2unix `find . -name '*.c' -type f` > edos2unix `find . -name '*.d' -type f` > edos2unix `find . -name '*.ddoc' -type f` > edos2unix `find . -name '*.h' -type f` > edos2unix `find . -name '*.mak' -type f` > edos2unix `find . -name '*.txt' -type f` > > # Set variables correctly > sed -i \ > -e "s:DMD=.*:DMD=${S}/bin/dmd:" \ > -e "s:CC=.*:CC=gcc -m32:" \ > -e "s:CFLAGS=.*:CFLAGS=${CFLAGS}:" \ > -e "s:STDDOC =.*:STDDOC=std.ddoc:" \ > `find . -name '*.mak' -type f` >} > >src_compile() { > # Can't use emake, customized build system > make -C "${S}/src/phobos" -f linux.mak release > make -C "${S}/src/phobos" -f linux.mak headers > make -C "${S}/src/phobos" -f linux.mak html >} > >src_install() { > # Setup dmd.conf > cat << EOF > "bin/dmd.conf" >[Environment] >DFLAGS=-I/opt/dmd/include/phobos -L-L/opt/dmd/lib >EOF > insinto /etc > doins bin/dmd.conf > > # Man pages > for file in man/man1/* ; do > doman "${file}" > done > > # Documentation > dohtml web/phobos/* html/d/phobos/* > > # Install > exeinto /opt/dmd/bin > doexe bin/dmd > doexe bin/dumpobj > doexe bin/obj2asm > doexe bin/rdmd > > insinto /opt/dmd/lib > doins lib/libphobos2.a > > insinto /opt/dmd/include/phobos > for file in src/phobos/include/*.d ; do > doins "${file}" > done > > insinto /opt/dmd/include/phobos/std > for file in src/phobos/include/std/*.d ; do > doins "${file}" > done > > insinto /opt/dmd/include/phobos/std/c > for file in src/phobos/include/std/c/*.d ; do > doins "${file}" > done > > insinto /opt/dmd/include/phobos/std/c/linux > for file in src/phobos/include/std/c/linux/*.d ; do > doins "${file}" > done > > insinto /opt/dmd/samples > for file in samples/d/* ; do > doins "${file}" > done > > insinto /opt/dmd/samples/mydll > for file in samples/d/mydll/* ; do > doins "${file}" > done > > # Set PATH > doenvd "${FILESDIR}/25dmd" >} > >pkg_postinst () { > ewarn "You may need to run: " > ewarn "env-update && source /etc/profile " > ewarn "to be able to use the compiler immediately. " > einfo " " > einfo "The bundled samples may be found in /opt/dmd/samples " > einfo "Headers have been installed to /opt/dmd/include " > einfo " " >}
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 212793
:
147209
|
147934
|
147935
|
156563
|
158113