Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 401772 Details for
Bug 547356
sci-electronics/ghdl-0.33 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild in its current (incomplete) shape
ghdl-0.31.ebuild (text/plain), 3.22 KB, created by
Olivier Diotte
on 2015-04-22 01:56:27 UTC
(
hide
)
Description:
ebuild in its current (incomplete) shape
Filename:
MIME Type:
Creator:
Olivier Diotte
Created:
2015-04-22 01:56:27 UTC
Size:
3.22 KB
patch
obsolete
># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sci-electronics/ghdl/ghdl-0.29.ebuild,v 1.4 2013/08/04 09:10:43 tomjbe Exp $ > >EAPI="3" > >inherit eutils multilib > >GCC_VERSION="4.8.2" >GNATGCC_SLOT="4.3" > >DESCRIPTION="Complete VHDL simulator using the GCC technology" >HOMEPAGE="http://sf.net/projects/ghdl-updates/" >SRC_URI="http://sourceforge.net/projects/ghdl-updates/files/Source/${P}.tar.gz > mirror://gnu/gcc/releases/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.bz2" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~ppc ~x86" >IUSE="" >DEPEND="<sys-apps/texinfo-5.1 > dev-lang/gnat-gcc:${GNATGCC_SLOT}" >RDEPEND="" >#S="${WORKDIR}/gcc-${GCC_VERSION}" > >ADA_INCLUDE_PATH="${ROOT}/usr/lib/gnat-gcc/${CHOST}/${GNATGCC_SLOT}/adainclude" >ADA_OBJECTS_PATH="${ROOT}/usr/lib/gnat-gcc/${CHOST}/${GNATGCC_SLOT}/adalib" >GNATGCC_PATH="${ROOT}/usr/${CHOST}/gnat-gcc-bin/${GNATGCC_SLOT}:${ROOT}/usr/libexec/gnat-gcc/${CHOST}/${GNATGCC_SLOT}" > >src_prepare() { > cd "${WORKDIR}/translate/gcc" && ./dist.sh sources || die "failed to generate sources archive" > tar -xf ${P}.tar.bz2 > mv ${P}/vhdl ${WORKDIR}/gcc-${GCC_VERSION}/gcc/ > > #mv "${WORKDIR}/${P}"/vhdl gcc > cd "${WORKDIR}" > sed -i -e 's/ADAC = \$(CC)/ADAC = gnatgcc/' translate/gcc/Makefile.in || die "sed failed" > ##sed -i \ > ## -e 's/AGCC_CFLAGS=-g/AGCC_CFLAGS=$(CFLAGS)/' \ > ## -e 's/rm -rf $(infodir)/rm -rf $(DESTDIR)$(infodir)/' \ > ## translate/gcc/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" > > ### 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 > > # fix for bug #477552 backported from bug #424970 > ##epatch "${FILESDIR}"/${P}-gcc.patch >} > >src_configure() { > cd ${WORKDIR}/gcc-${GCC_VERSION} > #PATH="${GNATGCC_PATH}:${PATH}" econf --enable-languages=vhdl,c,c++ --disable-bootstrap > #econf --enable-languages=c,c++,ada,vhdl #--disable-bootstrap > PATH="${GNATGCC_PATH}:${PATH}" econf --enable-languages=vhdl >} > >src_compile() { > cd ${WORKDIR}/gcc-${GCC_VERSION} > #PATH="${GNATGCC_PATH}:${PATH}" emake -j1 || die "Compilation failed" > #emake -j1 || die "Compilation failed" > PATH="${GNATGCC_PATH}:${PATH}" emake -j1 || die "Compilation failed" >} > >src_install() { > # bug #277644 > PATH="${GNATGCC_PATH}:${PATH}" emake -j1 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 >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 547356
: 401772 |
456364
|
457258
|
457260