Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 296491 Details for
Bug 395415
dev-lang/dmd - Digital Mars D Programming Language
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dmd-1.066.ebuild
dmd-1.066.ebuild (text/plain), 2.20 KB, created by
Julian Ospald
on 2011-12-20 22:08:09 UTC
(
hide
)
Description:
dmd-1.066.ebuild
Filename:
MIME Type:
Creator:
Julian Ospald
Created:
2011-12-20 22:08:09 UTC
Size:
2.20 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=4 > >inherit eutils multilib > >MY_P=${P/-/.} > >DESCRIPTION="Digital Mars D Compiler" >HOMEPAGE="http://www.digitalmars.com/d/" >SRC_URI="http://ftp.digitalmars.com/${MY_P}.zip" > ># License doesn't allow redistribution >LICENSE="DMD" >RESTRICT="mirror" >SLOT="1" >KEYWORDS="~amd64 ~x86" >IUSE="tools" > >DEPEND="sys-apps/findutils > app-arch/unzip" >RDEPEND="amd64? ( app-emulation/emul-linux-x86-compat ) > x86? ( ~virtual/libstdc++-3.3 )" > >S="${WORKDIR}/dmd" > >src_prepare() { > # remove unnecessary files > rm -rf freebsd html osx linux/lib/* \ > linux/bin/{README.TXT,dmd,dmd.conf} windows \ > samples README.TXT license.txt || die "something went wrong" > > cd "${S}"/src/dmd > > # patch for slot-compatibility > epatch "${FILESDIR}/slot-compat.patch" > # needed patch for makefile > epatch "${FILESDIR}/dmd-1.066-makefile.patch" >} > >src_compile() { > cd "${S}"/src/dmd > > # make dmd > emake -j1 -f linux.mak \ > || die "make failed, try turning off hardened" > cp dmd idgen impcnvgen optabgen "${S}"/linux/bin > fperms guo=rx ../../linux/bin/dmd > > # make phobos > cd "${S}"/src/phobos > emake -j1 -f linux.mak "DMD="${S}"/linux/bin/dmd" || die "make failed" > cp libphobos.a "${S}"/linux/lib > > # Clean up > emake -j1 -f linux.mak clean > cd "${S}" > find . \( -name "*.c" -o -name "*.h" -o -name "*.mak" -o -name \"*.txt" \ > -o -name "*.obj" -o -name "*.ddoc -o -name "*.asm" \) -exec rm -v {} \; >} > >src_install() { > # Lib > dolib.a linux/lib/libphobos.a > > # Install dmd compiler > newbin linux/bin/dmd dmd1 > > # Build new dmd1.conf > cat > dmd1.conf << END >[Environment] >DFLAGS=-I/usr/include/phobos1 -L-L/usr/$(get_libdir) >END > insinto /etc > doins dmd1.conf > > # Includes > insinto /usr/include/phobos1 > doins -r src/phobos/* > > # Man pages > newman man/man1/dmd.1 dmd1.1 > newman man/man1/dmd.conf.5 dmd1.conf.5 > > if use tools; then > doman man/man1/dumpobj.1 > doman man/man1/obj2asm.1 > doman man/man1/rdmd.1 > > # Tools > dobin linux/bin/{dumpobj,obj2asm,rdmd} > fi >} > >pkg_postinst () { > ewarn " " > ewarn "DMD1 uses "dmd1.conf", not "dmd.conf"! " > ewarn " " >}
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 395415
:
296485
|
296487
|
296489
| 296491 |
337742
|
337744
|
363982