summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2009-06-20 03:56:42 +0000
committerDenis Dupeyron <calchan@gentoo.org>2009-06-20 03:56:42 +0000
commitff8cd34bed800be94332242d3b46845bbd9052fc (patch)
tree12f6a4dd84b33764444ab77054182aa4bc7b8ddd /sci-electronics/ghdl
parentFixed bugs #248352, #273142 and #273252. (diff)
downloadgentoo-2-ff8cd34bed800be94332242d3b46845bbd9052fc.tar.gz
gentoo-2-ff8cd34bed800be94332242d3b46845bbd9052fc.tar.bz2
gentoo-2-ff8cd34bed800be94332242d3b46845bbd9052fc.zip
Removed old ebuild.
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'sci-electronics/ghdl')
-rw-r--r--sci-electronics/ghdl/ChangeLog5
-rw-r--r--sci-electronics/ghdl/ghdl-0.26.ebuild70
2 files changed, 4 insertions, 71 deletions
diff --git a/sci-electronics/ghdl/ChangeLog b/sci-electronics/ghdl/ChangeLog
index f308c4b3f559..dbcbdf1f5e50 100644
--- a/sci-electronics/ghdl/ChangeLog
+++ b/sci-electronics/ghdl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-electronics/ghdl
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ghdl/ChangeLog,v 1.8 2009/06/20 03:36:43 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ghdl/ChangeLog,v 1.9 2009/06/20 03:56:42 calchan Exp $
+
+ 20 Jun 2009; Denis Dupeyron <calchan@gentoo.org> -ghdl-0.26.ebuild:
+ Removed old ebuild.
20 Jun 2009; Denis Dupeyron <calchan@gentoo.org> ghdl-0.27.ebuild:
Fixed bugs #248352, #273142 and #273252.
diff --git a/sci-electronics/ghdl/ghdl-0.26.ebuild b/sci-electronics/ghdl/ghdl-0.26.ebuild
deleted file mode 100644
index 7d42e86b5837..000000000000
--- a/sci-electronics/ghdl/ghdl-0.26.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ghdl/ghdl-0.26.ebuild,v 1.6 2009/05/29 16:14:59 calchan Exp $
-
-inherit multilib
-
-GCC_VERSION="4.1.2"
-
-DESCRIPTION="Complete VHDL simulator using the GCC technology"
-HOMEPAGE="http://ghdl.free.fr"
-SRC_URI="http://ghdl.free.fr/${P}.tar.bz2
- mirror://gnu/gcc/releases/gcc-${GCC_VERSION}/gcc-core-${GCC_VERSION}.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-DEPEND=">=sys-apps/portage-2.1.2.10
- >=dev-lang/gnat-gcc-4.2"
-RDEPEND=""
-S="${WORKDIR}/gcc-${GCC_VERSION}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- mv "${WORKDIR}/${P}"/vhdl gcc
- sed -i \
- -e 's/ADAC = \$(CC)/ADAC = gnatgcc/' \
- -e '/^CFLAGS = -g/d' \
- gcc/vhdl/Makefile.in || die "sed failed"
- sed -i -e 's/"-O -g"/"$(CFLAGS)"/' gcc/vhdl/Make-lang.in || die "sed failed"
-
- # Fix issue similar to bug #195074, ported from vapier's fix for binutils
- sed -i -e "s:egrep.*texinfo.*dev/null:egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null:" \
- configure* || die "sed failed"
-
- # Fix atan2 bug in math_complex-body.vhdl
- sed -i -e 's/atan2(z.re,z.im)/atan2(z.im,z.re)/' \
- gcc/vhdl/libraries/ieee/math_complex-body.vhdl || die "sed failed"
-
- # For multilib profile arch, see bug #203721
- if (has_multilib_profile || use multilib ) ; then
- for T_LINUX64 in `find "${S}/gcc/config" -name t-linux64` ;
- do
- einfo "sed for ${T_LINUX64} for multilib. :)"
- sed -i \
- -e "s:\(MULTILIB_OSDIRNAMES = \).*:\1../lib64 ../lib32:" \
- "${T_LINUX64}" \
- || die "sed for ${T_LINUX64} failed. :("
- done
- fi
-}
-
-src_compile() {
- econf --enable-languages=vhdl
- emake -j1 || die "Compilation failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Installation failed"
-
- cd "${D}"/usr/bin ; rm `ls --ignore=ghdl`
- rm -rf "${D}"/usr/include
- rm "${D}"/usr/$(get_libdir)/lib*
- cd "${D}"/usr/$(get_libdir)/gcc/${CHOST}/${GCC_VERSION} ; rm -rf `ls --ignore=vhdl*`
- cd "${D}"/usr/libexec/gcc/${CHOST}/${GCC_VERSION} ; rm -rf `ls --ignore=ghdl*`
- cd "${D}"/usr/share/info ; rm `ls --ignore=ghdl*`
- cd "${D}"/usr/share/man/man1 ; rm `ls --ignore=ghdl*`
- rm -Rf "${D}"/usr/share/locale
- rm -Rf "${D}"/usr/share/man/man7
-}