diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-01-24 04:46:23 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-01-24 04:46:23 +0000 |
commit | 62b0b4b849953457ff93fa1509827711fb36bbae (patch) | |
tree | faea7569b06ddf9c9ff88eafdb35ef5f514e1a4d /dev-lang | |
parent | Replacing einfo with elog (diff) | |
download | historical-62b0b4b849953457ff93fa1509827711fb36bbae.tar.gz historical-62b0b4b849953457ff93fa1509827711fb36bbae.tar.bz2 historical-62b0b4b849953457ff93fa1509827711fb36bbae.zip |
old
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/cm3-bin/cm3-bin-5.2.6.ebuild | 57 | ||||
-rw-r--r-- | dev-lang/cm3-bin/cm3-bin-5.2.7_pre050331.ebuild | 61 | ||||
-rw-r--r-- | dev-lang/cm3-bin/files/05cm3 | 1 | ||||
-rw-r--r-- | dev-lang/cm3-bin/files/cm3.cfg | 182 | ||||
-rw-r--r-- | dev-lang/cm3-bin/files/digest-cm3-bin-5.2.6 | 2 | ||||
-rw-r--r-- | dev-lang/cm3-bin/files/digest-cm3-bin-5.2.7_pre050331 | 1 |
6 files changed, 0 insertions, 304 deletions
diff --git a/dev-lang/cm3-bin/cm3-bin-5.2.6.ebuild b/dev-lang/cm3-bin/cm3-bin-5.2.6.ebuild deleted file mode 100644 index b2d60c7b53f4..000000000000 --- a/dev-lang/cm3-bin/cm3-bin-5.2.6.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2005 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.2.6.ebuild,v 1.9 2005/04/26 19:48:58 agriffis Exp $ - -inherit toolchain-funcs - -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-${PV}.tgz ) - ppc? ( http://www.elegosoft.com/cm3/cm3-min-POSIX-PPC_LINUX-${PV}.tgz )" - -LICENSE="CMASS-M3 DEC-M3" -KEYWORDS="x86 ppc" -SLOT="0" -IUSE="" - -PROVIDE="virtual/m3" - -S=${WORKDIR} - -src_unpack() { - unpack ${A} - tar -zxf system.tgz || die "unpacking system.tgz" - - local TARGET - local GNU_PLATFORM - case ${ARCH} in - x86) TARGET=LINUXLIBC6 - GNU_PLATFORM=i486--linuxelf - ;; - ppc) TARGET=PPC_LINUX - GNU_PLATFORM=powerpc-apple-linuxelf - ;; - esac - sed \ - -e "s:GENTOO_TARGET:${TARGET}:" \ - -e "s:GENTOO_GNU_PLATFORM:${GNU_PLATFORM}:" \ - -e "s:GENTOO_INITIAL_REACTOR_EDITOR:${EDITOR:-/usr/bin/nano}:" \ - -e "s:GENTOO_INSTALL_ROOT:/usr/lib/cm3/:" \ - -e "s:GENTOO_GNU_CC:$(tc-getCC):" \ - -e "s:GENTOO_GNU_CFLAGS:${CFLAGS:--O}:" \ - -e "s:GENTOO_GNU_MAKE:${MAKE:-make}:" \ - -e "s:GENTOO_ROOT:/usr/lib/cm3/pkg/:" \ - ${FILESDIR}/cm3.cfg > bin/cm3.cfg -} - -src_install() { - dodir /usr/lib/cm3 /usr/bin - mv pkg bin lib ${D}/usr/lib/cm3/ - dosym /usr/lib/cm3/bin/cm3 /usr/bin/cm3 - dosym /usr/lib/cm3/bin/cm3.cfg /usr/bin/cm3.cfg - dosym /usr/lib/cm3/bin/cm3cg /usr/bin/cm3cg - dobin ${FILESDIR}/m3{build,ship} - - insinto /etc/env.d - doins ${FILESDIR}/05cm3 -} diff --git a/dev-lang/cm3-bin/cm3-bin-5.2.7_pre050331.ebuild b/dev-lang/cm3-bin/cm3-bin-5.2.7_pre050331.ebuild deleted file mode 100644 index c4b343b4dae7..000000000000 --- a/dev-lang/cm3-bin/cm3-bin-5.2.7_pre050331.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2006 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.2.7_pre050331.ebuild,v 1.3 2006/03/03 13:55:52 blubb Exp $ - -inherit toolchain-funcs - -STAMP=${PV/*_pre} -MY_PV=${PV/_pre*}-20${STAMP:0:2}-${STAMP:2:2}-${STAMP:4:2} -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-d${MY_PV}.tgz ) - amd64? ( http://www.elegosoft.com/cm3/cm3-min-POSIX-LINUXLIBC6-d${MY_PV}.tgz )" - -LICENSE="CMASS-M3 DEC-M3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -PROVIDE="virtual/m3" - -S=${WORKDIR} - -src_unpack() { - unpack ${A} - tar -zxf system.tgz || die "unpacking system.tgz" - - local TARGET - local GNU_PLATFORM - case ${ARCH} in - amd64|x86) - TARGET=LINUXLIBC6 - GNU_PLATFORM=i486--linuxelf - ;; - ppc) - TARGET=PPC_LINUX - GNU_PLATFORM=powerpc-apple-linuxelf - ;; - esac - sed \ - -e "s:GENTOO_TARGET:${TARGET}:" \ - -e "s:GENTOO_GNU_PLATFORM:${GNU_PLATFORM}:" \ - -e "s:GENTOO_INITIAL_REACTOR_EDITOR:${EDITOR:-/usr/bin/nano}:" \ - -e "s:GENTOO_INSTALL_ROOT:/usr/lib/cm3/:" \ - -e "s:GENTOO_GNU_CC:$(tc-getCC):" \ - -e "s:GENTOO_GNU_CFLAGS:${CFLAGS:--O}:" \ - -e "s:GENTOO_GNU_MAKE:${MAKE:-make}:" \ - -e "s:GENTOO_ROOT:/usr/lib/cm3/pkg/:" \ - "${FILESDIR}"/cm3.cfg > bin/cm3.cfg -} - -src_install() { - dodir /usr/lib/cm3 /usr/bin - mv pkg bin lib "${D}"/usr/lib/cm3/ || die "mv lib" - dosym /usr/lib/cm3/bin/cm3 /usr/bin/cm3 - dosym /usr/lib/cm3/bin/cm3.cfg /usr/bin/cm3.cfg - dosym /usr/lib/cm3/bin/cm3cg /usr/bin/cm3cg - dobin "${FILESDIR}"/m3{build,ship} - - doenvd "${FILESDIR}"/05cm3 -} diff --git a/dev-lang/cm3-bin/files/05cm3 b/dev-lang/cm3-bin/files/05cm3 deleted file mode 100644 index af1b2d9d1abc..000000000000 --- a/dev-lang/cm3-bin/files/05cm3 +++ /dev/null @@ -1 +0,0 @@ -LDPATH="/usr/lib/cm3/lib" diff --git a/dev-lang/cm3-bin/files/cm3.cfg b/dev-lang/cm3-bin/files/cm3.cfg deleted file mode 100644 index fd485bd0f07e..000000000000 --- a/dev-lang/cm3-bin/files/cm3.cfg +++ /dev/null @@ -1,182 +0,0 @@ -% cm3 config file - -readonly TARGET = "GENTOO_TARGET" -if M3_PROFILING - readonly BUILD_DIR = TARGET & "p" -else - readonly BUILD_DIR = TARGET -end -readonly OS_TYPE = "POSIX" -readonly WORD_SIZE = "32BITS" -readonly GNU_PLATFORM = "GENTOO_GNU_PLATFORM" - -readonly NAMING_CONVENTIONS = "0" - -proc set_config_options () is - m3_option ("-why") - m3_debug (TRUE) - M3_OPTIONS += "-w1" -end - -INITIAL_REACTOR_EDITOR = "GENTOO_INITIAL_REACTOR_EDITOR" - -ROOT="GENTOO_ROOT" - -INSTALL_ROOT = "GENTOO_INSTALL_ROOT" - -BIN_INSTALL = INSTALL_ROOT & "/bin" -if M3_PROFILING - LIB_INSTALL = INSTALL_ROOT & "/libp" -else - LIB_INSTALL = INSTALL_ROOT & "/lib" -end -PKG_INSTALL = INSTALL_ROOT & "/pkg" -DOC_INSTALL = INSTALL_ROOT & "/doc" -EMACS_INSTALL = INSTALL_ROOT & "/elisp" -MAN_INSTALL = INSTALL_ROOT & "/man" -HTML_INSTALL = INSTALL_ROOT & "/www" - -USE_ROOT = INSTALL_ROOT -BIN_USE = BIN_INSTALL -LIB_USE = LIB_INSTALL -PKG_USE = PKG_INSTALL - -readonly INSTALL_IMPLS = TRUE - -SYSTEM_LIBS = { - "LIBC" : [ "-lm" ], - "FLEX-BISON" : [ "-lfl" ], - "OPENGL" : [ "-lGLU", "-lGL", "-lXext" ], - "MOTIF" : [ "-lXm" ], - "X11" : [ "-lXaw", "-lXmu", "-lXext", "-lXt", "-lSM", "-lICE", "-lX11" ], -% "POSTGRES95" : [ ] -% "ODBC" : [ ] - "TCP" : [ ] -} - -SYSTEM_LIBORDER = [ "OPENGL", "DECPEX", "MOTIF", "X11", "TCP", "ODBC", - "POSTGRES95", "FLEX-BISON", "LEX-YACC", "LIBC" ] - -readonly SYSTEM_CC = "gcc" -readonly SYSTEM_AR = "ar" -readonly SYSTEM_ASM = "as" - -readonly m3back = "@" & BIN_USE & "/cm3cg" - -proc m3_backend (source, object, optimize, debug) is - local args = [ "-quiet", source, "-o", object ] - if optimize args += "-O" end - if debug args += "-g" end - if M3_PROFILING args += "-p" end - return try_exec (m3back, args) -end - -M3_BACKEND_MODE = "3" - -proc compile_c (source, object, options, optimize, debug) is - local args = [ "-fPIC", options ] - if optimize args += "-O" end - if debug args += "-g" end - if M3_PROFILING args += "-pg" end - return try_exec ("@" & SYSTEM_CC, args, "-c", source) -end - -proc assemble (source, object) is - return try_exec ("@" & SYSTEM_ASM, source, "-o", object) -end - -GCWRAPFLAGS = "-Wl,--wrap,adjtime,--wrap,getdirentries,--wrap,readv,--wrap,utimes,--wrap,wait3" - -proc make_lib (lib, options, objects, imported_libs, shared) is - local ret_code = 0 - local lib_a = format ("lib%s.a", lib) - local lib_so = format ("lib%s.so", lib) - local lib_sox = format ("lib%s.so.5", lib) - - % first, build the non-shared library - ret_code = try_exec ("@/usr/bin/ar", "crus", lib_a, objects) - if not equal (ret_code, 0) return ret_code end - - if shared - % build the shared library - if M3_PROFILING - ret_code = try_exec ("@" & SYSTEM_CC, "-pg -shared " & GCWRAPFLAGS & - "-Wl,-soname," & lib_sox, - "-o", lib_sox, objects) - else - ret_code = try_exec ("@" & SYSTEM_CC, "-shared " & GCWRAPFLAGS & - "-Wl,-soname," & lib_sox, - "-o", lib_sox, objects) - end - if not equal (ret_code, 0) return ret_code end - - % create the version aliases - link_file(lib_sox, lib_so) - - % finally, make sure the shared library stuff gets installed properly - install_derived (lib_sox) - install_derived_link (lib_sox, lib_so) - install_link_to_derived (lib_sox, LIB_INSTALL) - install_link_to_derived (lib_so, LIB_INSTALL) - else - delete_file (lib_so) - delete_file (lib_sox) - end - - return 0 -end - -proc skip_lib (lib, shared) is - local lib_so = format ("lib%s.so", lib) - local lib_sox = format ("lib%s.so.5", lib) - - if shared - % make sure the shared library stuff gets installed properly - install_derived (lib_sox) - install_derived (lib_so) - install_link_to_derived (lib_sox, LIB_INSTALL) - install_link_to_derived (lib_so, LIB_INSTALL) - else - delete_file (lib_so) - delete_file (lib_sox) - end - - return 0 -end - -proc m3_link (prog, options, objects, imported_libs, shared) is - local args = [] - if M3_PROFILING args += "-pg" end - args += [ "-o", prog, options, objects, imported_libs ] - if shared - return try_exec ("@" & SYSTEM_CC, args, GCWRAPFLAGS) - else - return try_exec ("@" & SYSTEM_CC, "-static", args, GCWRAPFLAGS) - %%% -- see M3_NEED_STANDALONE_LINKS below - %%%return try_exec ("@" & SYSTEM_CC, args) - end -end - -proc skip_link (prog, shared) is - return 0 -end - -M3_FRONT_FLAGS = [ ] -M3_OPTIONS = [ ] -% M3_KEEP_FILES = TRUE -M3_WINDOWS_GUI = FALSE -% M3_COVERAGE = TRUE -M3_COVERAGE_LIB = LIB_USE & "/report_coverage.o" -M3_SPLIT_LIBNAMES = TRUE -M3_SHARED_LIB_ARG = "-Wl,-R" -% M3_BOOTSTRAP = TRUE -% M3_COMPILE_ONCE = TRUE -% SYS_HAS_LOADER = TRUE -% M3_SKIP_LINK = TRUE -% M3_MAIN_IN_C = TRUE -% X11_WITH_SHARED_MEM = TRUE -%M3_NEED_STANDALONE_LINKS = TRUE - -GNU_CC = "GENTOO_GNU_CC" -GNU_CFLAGS = "GENTOO_GNU_CFLAGS" -GNU_MAKE = "GENTOO_GNU_MAKE" diff --git a/dev-lang/cm3-bin/files/digest-cm3-bin-5.2.6 b/dev-lang/cm3-bin/files/digest-cm3-bin-5.2.6 deleted file mode 100644 index c789e549cdd9..000000000000 --- a/dev-lang/cm3-bin/files/digest-cm3-bin-5.2.6 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 c473f5c15072c4b454ec193ea8d672ac cm3-min-POSIX-LINUXLIBC6-5.2.6.tgz 5552629 -MD5 bd8335491d56af80c874d695b169ce76 cm3-min-POSIX-PPC_LINUX-5.2.6.tgz 5580764 diff --git a/dev-lang/cm3-bin/files/digest-cm3-bin-5.2.7_pre050331 b/dev-lang/cm3-bin/files/digest-cm3-bin-5.2.7_pre050331 deleted file mode 100644 index 16799bee5be9..000000000000 --- a/dev-lang/cm3-bin/files/digest-cm3-bin-5.2.7_pre050331 +++ /dev/null @@ -1 +0,0 @@ -MD5 d0c2f6cd8e0d5d90aa613dc00f3994df cm3-min-POSIX-LINUXLIBC6-d5.2.7-2005-03-31.tgz 5307142 |