diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2010-04-27 11:49:23 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2010-04-27 11:49:23 +0000 |
commit | b34678558914a06d07f82b1ea0fac97ab77fcf2c (patch) | |
tree | 27150f81ece37e18fb97ece5b7861e0a51f23e07 /sys-devel/llvm | |
parent | bump (diff) | |
download | gentoo-2-b34678558914a06d07f82b1ea0fac97ab77fcf2c.tar.gz gentoo-2-b34678558914a06d07f82b1ea0fac97ab77fcf2c.tar.bz2 gentoo-2-b34678558914a06d07f82b1ea0fac97ab77fcf2c.zip |
2.7 official release version bump
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel/llvm')
-rw-r--r-- | sys-devel/llvm/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/llvm/files/llvm-2.7-nodoctargz.patch | 47 | ||||
-rw-r--r-- | sys-devel/llvm/llvm-2.7.ebuild (renamed from sys-devel/llvm/llvm-2.6-r1.ebuild) | 38 |
3 files changed, 68 insertions, 25 deletions
diff --git a/sys-devel/llvm/ChangeLog b/sys-devel/llvm/ChangeLog index 2ccda0c5d967..eed93e368f02 100644 --- a/sys-devel/llvm/ChangeLog +++ b/sys-devel/llvm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/llvm # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.11 2010/04/26 13:14:11 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.12 2010/04/27 11:49:22 voyageur Exp $ + +*llvm-2.7 (27 Apr 2010) + + 27 Apr 2010; Bernard Cafarelli <voyageur@gentoo.org> -llvm-2.6-r1.ebuild, + +llvm-2.7.ebuild, +files/llvm-2.7-nodoctargz.patch: + 2.7 official release version bump 26 Apr 2010; Bernard Cafarelli <voyageur@gentoo.org> llvm-2.6-r2.ebuild: --without-udis86 is broken in configure script diff --git a/sys-devel/llvm/files/llvm-2.7-nodoctargz.patch b/sys-devel/llvm/files/llvm-2.7-nodoctargz.patch new file mode 100644 index 000000000000..cce09eb20fc8 --- /dev/null +++ b/sys-devel/llvm/files/llvm-2.7-nodoctargz.patch @@ -0,0 +1,47 @@ +--- docs/Makefile.orig 2010-04-26 15:00:58.000000000 +0200 ++++ docs/Makefile 2010-04-26 15:03:12.000000000 +0200 +@@ -46,13 +46,12 @@ + # 'make generated BUILD_FOR_WEBSITE=1' + generated:: doxygen ocamldoc + +-install-html: $(PROJ_OBJ_DIR)/html.tar.gz ++install-html: + $(Echo) Installing HTML documentation + $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html + $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/img + $(Verb) $(DataInstall) $(HTML) $(DESTDIR)$(PROJ_docsdir)/html + $(Verb) $(DataInstall) $(IMAGES) $(DESTDIR)$(PROJ_docsdir)/html/img +- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(DESTDIR)$(PROJ_docsdir) + + $(PROJ_OBJ_DIR)/html.tar.gz: $(HTML) + $(Echo) Packaging HTML documentation +@@ -64,12 +63,11 @@ + install-doxygen: doxygen + $(Echo) Installing doxygen documentation + $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/doxygen +- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(DESTDIR)$(PROJ_docsdir) + $(Verb) cd $(PROJ_OBJ_DIR)/doxygen && \ + $(FIND) . -type f -exec \ + $(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/html/doxygen \; + +-doxygen: regendoc $(PROJ_OBJ_DIR)/doxygen.tar.gz ++doxygen: regendoc + + regendoc: + $(Echo) Building doxygen documentation +@@ -95,7 +93,6 @@ + install-ocamldoc: ocamldoc + $(Echo) Installing ocamldoc documentation + $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/ocamldoc/html +- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/ocamldoc.tar.gz $(DESTDIR)$(PROJ_docsdir) + $(Verb) cd $(PROJ_OBJ_DIR)/ocamldoc && \ + $(FIND) . -type f -exec \ + $(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/ocamldoc/html \; +@@ -105,7 +102,6 @@ + $(Verb) $(RM) -rf $(PROJ_OBJ_DIR)/ocamldoc.tar* + $(Verb) $(TAR) cf $(PROJ_OBJ_DIR)/ocamldoc.tar ocamldoc + $(Verb) $(GZIP) $(PROJ_OBJ_DIR)/ocamldoc.tar +- $(Verb) $(CP) $(PROJ_OBJ_DIR)/ocamldoc.tar.gz $(PROJ_OBJ_DIR)/ocamldoc/html/ + + regen-ocamldoc: + $(Echo) Building ocamldoc documentation diff --git a/sys-devel/llvm/llvm-2.6-r1.ebuild b/sys-devel/llvm/llvm-2.7.ebuild index 51a54ed9e3e6..0563e0c3516d 100644 --- a/sys-devel/llvm/llvm-2.6-r1.ebuild +++ b/sys-devel/llvm/llvm-2.7.ebuild @@ -1,18 +1,18 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-2.6-r1.ebuild,v 1.1 2010/03/18 19:38:22 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-2.7.ebuild,v 1.1 2010/04/27 11:49:22 voyageur Exp $ EAPI="2" inherit eutils multilib toolchain-funcs DESCRIPTION="Low Level Virtual Machine" HOMEPAGE="http://llvm.org/" -SRC_URI="http://llvm.org/releases/${PV}/${P}.tar.gz" +SRC_URI="http://llvm.org/releases/${PV}/${P}.tgz" LICENSE="UoI-NCSA" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="alltargets debug +libffi llvm-gcc ocaml test" +IUSE="alltargets debug +libffi llvm-gcc ocaml test udis86" DEPEND="dev-lang/perl >=sys-devel/make-3.79 @@ -25,7 +25,8 @@ DEPEND="dev-lang/perl libffi? ( virtual/libffi ) llvm-gcc? ( sys-devel/llvm-gcc ) ocaml? ( dev-lang/ocaml ) - test? ( dev-util/dejagnu )" + test? ( dev-util/dejagnu ) + udis86? ( dev-libs/udis86 )" RDEPEND="dev-lang/perl" S=${WORKDIR}/${PN}-${PV/_pre*} @@ -68,30 +69,16 @@ src_prepare() { # unfortunately ./configure won't listen to --mandir and the-like, so take # care of this. einfo "Fixing install dirs" - sed -e 's,^PROJ_docsdir.*,PROJ_docsdir := $(DESTDIR)$(PROJ_prefix)/share/doc/'${PF}, \ - -e 's,^PROJ_etcdir.*,PROJ_etcdir := $(DESTDIR)/etc/llvm,' \ - -e 's,^PROJ_libdir.*,PROJ_libdir := $(DESTDIR)/usr/'$(get_libdir), \ - -i Makefile.config.in || die "sed failed" - - # this points by default to the build directory - einfo "Fixing gccld and gccas" - sed -e 's,^TOOLDIR.*,TOOLDIR=/usr/bin,' \ - -i tools/gccld/gccld.sh tools/gccas/gccas.sh || die "sed failed" + sed -e 's,^PROJ_docsdir.*,PROJ_docsdir := $(PROJ_prefix)/share/doc/'${PF}, \ + -e 's,^PROJ_etcdir.*,PROJ_etcdir := /etc/llvm,' \ + -e 's,^PROJ_libdir.*,PROJ_libdir := $(PROJ_prefix)/'$(get_libdir), \ + -i Makefile.config.in || die "Makefile.config sed failed" einfo "Fixing rpath" sed -e 's/\$(RPATH) -Wl,\$(\(ToolDir\|LibDir\))//g' -i Makefile.rules || die "sed failed" - # Fix docs installation - sed -e '/^NO_INSTALL_MANS/s/$/$(DST_MAN_DIR)tblgen.1 $(DST_MAN_DIR)llvmgcc.1 $(DST_MAN_DIR)llvmgxx.1/' \ - -i docs/CommandGuide/Makefile || die "manpages sed failed" - epatch "${FILESDIR}"/${PN}-2.6-nodoctargz.patch + epatch "${FILESDIR}"/${PN}-2.7-nodoctargz.patch epatch "${FILESDIR}"/${PN}-2.6-commandguide-nops.patch - - # Buggy test, http://llvm.org/bugs/show_bug.cgi?id=5047 - rm test/DebugInfo/2009-01-15-dbg_declare.ll - - # Do not force -O3 -fomit-frame-pointer on users - epatch "${FILESDIR}"/${PN}-2.6-cflags.patch } src_configure() { @@ -150,12 +137,15 @@ src_configure() { CONF_FLAGS="${CONF_FLAGS} --enable-bindings=none" fi + if use udis86; then + CONF_FLAGS="${CONF_FLAGS} --with-udis86" + fi CONF_FLAGS="${CONF_FLAGS} $(use_enable libffi)" econf ${CONF_FLAGS} || die "econf failed" } src_compile() { - emake VERBOSE=1 KEEP_SYMBOLS=1 || die "emake failed" + emake VERBOSE=1 KEEP_SYMBOLS=1 REQUIRES_RTTI=1 || die "emake failed" } src_install() { |