Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-lang/cm3-bin
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/cm3-bin/ChangeLog,v 1.8 2007/04/30 13:23:14 armin76 Exp $
30 Apr 2007; Raúl Porcel
x86 stable wrt #176400
*cm3-bin-5.4.0 (24 Jan 2007)
24 Jan 2007; Mike Frysinger
+files/cm3-bin-5.4.0-cm3-cfg.patch, +cm3-bin-5.4.0.ebuild:
Version bump.
03 Mar 2006; Simon Stelling
cm3-bin-5.2.7_pre050331.ebuild:
remove the dependency on app-emulation/emul-linux-x86-glibc since 2004.3 has
been deprecated a while ago
26 Apr 2005; Aron Griffis
cm3-bin-5.2.7_pre050331.ebuild:
add PROVIDE=virtual/m3
*cm3-bin-5.2.7_pre050331 (02 Apr 2005)
02 Apr 2005; Mike Frysinger
+cm3-bin-5.2.7_pre050331.ebuild:
Version bump #81799 by Stefan Sperling.
28 Jul 2003; Michael Sterrett
only IUSE if actually used
*cm3-bin-5.2.6 (17 Jul 2003)
17 Jul 2003; Mike Frysinger
Initial import. Ebuild submitted by me.
AUX cm3-bin-5.4.0-cm3-cfg.patch 6253 RMD160 8b84a15a3c3829ec0a9893b2f525d9c72c8cf96a SHA1 b4cd287fdd8d5570edbce2c11750a1c0dd27f9ab SHA256 5f6f82f065eb29436a5a26f8f20a790f344ae5779a074532fb0a8e21cd407734
AUX m3build 26 RMD160 4f79609cfc2289f0c63a9d0624b7fcf61dcb4114 SHA1 9313c03a01c94d6d93808f748c1e13af482193ea SHA256 df14f132a4befce4064764e25aa77e042c6b8f2dc31889cba0cf509d78e0d39e
AUX m3ship 25 RMD160 f7ce8a9d300a039d169674b7f042133e2f9ad8b5 SHA1 e63d6e1161cf2abba56e3aff3c16ece3696a47e9 SHA256 c8c793b26b80ff0c0db9a6c6a24320c29e5ab18af66cb9264beec5d8e0b961b3
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 a0f04d1106fd430254cb96166874c57053f42501 SHA1 b8a04a4dac042d5f8e129dce8b0d035dac3bda54 SHA256 d9f78ce2f9764dc97f7347f3a207446b2ffc59e82c99d9be0373add4f52cedb1
MISC ChangeLog 1200 RMD160 06e614662677978c2ee763127bae14d91372e7f3 SHA1 2d0aacd0e1c221d3d12e3651d31e590cad9f3779 SHA256 d91dee054c24adef4e2e0e645b4e2fd44ca42b15d743dfd781d7a258aa76e663
MISC metadata.xml 1943 RMD160 e7a713069679afa8e8bcef78f9108dd227f3307d SHA1 08b923ffb8b2d9321b8405c704404431413a9285 SHA256 75d11cb7bc3c22b62bec6563507dca245da9b6628dc46a480d5409d0e5303fe6
# 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.2 2007/04/30 13:23:14 armin76 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
}
Critical Mass Modula-3 5.1 (CM3) is the latest release of the Modula-3 compiler
produced by Critical Mass, which contains considerable enhancements to the
compiler, run-time system, and core libraries, which have not been publicly
available so far. The changes made by Critical Mass, Inc. since their CM3 4.1
release include:
* Modula-3 modules loadable at runtime
* *IMPLICIT* exceptions (changes language semantics)
* checked runtime errors are mapped to the implicit exception RuntimeError.E
* garbage collector failures are also mapped to implicit exceptions
* COM-compatible object layout (for WIN32)
* Unicode support: WIDECHAR, Text, Text8, Text16, Unicode interfaces
* extended ASSERT pragma:
*ASSERT condition [ ("," | WITH) msg ] *
* new DEBUG pragma:
*DEBUG condition [ ("," | WITH) msg {, msg} ] *
*DEBUG [ msg {, msg } ] *
* 64 bit support for 64 bit machines
There have been many more changes, and the 4.1 release also contained lots of
improvements compared to the SRC release, for example support for DLL generation
on Win32, much easier configuration procedure, binary installation (and
installer), reorganization and speedup of the builder etc.
For the first free release of CM3, Elego Software Solutions has added the
following changes:
* new gcc backend based on gcc 2.95.2
* updated/added runtime support for platforms FreeBSD2, FreeBSD3, FreeBSD4,
LINUXLIBC6, and SOLgnu
* minimal binary installation packages for Win32, Linux, FreeBSD, and SOLgnu
* scripts for m3 package handling, system booting, installation, and
distribution archive creation