public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-lang/dmd-bin: ChangeLog dmd-bin-1.022.ebuild dmd-bin-1.020.ebuild
       [not found] <E1IedyM-00035v-Nn@stork.gentoo.org>
@ 2007-10-08  4:42 ` Donnie Berkholz
  0 siblings, 0 replies; only message in thread
From: Donnie Berkholz @ 2007-10-08  4:42 UTC (permalink / raw
  To: gentoo-dev, anant

On 21:47 Sun 07 Oct     , Anant Narayanan (anant) wrote:
> 1.1                  dev-lang/dmd-bin/dmd-bin-1.022.ebuild
> 
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/dmd-bin/dmd-bin-1.022.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/dmd-bin/dmd-bin-1.022.ebuild?rev=1.1&content-type=text/plain

> 	# Remove unneccessary files
> 	mv ${S}/dmd/lib/libphobos.a ${S}/dmd
> 	rm -r ${S}/dmd/lib
> 	mkdir ${S}/dmd/lib
> 	mv ${S}/dmd/libphobos.a ${S}/dmd/lib
> 
> 	rm -r ${S}/dm
> 	rm ${S}/dmd/bin/*.dll ${S}/dmd/bin/*.exe ${S}/dmd/bin/readme.txt
> 	rm ${S}/dmd/bin/sc.ini ${S}/dmd/bin/windbg.hlp
> 
> 	# Cleanup line endings
> 	cd ${S}/dmd

> src_compile() {
> 	cd ${S}/dmd/src/phobos
> 	sed -i -e "s:DMD=.*:DMD=${S}/dmd/bin/dmd -I${S}/dmd/src/phobos -L${S}/dmd/lib/libphobos.a:" linux.mak internal/gc/linux.mak
> 	edos2unix linux.mak internal/gc/linux.mak
> 	make -f linux.mak
> 	cp libphobos.a ${S}/dmd/lib
> 
> 	# Clean up
> 	make -f linux.mak clean
> 	rm internal/gc/*.o
> }
> 
> src_install() {
> 	cd ${S}/dmd

Quote variables that can have spaces in them: D, S, T, WORKDIR, 
FILESDIR, DESTDIR, ROOT. The latest portage release now contains a 
repoman supporting this, so that's no longer an excuse.

If emake doesn't work, please add a comment to that effect.

Thanks,
Donnie
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-08  4:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1IedyM-00035v-Nn@stork.gentoo.org>
2007-10-08  4:42 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-lang/dmd-bin: ChangeLog dmd-bin-1.022.ebuild dmd-bin-1.020.ebuild Donnie Berkholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox