# ChangeLog for dev-lang/cm3-bin
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/cm3-bin/ChangeLog,v 1.6 2006/03/03 13:55:52 blubb Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/cm3-bin/ChangeLog,v 1.7 2007/01/24 04:47:52 vapier Exp $
+
+*cm3-bin-5.4.0 (24 Jan 2007)
+
+ 24 Jan 2007; Mike Frysinger <vapier@gentoo.org>
+ +files/cm3-bin-5.4.0-cm3-cfg.patch, +cm3-bin-5.4.0.ebuild:
+ Version bump.
03 Mar 2006; Simon Stelling <blubb@gentoo.org>
cm3-bin-5.2.7_pre050331.ebuild:
-MD5 5e27f5e1b75488ed805fe7d46278f7c6 ChangeLog 943
-RMD160 f34246ef7381847567a1dcb862211ca09c18d192 ChangeLog 943
-SHA256 71114c4866ff9b60a8701dab696948bf01a5f256373986038212275e6b091d9d ChangeLog 943
-MD5 4541870caae42bb6dd4ec675e57ba187 cm3-bin-5.2.6.ebuild 1582
-RMD160 781a919baae4597bd276787f9bcfa9104a6afa07 cm3-bin-5.2.6.ebuild 1582
-SHA256 ddcb5788001a0f6e36bdbbcc09962ca1c09231fae5c855efbb7fea7f27a743e2 cm3-bin-5.2.6.ebuild 1582
-MD5 d0feaf246ec44e6c1d47e442e708a2e3 cm3-bin-5.2.7_pre050331.ebuild 1706
-RMD160 c9a4c28adc51b53904ce4d1c5aa2ebfb68d5d03f cm3-bin-5.2.7_pre050331.ebuild 1706
-SHA256 0bfb400b9b2f5ba34dc596858ea15591cab131b85643869adbf47fdc667635af cm3-bin-5.2.7_pre050331.ebuild 1706
-MD5 a071e91cf56b602fba2b046c25fa0826 files/05cm3 26
-RMD160 517bbefb63356986e3f7da60765d8e84150f8aed files/05cm3 26
-SHA256 df4e0cc72cb6250cf6483a10f5740463377fc50989ded29be1b975e8bd824296 files/05cm3 26
-MD5 b0387f56bb86fe8fdbb31cb841d57161 files/cm3.cfg 4916
-RMD160 035a911ef63c556147428286387f50b1c74f5ffb files/cm3.cfg 4916
-SHA256 fdd92685c3ff5f946b0510853f405843e5bff56c31ac4253a17ef5c1fa2f12de files/cm3.cfg 4916
-MD5 14dee9e93009ef0a53a4a8a24968cae2 files/digest-cm3-bin-5.2.6 159
-RMD160 080d0a6e208a4db3cf7a0148dbbbe0af2ec032ff files/digest-cm3-bin-5.2.6 159
-SHA256 98548b8f06c34e604dd954052f2deaf420ab8f7c630c4e6c6ec0c54675920829 files/digest-cm3-bin-5.2.6 159
-MD5 8a5aff788e14c6e0b51d9c4364eb892a files/digest-cm3-bin-5.2.7_pre050331 92
-RMD160 b1067508381c4f8d1289bba6ec5ededa51df50ef files/digest-cm3-bin-5.2.7_pre050331 92
-SHA256 097a39ccf095a1c5710f2881b0529e48cbe1b4a87566d0af399bea188ae7f49f files/digest-cm3-bin-5.2.7_pre050331 92
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX cm3-bin-5.4.0-cm3-cfg.patch 6253 RMD160 8b84a15a3c3829ec0a9893b2f525d9c72c8cf96a SHA1 b4cd287fdd8d5570edbce2c11750a1c0dd27f9ab SHA256 5f6f82f065eb29436a5a26f8f20a790f344ae5779a074532fb0a8e21cd407734
+MD5 446bdef495d14a8b3ddf60b7c5da7b3f files/cm3-bin-5.4.0-cm3-cfg.patch 6253
+RMD160 8b84a15a3c3829ec0a9893b2f525d9c72c8cf96a files/cm3-bin-5.4.0-cm3-cfg.patch 6253
+SHA256 5f6f82f065eb29436a5a26f8f20a790f344ae5779a074532fb0a8e21cd407734 files/cm3-bin-5.4.0-cm3-cfg.patch 6253
+AUX m3build 26 RMD160 4f79609cfc2289f0c63a9d0624b7fcf61dcb4114 SHA1 9313c03a01c94d6d93808f748c1e13af482193ea SHA256 df14f132a4befce4064764e25aa77e042c6b8f2dc31889cba0cf509d78e0d39e
MD5 9e6999a8078829ff6e304a50188d16dc files/m3build 26
RMD160 4f79609cfc2289f0c63a9d0624b7fcf61dcb4114 files/m3build 26
SHA256 df14f132a4befce4064764e25aa77e042c6b8f2dc31889cba0cf509d78e0d39e files/m3build 26
+AUX m3ship 25 RMD160 f7ce8a9d300a039d169674b7f042133e2f9ad8b5 SHA1 e63d6e1161cf2abba56e3aff3c16ece3696a47e9 SHA256 c8c793b26b80ff0c0db9a6c6a24320c29e5ab18af66cb9264beec5d8e0b961b3
MD5 5e3a7f25af13b2b9d199d0e361f04556 files/m3ship 25
RMD160 f7ce8a9d300a039d169674b7f042133e2f9ad8b5 files/m3ship 25
SHA256 c8c793b26b80ff0c0db9a6c6a24320c29e5ab18af66cb9264beec5d8e0b961b3 files/m3ship 25
+DIST cm3-min-POSIX-LINUXLIBC6-5.4.0.tgz 6293657 RMD160 434229ea892ce7384a4a860b5e900e1cac571889 SHA1 a8140d68550ab96b30b9e61131bffcf8c5a2d055 SHA256 a0591bf7e74ba43369c368f01cd631e6e402d05c2188bda6584569bc88e77877
+EBUILD cm3-bin-5.4.0.ebuild 1933 RMD160 dd1060864dc76f06aa76fa9d5d7802f1f5ff81bb SHA1 6df884802a55853cd11e000aadb8cdd516f02309 SHA256 54fa9c4317df510aefcc5fa47434938b0b732aa90fd3222becea7d0118f813f5
+MD5 c37ba9aa28d829e10db59b8c32e85479 cm3-bin-5.4.0.ebuild 1933
+RMD160 dd1060864dc76f06aa76fa9d5d7802f1f5ff81bb cm3-bin-5.4.0.ebuild 1933
+SHA256 54fa9c4317df510aefcc5fa47434938b0b732aa90fd3222becea7d0118f813f5 cm3-bin-5.4.0.ebuild 1933
+MISC ChangeLog 1102 RMD160 af90d13f1eb26960e283ad66d1f12c4f4dce7b8e SHA1 ad0e1f08f743bc4614957c0236f5f5f3954f46c4 SHA256 1f2a946575fd2f68ba638d0202dd8407a8911d23aea5e00df1ac95fa8a791f47
+MD5 c0fff1503c30e27265372a3d3bfce567 ChangeLog 1102
+RMD160 af90d13f1eb26960e283ad66d1f12c4f4dce7b8e ChangeLog 1102
+SHA256 1f2a946575fd2f68ba638d0202dd8407a8911d23aea5e00df1ac95fa8a791f47 ChangeLog 1102
+MISC metadata.xml 1943 RMD160 e7a713069679afa8e8bcef78f9108dd227f3307d SHA1 08b923ffb8b2d9321b8405c704404431413a9285 SHA256 75d11cb7bc3c22b62bec6563507dca245da9b6628dc46a480d5409d0e5303fe6
MD5 4a92760230ce87e45653db9797a26de6 metadata.xml 1943
RMD160 e7a713069679afa8e8bcef78f9108dd227f3307d metadata.xml 1943
SHA256 75d11cb7bc3c22b62bec6563507dca245da9b6628dc46a480d5409d0e5303fe6 metadata.xml 1943
+MD5 eb8f907a6ddfa2da5874ff5cdd0c11c9 files/digest-cm3-bin-5.4.0 286
+RMD160 3ca2ac5b9b21a88d8f12a48130bc717beb9bb638 files/digest-cm3-bin-5.4.0 286
+SHA256 1059b6a26d0f8c26f629f246e97306de8763be43bc194839c317b567968a7e20 files/digest-cm3-bin-5.4.0 286
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.1 (GNU/Linux)
+
+iD8DBQFFtuUc8bi6rjpTunYRAuOfAKDL0lsWdm5r2/E8zHpHJmzJOogwKACeJ02m
+4f3mMbggxTIujdgSNQCkofs=
+=9h+F
+-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/cm3-bin/cm3-bin-5.4.0.ebuild,v 1.1 2007/01/24 04:47:52 vapier Exp $
+
+inherit toolchain-funcs eutils
+
+if [[ ${PV} == *_pre* ]] ; then
+ STAMP=${PV/*_pre}
+ MY_PV=d${PV/_pre*}-20${STAMP:0:2}-${STAMP:2:2}-${STAMP:4:2}
+else
+ MY_PV=${PV}
+fi
+DESCRIPTION="Critical Mass Modula-3 compiler (binary version)"
+HOMEPAGE="http://www.elegosoft.com/cm3/"
+SRC_URI="x86? ( http://www.elegosoft.com/cm3/cm3-min-POSIX-LINUXLIBC6-${MY_PV}.tgz )
+ amd64? ( http://www.elegosoft.com/cm3/cm3-min-POSIX-LINUXLIBC6-${MY_PV}.tgz )"
+
+LICENSE="CMASS-M3 DEC-M3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+
+DEPEND=""
+PROVIDE="virtual/m3"
+
+S=${WORKDIR}
+
+QA_TEXTRELS="usr/lib32/cm3/pkg/libm3/LINUXLIBC6/libm3.so.5
+ usr/lib32/cm3/pkg/m3core/LINUXLIBC6/libm3core.so.5"
+QA_EXECSTACK="usr/lib32/cm3/bin/cm3
+ usr/lib32/cm3/pkg/m3core/LINUXLIBC6/libm3core.so.5"
+
+src_unpack() {
+ unpack ${A}
+ unpack ./system.tgz
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-cm3-cfg.patch
+ sed -i \
+ -e "s:@GENTOO_INITIAL_REACTOR_EDITOR@:${EDITOR:-/usr/bin/nano}:" \
+ -e "s:@GENTOO_INSTALL_ROOT@:/usr/$(get_libdir)/cm3/:" \
+ -e "s:@GENTOO_CC@:$(tc-getCC):" \
+ -e "s:@GENTOO_AR@:$(tc-getAR):" \
+ -e "s:@GENTOO_AS@:$(tc-getAS):" \
+ bin/cm3.cfg
+ if [[ -e pkg/m3core/LINUXLIBC6 ]] ; then
+ cd pkg/m3core/LINUXLIBC6
+ rm -f libm3core.so
+ ln -s libm3core.so.5 libm3core.so || die
+ cd "${S}"
+ fi
+ if [[ -e pkg/libm3/LINUXLIBC6 ]] ; then
+ cd pkg/libm3/LINUXLIBC6
+ rm -f libm3.so
+ ln -s libm3.so.5 libm3.so || die
+ cd "${S}"
+ fi
+}
+
+src_install() {
+ use amd64 && export ABI=x86
+ local libdir="/usr/$(get_libdir)/cm3"
+ dodir ${libdir}
+ cp -a pkg bin lib "${D}"${libdir}/ || die "mv lib"
+ dobin "${FILESDIR}"/m3{build,ship}
+ make_wrapper cm3 ./cm3 ${libdir}/bin ${libdir}/lib
+ make_wrapper cm3cg ./cm3cg ${libdir}/bin ${libdir}/lib
+}
--- /dev/null
+--- bin/cm3.cfg
++++ bin/cm3.cfg
+@@ -57,25 +57,7 @@
+ % A World-Wide Web browser. Reactor passes it an initial URL
+ % its first command-line argument.
+
+-INITIAL_REACTOR_EDITOR = BEGIN_CONFIG
+- "What should be the default text editor for new Reactor users?"
+- 10 "EDITOR"
+- 0 "emacsclient"
+- 0 "emacs"
+- 0 "vi"
+- 0 "textedit"
+- 0 "xedit"
+- 6 "/usr/local/emacs/bin" "emacsclient"
+- 6 "/usr/local/bin" "emacsclient"
+- 6 "/usr/local/emacs/bin" "emacs"
+- 6 "/usr/local/bin" "emacs"
+- 6 "/usr/bin" "vi"
+- 6 "/usr/local/X11R5/bin" "xedit"
+- 6 "/usr/openwin/bin" "textedit"
+- 6 "/usr/openwin/bin" "xedit"
+- 6 "/usr/X11/bin" "xedit"
+- 6 "/usr/bin/X11" "xedit"
+-END_CONFIG
++INITIAL_REACTOR_EDITOR = "@GENTOO_INITIAL_REACTOR_EDITOR@"
+ % A text editor. Reactor passes it "<file> +<line>" on the
+ % command-line when it wants to edit <file> initially positioned
+ % at <line>.
+@@ -86,10 +68,7 @@
+ % the installation will fail, but can be restarted after you have
+ % fixed the permissions.
+
+-INSTALL_ROOT = BEGIN_CONFIG
+- "Where should Reactor be installed?"
+- 7 %-- user specified install root
+-END_CONFIG
++INSTALL_ROOT = "@GENTOO_INSTALL_ROOT@"
+
+ BIN_INSTALL = INSTALL_ROOT & "/bin" % executables
+ if M3_PROFILING
+@@ -139,70 +118,12 @@
+ % 12 "/usr/local/gnu/lib"
+ % 13 "/usr/lib"
+ % END_CONFIG, "-ll" ],
+- "FLEX-BISON" : [ BEGIN_CONFIG
+- "Where are the flex/bison libraries?"
+- 11 "libfl.a"
+- 12 "/usr/lib"
+- 12 "/usr/local/lib"
+- 12 "/usr/local/gnu/lib"
+- 13 "/usr/lib"
+- END_CONFIG, "-lfl" ],
+- "POSTGRES95" : [ "-Xlinker", "-Bdynamic", BEGIN_CONFIG
+- "Where are the Postgres95 libraries?"
+- 11 "libpq.so"
+- 12 "/usr/local/postgres95/lib"
+- 12 "/usr/local/lib"
+- 12 "/usr/lib"
+- 13 "/usr/lib"
+- END_CONFIG, "-lpq" ],
+- "OPENGL" : [ "-Xlinker", "-Bdynamic", BEGIN_CONFIG
+- "Where are the OpenGL libraries?"
+- 11 "libGLU.so"
+- 11 "libGL.so"
+- 12 "/usr/lib"
+- 12 "/usr/local/lib"
+- 12 "/usr/local/gnu/lib"
+- 13 "/usr/lib"
+- END_CONFIG, "-lGLU", "-lGL", "-lXext" ],
+- "ODBC" : [ "-Xlinker", "-Bdynamic", BEGIN_CONFIG
+- "Where are the ODBC libraries?"
+- 11 "libodbc.so"
+- 12 "/usr/local/lib"
+- 12 "/usr/lib"
+- 12 "/usr/local/pgsql/lib"
+- 12 "/usr/local/postgres95/lib"
+- 13 "/usr/local/lib"
+- END_CONFIG, "-lodbc" ],
+- "MOTIF" : [ "-Xlinker", "-Bdynamic", BEGIN_CONFIG
+- "Where are the Motif libraries?"
+- 11 "libXm.so"
+- 12 "/usr/X11/lib"
+- 12 "/usr/X11R6/lib"
+- 12 "/usr/lib"
+- 12 "/usr/local/lib"
+- 12 "/usr/local/gnu/lib"
+- 13 "/usr/X11/lib"
+- 13 "/usr/X11R6/lib"
+- 13 "/usr/lib"
+- END_CONFIG, "-lXm" ],
+- "X11" : [ "-Xlinker", "-Bdynamic", BEGIN_CONFIG
+- "Where are the X11 libraries?"
+- 11 "libXaw.so"
+- 11 "libXmu.so"
+- 11 "libXext.so"
+- 11 "libXt.so"
+- 11 "libSM.so"
+- 11 "libICE.so"
+- 11 "libX11.so"
+- 12 "/usr/X11/lib"
+- 12 "/usr/X11R6/lib"
+- 12 "/usr/lib"
+- 12 "/usr/local/lib"
+- 12 "/usr/local/gnu/lib"
+- 13 "/usr/X11/lib"
+- 13 "/usr/X11R6/lib"
+- 13 "/usr/lib"
+- END_CONFIG, "-lXaw", "-lXmu", "-lXext",
++ "FLEX-BISON" : [ "-lfl" ],
++ "POSTGRES95" : [ "-Xlinker", "-Bdynamic", "-lpq" ],
++ "OPENGL" : [ "-Xlinker", "-Bdynamic", "-lGLU", "-lGL", "-lXext" ],
++ "ODBC" : [ "-Xlinker", "-Bdynamic", "-lodbc" ],
++ "MOTIF" : [ "-Xlinker", "-Bdynamic", "-lXm" ],
++ "X11" : [ "-Xlinker", "-Bdynamic", "-lXaw", "-lXmu", "-lXext",
+ "-lXt", "-lSM", "-lICE", "-lX11" ],
+ "TCP" : [ ]
+ }
+@@ -215,39 +136,9 @@
+
+ %---------------------------------------------------------- system programs ---
+
+-readonly SYSTEM_CC = BEGIN_CONFIG
+- "Where is your C compiler?"
+- 0 "gcc"
+- 6 "/bin" "gcc"
+- 6 "/usr/bin" "gcc"
+- 6 "/usr/local" "gcc"
+- 6 "/usr/local/bin" "gcc"
+- 6 "/usr/local/gnu" "gcc"
+- 0 "cc"
+- 6 "/bin" "cc"
+- 6 "/usr/bin" "cc"
+- 6 "/usr/local" "cc"
+- 6 "/usr/local/bin" "cc"
+- 6 "/usr/local/gnu" "cc"
+-END_CONFIG % C compiler
+-readonly SYSTEM_AR = BEGIN_CONFIG
+- "Where is your library archiver?"
+- 0 "ar"
+- 6 "/usr/bin" "ar"
+- 6 "/bin" "ar"
+- 6 "/usr/local" "ar"
+- 6 "/usr/local/bin" "ar"
+- 6 "/usr/local/gnu" "ar"
+-END_CONFIG % Archiver
+-readonly SYSTEM_ASM = BEGIN_CONFIG
+- "Where is your assembler?"
+- 0 "as"
+- 6 "/usr/bin" "as"
+- 6 "/bin" "as"
+- 6 "/usr/local" "as"
+- 6 "/usr/local/bin" "as"
+- 6 "/usr/local/gnu" "as"
+-END_CONFIG % Assembler
++readonly SYSTEM_CC = "@GENTOO_CC@"
++readonly SYSTEM_AR = "@GENTOO_AR@"
++readonly SYSTEM_ASM = "@GENTOO_AS@"
+
+ %--------------------------------------------------------- Modula-3 backend ---
+ % For platforms without an integrated backend, "m3_backend" is called to
+@@ -456,6 +347,6 @@
+ % To use the GNU defaults for CC and CFLAGS, specify "*".
+ %
+
+-GNU_CC = "gcc"
+-GNU_CFLAGS = "-O"
++GNU_CC = "*"
++GNU_CFLAGS = "*"
+ GNU_MAKE = "make"
--- /dev/null
+MD5 86d1f4b0c1f781a1753b5a4ca49dc63f cm3-min-POSIX-LINUXLIBC6-5.4.0.tgz 6293657
+RMD160 434229ea892ce7384a4a860b5e900e1cac571889 cm3-min-POSIX-LINUXLIBC6-5.4.0.tgz 6293657
+SHA256 a0591bf7e74ba43369c368f01cd631e6e402d05c2188bda6584569bc88e77877 cm3-min-POSIX-LINUXLIBC6-5.4.0.tgz 6293657