diff options
author | Stefan Jones <cretin@gentoo.org> | 2005-07-31 02:53:33 +0000 |
---|---|---|
committer | Stefan Jones <cretin@gentoo.org> | 2005-07-31 02:53:33 +0000 |
commit | 9f8f303da59d88db82fb75e6338a36d10f4990ee (patch) | |
tree | b23a0f7428ed962fd7bc1dde106db3bdae04d88c /dev-util | |
parent | updated gcc4 patch (diff) | |
download | historical-9f8f303da59d88db82fb75e6338a36d10f4990ee.tar.gz historical-9f8f303da59d88db82fb75e6338a36d10f4990ee.tar.bz2 historical-9f8f303da59d88db82fb75e6338a36d10f4990ee.zip |
New Version
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/xmingw-gcc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/xmingw-gcc/Manifest | 12 | ||||
-rw-r--r-- | dev-util/xmingw-gcc/files/digest-xmingw-gcc-3.4.4 | 5 | ||||
-rw-r--r-- | dev-util/xmingw-gcc/xmingw-gcc-3.4.2-r1.ebuild | 4 | ||||
-rw-r--r-- | dev-util/xmingw-gcc/xmingw-gcc-3.4.4.ebuild | 92 |
5 files changed, 112 insertions, 8 deletions
diff --git a/dev-util/xmingw-gcc/ChangeLog b/dev-util/xmingw-gcc/ChangeLog index 5082372e9cb2..86d2158d6214 100644 --- a/dev-util/xmingw-gcc/ChangeLog +++ b/dev-util/xmingw-gcc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/xmingw-gcc # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-gcc/ChangeLog,v 1.11 2005/05/27 17:33:38 cretin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-gcc/ChangeLog,v 1.12 2005/07/31 02:53:33 cretin Exp $ + +*xmingw-gcc-3.4.4 (30 Jul 2005) + + 30 Jul 2005; Stefan Jones <cretin@gentoo.org> : + New version. Fixed bug #93475 aswell *xmingw-gcc-3.4.2-r1 (27 May 2005) diff --git a/dev-util/xmingw-gcc/Manifest b/dev-util/xmingw-gcc/Manifest index f7a760385784..848c8787fad9 100644 --- a/dev-util/xmingw-gcc/Manifest +++ b/dev-util/xmingw-gcc/Manifest @@ -1,8 +1,10 @@ -MD5 66c6bfd6024051878b33966008654ecc xmingw-gcc-3.4.2-r1.ebuild 2368 -MD5 c020d6bd409512e0398ce16b1e0960c5 xmingw-gcc-3.4.2.ebuild 2298 -MD5 24b6ba639df6e33ac21a541fb72a2b57 ChangeLog 1217 +MD5 51c9829ea5ffe852b05c7fb68609118d ChangeLog 1340 MD5 d5a08b81c465636d4c7fd5286c6e6e00 metadata.xml 225 +MD5 c020d6bd409512e0398ce16b1e0960c5 xmingw-gcc-3.4.2.ebuild 2298 +MD5 b776e904c8864c3826985b30d0eb1f0d xmingw-gcc-3.4.4.ebuild 2535 +MD5 3d1ec8667e8069e87613daa218063288 xmingw-gcc-3.4.2-r1.ebuild 2365 +MD5 6bc5f9fc08e5d56d7e7da8e47796753e files/05xmingw 96 +MD5 a04fdd426a92bfc7c5f621be7c095eca files/digest-xmingw-gcc-3.4.2-r1 281 MD5 8f19d88fb59c78e728862642831634ab files/gcc-3.4.1-includefix.diff 682 MD5 b78de3c2650dcbee69d9197a2c518e01 files/digest-xmingw-gcc-3.4.2 281 -MD5 a04fdd426a92bfc7c5f621be7c095eca files/digest-xmingw-gcc-3.4.2-r1 281 -MD5 6bc5f9fc08e5d56d7e7da8e47796753e files/05xmingw 96 +MD5 51630bb1676ca455fa288ed802c6333f files/digest-xmingw-gcc-3.4.4 351 diff --git a/dev-util/xmingw-gcc/files/digest-xmingw-gcc-3.4.4 b/dev-util/xmingw-gcc/files/digest-xmingw-gcc-3.4.4 new file mode 100644 index 000000000000..df77b708bab8 --- /dev/null +++ b/dev-util/xmingw-gcc/files/digest-xmingw-gcc-3.4.4 @@ -0,0 +1,5 @@ +MD5 b594ff4ea4fbef4ba9220887de713dfe gcc-3.4.4.tar.bz2 27565872 +MD5 ad4326a63de0fc54a11f94c5dd9f3106 gcc-3.4.4-20050522-1-src.diff.gz 108199 +MD5 d5bb1d754e3315a768fe69056b3ee8d3 mingw-runtime-3.7-src.tar.gz 287814 +MD5 c9204f46e6b6deeb1c182bc75ad4d88f w32api-3.2-src.tar.gz 1082652 +MD5 df967d4179d3237a06542ab89c5c7573 gcc-3.4.4-crossfix.diff.bz2 7578 diff --git a/dev-util/xmingw-gcc/xmingw-gcc-3.4.2-r1.ebuild b/dev-util/xmingw-gcc/xmingw-gcc-3.4.2-r1.ebuild index b45c749dd0af..2c84578280e9 100644 --- a/dev-util/xmingw-gcc/xmingw-gcc-3.4.2-r1.ebuild +++ b/dev-util/xmingw-gcc/xmingw-gcc-3.4.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-gcc/xmingw-gcc-3.4.2-r1.ebuild,v 1.1 2005/05/27 17:33:38 cretin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-gcc/xmingw-gcc-3.4.2-r1.ebuild,v 1.2 2005/07/31 02:53:33 cretin Exp $ MY_P=${P/xmingw-/} S=${WORKDIR}/${MY_P} @@ -73,7 +73,7 @@ src_compile() { --disable-win32-registry \ --enable-sjlj-exceptions \ --without-x \ - --without-newlib \ + --with-newlib \ ${myconf} \ || die "configure failed" diff --git a/dev-util/xmingw-gcc/xmingw-gcc-3.4.4.ebuild b/dev-util/xmingw-gcc/xmingw-gcc-3.4.4.ebuild new file mode 100644 index 000000000000..35f6c389bae1 --- /dev/null +++ b/dev-util/xmingw-gcc/xmingw-gcc-3.4.4.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-gcc/xmingw-gcc-3.4.4.ebuild,v 1.1 2005/07/31 02:53:33 cretin Exp $ + +inherit eutils + +MY_P=${P/xmingw-/} +S=${WORKDIR}/${MY_P} +MINGW_PATCH=gcc-3.4.4-20050522-1-src.diff.gz +RUNTIME=mingw-runtime-3.7 +W32API=w32api-3.2 + +DESCRIPTION="The GNU Compiler Collection - i386-mingw32msvc-gcc only" +HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" +SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/${MY_P}/${MY_P}.tar.bz2 + mirror://sourceforge/mingw/${MINGW_PATCH} + mirror://sourceforge/mingw/${RUNTIME}-src.tar.gz + mirror://sourceforge/mingw/${W32API}-src.tar.gz + mirror://gentoo/gcc-3.4.4-crossfix.diff.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="fortran gcj debug nocxx" + +DEPEND="dev-util/xmingw-binutils" + +src_unpack() { + unpack ${MY_P}.tar.bz2 + unpack ${RUNTIME}-src.tar.gz + unpack ${W32API}-src.tar.gz + cd ${S}; gzip -dc ${DISTDIR}/${MINGW_PATCH} | patch -p1 + patch -p1 < ${FILESDIR}/gcc-3.4.1-includefix.diff + epatch ${DISTDIR}/gcc-3.4.4-crossfix.diff.bz2 + + mkdir -p ${S}/winsup/cygwin ${S}/winsup/w32api + cd ${S}/winsup/cygwin;ln -s ${WORKDIR}/${RUNTIME}/include . + cd ${S}/winsup/w32api;ln -s ${WORKDIR}/${W32API}/include . +} + +src_compile() { + export PATH=$PATH:/opt/xmingw/bin:/opt/xmingw/i386-mingw32msvc/bin + unset CFLAGS CXXFLAGS + myconf="" + if has_version dev-util/xmingw-runtime \ + && has_version dev-util/xmingw-w32api + then + lang=c + use nocxx || lang="${lang},c++" + use fortran && lang="${lang},f77" + + if use gcj; then + lang=${lang},java + myconf="${myconf} --enable-libgcj --disable-libgcj-debug --disable-java-awt \ + --enable-java-gc=boehm --enable-interpreter --enable-hash-sychronization" + fi + else + lang=c + fi + + if use debug; then + myconf="${myconf} --enable-debug" + else + myconf="${myconf} --disable-debug" + fi + + ./configure \ + --target=i386-mingw32msvc \ + --prefix=/opt/xmingw \ + --enable-languages=${lang} \ + --disable-shared \ + --disable-nls \ + --enable-threads \ + --with-gcc \ + --with-gnu-ld \ + --with-gnu-as \ + --disable-win32-registry \ + --enable-sjlj-exceptions \ + --without-x \ + --without-newlib \ + ${myconf} \ + || die "configure failed" + + emake || die "emake failed" +} + +src_install() { + export PATH=$PATH:/opt/xmingw/bin:/opt/xmingw/i386-mingw32msvc/bin + make DESTDIR="${D}" install || die "make install failed" + doenvd ${FILESDIR}/05xmingw + rm ${D}/opt/xmingw/info/dir ${D}/opt/xmingw/lib/libiberty.a +} |