summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2007-07-06 01:07:09 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2007-07-06 01:07:09 +0000
commit3377323537f6468bcb7b5a188621404b438d18fe (patch)
tree7bd256171365cf8677a997f03c443b7a4a1f0e82 /dev-lang
parentchown on fbsd doesn't have --reference. Bug #183691 (diff)
downloadgentoo-2-3377323537f6468bcb7b5a188621404b438d18fe.tar.gz
gentoo-2-3377323537f6468bcb7b5a188621404b438d18fe.tar.bz2
gentoo-2-3377323537f6468bcb7b5a188621404b438d18fe.zip
The ghc-bin ebuild will not be continued. Its function has been merged into the ghc ebuild as of 6.6
(Portage version: 2.1.2.9)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ghc-bin/ChangeLog6
-rw-r--r--dev-lang/ghc-bin/files/digest-ghc-bin-6.615
-rw-r--r--dev-lang/ghc-bin/ghc-bin-6.6.ebuild148
3 files changed, 5 insertions, 164 deletions
diff --git a/dev-lang/ghc-bin/ChangeLog b/dev-lang/ghc-bin/ChangeLog
index 883298006df6..5b83b167d84b 100644
--- a/dev-lang/ghc-bin/ChangeLog
+++ b/dev-lang/ghc-bin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/ghc-bin
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ChangeLog,v 1.70 2007/07/02 14:41:42 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ChangeLog,v 1.71 2007/07/06 01:07:09 dcoutts Exp $
+
+ 06 Jul 2007; Duncan Coutts <dcoutts@gentoo.org> -ghc-bin-6.6.ebuild:
+ The ghc-bin ebuild will not be continued. Its function has been merged into
+ the ghc ebuild as of 6.6. There will be no new versions of this ebuild.
02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org>
ghc-bin-6.2.2-r1.ebuild, ghc-bin-6.4.1.ebuild, ghc-bin-6.4.1-r1.ebuild,
diff --git a/dev-lang/ghc-bin/files/digest-ghc-bin-6.6 b/dev-lang/ghc-bin/files/digest-ghc-bin-6.6
deleted file mode 100644
index ae5de8e9ac5f..000000000000
--- a/dev-lang/ghc-bin/files/digest-ghc-bin-6.6
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 0c97822252e94de3c3a8d588cebbcdcf ghc-bin-6.6-alpha.tbz2 35338275
-RMD160 82b7dca5f3c8b89e7e395da95d596197eca92888 ghc-bin-6.6-alpha.tbz2 35338275
-SHA256 3a8e6cacccdb95313a22b8a8c27ecc0311ef83380f303a286f1d8ab216aa4f5d ghc-bin-6.6-alpha.tbz2 35338275
-MD5 9aac2e2c31e7532b613b871fa9b95694 ghc-bin-6.6-amd64.tbz2 26093530
-RMD160 b44c90a8e3f99a462af0400d0d31c315833606bb ghc-bin-6.6-amd64.tbz2 26093530
-SHA256 acde821d26abbd0838e5bcd41cbde0daf5a538fea7619e3f2bc6cbe491d4b387 ghc-bin-6.6-amd64.tbz2 26093530
-MD5 fbd10ef5e4a5adcb635e1cd8ed288030 ghc-bin-6.6-ppc.tbz2 34668445
-RMD160 33f811104146dc8ef4d2839f71d39eb821128515 ghc-bin-6.6-ppc.tbz2 34668445
-SHA256 f0bc5583396666da4f03f519cec9fc239e96ae06d5fdb5bd951de8dae1cb1d79 ghc-bin-6.6-ppc.tbz2 34668445
-MD5 b5063ed3f244f7816cdc43eea0626d53 ghc-bin-6.6-sparc.tbz2 30576579
-RMD160 0392fc6529f48f34a009dc9d4cd51da68db072eb ghc-bin-6.6-sparc.tbz2 30576579
-SHA256 7588d5adc444cf82dfeaa336b4bd6ccf6dbc4621f929ad664ae6742836229503 ghc-bin-6.6-sparc.tbz2 30576579
-MD5 935c4d43fa82b220010fa593edfe97d0 ghc-bin-6.6-x86.tbz2 24960612
-RMD160 086a7784e616d0d789be8ceb3b3ba01832d3430b ghc-bin-6.6-x86.tbz2 24960612
-SHA256 38f58d9fef8ccf2544c4da75c4ce6e04393cf261a2de2e253bcafbdaf4e8ea72 ghc-bin-6.6-x86.tbz2 24960612
diff --git a/dev-lang/ghc-bin/ghc-bin-6.6.ebuild b/dev-lang/ghc-bin/ghc-bin-6.6.ebuild
deleted file mode 100644
index 38dbabace608..000000000000
--- a/dev-lang/ghc-bin/ghc-bin-6.6.ebuild
+++ /dev/null
@@ -1,148 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ghc-bin-6.6.ebuild,v 1.5 2007/07/02 14:41:42 peper Exp $
-
-# Note to users of hardened gcc-3.x:
-#
-# If you emerge ghc-bin with hardened gcc it should work fine (because
-# we turn off the hardened features that would otherwise break ghc).
-# However, emerging ghc-bin while using a vanilla gcc and then switching
-# to hardened gcc (using gcc-config) will leave you with a broken ghc. To
-# fix it you would need to either switch back to vanilla gcc or re-emerge
-# ghc-bin (or ghc). Note that also if you are using hardened gcc-3.x and
-# you switch to gcc-4.x that this will also break ghc and you'll need to
-# re-emerge ghc-bin (or ghc). People using vanilla gcc can switch between
-# gcc-3.x and 4.x with no problems.
-
-inherit base multilib flag-o-matic toolchain-funcs ghc-package
-
-DESCRIPTION="The Glasgow Haskell Compiler"
-HOMEPAGE="http://www.haskell.org/ghc/"
-# list all arches for proper digest building:
-SRC_URI="amd64? ( mirror://gentoo/${P}-amd64.tbz2 )
- x86? ( mirror://gentoo/${P}-x86.tbz2 )
- alpha? ( mirror://gentoo/${P}-alpha.tbz2 )
- sparc? ( mirror://gentoo/${P}-sparc.tbz2 )
- ppc? ( mirror://gentoo/${P}-ppc.tbz2 )"
-
-LICENSE="as-is"
-KEYWORDS="-* ~alpha ~amd64 ~ppc ~sparc ~x86"
-SLOT="0"
-IUSE="" # use the non-binary version if you want to have more choice
-
-RESTRICT="strip" # already stripped
-
-LOC="/opt/ghc"
-
-DEPEND=""
-RDEPEND=">=dev-lang/perl-5.6.1
- >=sys-devel/gcc-2.95.3
- >=dev-libs/gmp-4.1
- =sys-libs/readline-5*"
-
-PDEPEND=">=dev-haskell/cabal-1.1.6.1"
-
-PROVIDE="virtual/ghc"
-
-S="${WORKDIR}"
-
-append-ghc-cflags() {
- local flag compile assemble link
- for flag in $*; do
- case ${flag} in
- compile) compile="yes";;
- assemble) assemble="yes";;
- link) link="yes";;
- *)
- [[ ${compile} ]] && GHC_CFLAGS="${GHC_CFLAGS} -optc${flag}"
- [[ ${assemble} ]] && GHC_CFLAGS="${GHC_CFLAGS} -opta${flag}"
- [[ ${link} ]] && GHC_CFLAGS="${GHC_CFLAGS} -optl${flag}";;
- esac
- done
-}
-
-ghc_setup_cflags() {
- # We need to be very careful with the CFLAGS we ask ghc to pass through to
- # gcc. There are plenty of flags which will make gcc produce output that
- # breaks ghc in various ways. The main ones we want to pass through are
- # -mcpu / -march flags. These are important for arches like alpha & sparc.
- # We also use these CFLAGS for building the C parts of ghc, ie the rts.
- strip-flags
- strip-unsupported-flags
- filter-flags -fPIC
-
- GHC_CFLAGS=""
- for flag in ${CFLAGS}; do
- case ${flag} in
-
- # Ignore extra optimisation (ghc passes -O to gcc anyway)
- # -O2 and above break on too many systems
- -O*) ;;
-
- # Arch and ABI flags are what we're really after
- -m*) append-ghc-cflags compile assemble ${flag};;
-
- # Debugging flags don't help either. You can't debug Haskell code
- # at the C source level and the mangler discards the debug info.
- -g*) ;;
-
- # Ignore all other flags, including all -f* flags
- esac
- done
-
- # hardened-gcc needs to be disabled, because the mangler doesn't accept
- # its output.
- gcc-specs-pie && append-ghc-cflags compile link -nopie
- gcc-specs-ssp && append-ghc-cflags compile -fno-stack-protector
-
- # We also add -Wa,--noexecstack to get ghc to generate .o files with
- # non-exectable stack. This it a hack until ghc does it itself properly.
- append-ghc-cflags assemble "-Wa,--noexecstack"
-}
-
-ghc_setup_wrapper() {
- echo '#!/bin/bash'
- echo "GHCBIN=\"${LOC}/$(get_libdir)/ghc-$1/ghc-$1\";"
- echo "TOPDIROPT=\"-B${LOC}/$(get_libdir)/ghc-$1\";"
- echo "GHC_CFLAGS=\"${GHC_CFLAGS}\";"
- echo '# Mini-driver for GHC'
- echo 'exec $GHCBIN $TOPDIROPT $GHC_CFLAGS ${1+"$@"}'
-}
-
-src_unpack() {
- base_src_unpack
-
- # Setup the ghc wrapper script
- ghc_setup_cflags
- ghc_setup_wrapper ${PV} > "${S}/usr/bin/ghc-${PV}"
-
- # Relocate from /usr to /opt/ghc
- sed -i -e "s|/usr|${LOC}|g" \
- "${S}/usr/bin/ghci-${PV}" \
- "${S}/usr/bin/ghc-pkg-${PV}" \
- "${S}/usr/bin/hsc2hs" \
- "${S}/usr/$(get_libdir)/ghc-${PV}/package.conf"
-
- sed -i -e "s|/usr/$(get_libdir)|${LOC}/$(get_libdir)|" \
- "${S}/usr/bin/ghcprof"
-}
-
-src_compile() {
- true
-}
-
-src_install () {
- mkdir "${D}/opt"
- mv "${S}/usr" "${D}/opt/ghc"
-
- doenvd "${FILESDIR}/10ghc"
-}
-
-pkg_postinst () {
- ghc-reregister
- ewarn "IMPORTANT:"
- ewarn "If you have upgraded from another version of ghc-bin or"
- ewarn "if you have switched from ghc to ghc-bin, please run:"
- ewarn " /opt/ghc/sbin/ghc-updater"
- ewarn "to re-merge all ghc-based Haskell libraries."
-}