public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/elfutils: ChangeLog elfutils-0.152-r1.ebuild
@ 2011-10-05  2:28 Mike Frysinger (vapier)
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger (vapier) @ 2011-10-05  2:28 UTC (permalink / raw
  To: gentoo-commits

vapier      11/10/05 02:28:02

  Modified:             ChangeLog
  Added:                elfutils-0.152-r1.ebuild
  Log:
  Switch to patches published with upstream.
  
  (Portage version: 2.2.0_alpha59/cvs/Linux x86_64)

Revision  Changes    Path
1.154                dev-libs/elfutils/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.154&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.154&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?r1=1.153&r2=1.154

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -r1.153 -r1.154
--- ChangeLog	5 Oct 2011 02:27:08 -0000	1.153
+++ ChangeLog	5 Oct 2011 02:28:02 -0000	1.154
@@ -1,6 +1,11 @@
 # ChangeLog for dev-libs/elfutils
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.153 2011/10/05 02:27:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.154 2011/10/05 02:28:02 vapier Exp $
+
+*elfutils-0.152-r1 (05 Oct 2011)
+
+  05 Oct 2011; Mike Frysinger <vapier@gentoo.org> +elfutils-0.152-r1.ebuild:
+  Switch to patches published with upstream.
 
   05 Oct 2011; Mike Frysinger <vapier@gentoo.org> elfutils-0.146.ebuild,
   elfutils-0.148.ebuild, elfutils-0.149.ebuild, elfutils-0.150.ebuild,



1.1                  dev-libs/elfutils/elfutils-0.152-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild?rev=1.1&content-type=text/plain

Index: elfutils-0.152-r1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild,v 1.1 2011/10/05 02:28:02 vapier Exp $

EAPI="3"

inherit eutils

DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
HOMEPAGE="https://fedorahosted.org/elfutils/"
SRC_URI="https://fedorahosted.org/releases/e/l/${PN}/${PV}/${P}.tar.bz2
	https://fedorahosted.org/releases/e/l/${PN}/${PV}/${PN}-portability.patch -> ${P}-portability.patch
	https://fedorahosted.org/releases/e/l/${PN}/${PV}/${PN}-robustify.patch -> ${P}-robustify.patch"

LICENSE="GPL-2-with-exceptions"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="bzip2 lzma nls zlib"

# This pkg does not actually seem to compile currently in a uClibc
# environment (xrealloc errs), but we need to ensure that glibc never
# gets pulled in as a dep since this package does not respect virtual/libc
RDEPEND="zlib? ( >=sys-libs/zlib-1.2.2.3 )
	bzip2? ( app-arch/bzip2 )
	lzma? ( app-arch/xz-utils )
	!dev-libs/libelf"
DEPEND="${RDEPEND}
	nls? ( sys-devel/gettext )
	>=sys-devel/flex-2.5.4a
	sys-devel/m4"

src_prepare() {
	epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
	epatch "${DISTDIR}"/${P}-{portability,robustify}.patch
	sed -i -e 's:-Werror::g' $(find -name Makefile.in) || die
	use test || sed -i -e 's: tests::' Makefile.in #226349
	# some patches touch both configure and configure.ac
	find -type f -exec touch -r configure {} +
}

src_configure() {
	econf \
		$(use_enable nls) \
		--program-prefix="eu-" \
		$(use_with zlib) \
		$(use_with bzip2 bzlib) \
		$(use_with lzma)
}

src_test() {
	env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
		LC_ALL="C" \
		emake -j1 check || die "test failed"
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
}






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-libs/elfutils: ChangeLog elfutils-0.152-r1.ebuild
@ 2011-10-13 22:40 Mike Frysinger (vapier)
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger (vapier) @ 2011-10-13 22:40 UTC (permalink / raw
  To: gentoo-commits

vapier      11/10/13 22:40:08

  Modified:             ChangeLog elfutils-0.152-r1.ebuild
  Log:
  Add support for cross-compiling.
  
  (Portage version: 2.2.0_alpha65/cvs/Linux x86_64)

Revision  Changes    Path
1.155                dev-libs/elfutils/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.155&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.155&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?r1=1.154&r2=1.155

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -r1.154 -r1.155
--- ChangeLog	5 Oct 2011 02:28:02 -0000	1.154
+++ ChangeLog	13 Oct 2011 22:40:08 -0000	1.155
@@ -1,6 +1,9 @@
 # ChangeLog for dev-libs/elfutils
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.154 2011/10/05 02:28:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.155 2011/10/13 22:40:08 vapier Exp $
+
+  13 Oct 2011; Mike Frysinger <vapier@gentoo.org> elfutils-0.152-r1.ebuild:
+  Add support for cross-compiling.
 
 *elfutils-0.152-r1 (05 Oct 2011)
 



1.2                  dev-libs/elfutils/elfutils-0.152-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild?r1=1.1&r2=1.2

Index: elfutils-0.152-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- elfutils-0.152-r1.ebuild	5 Oct 2011 02:28:02 -0000	1.1
+++ elfutils-0.152-r1.ebuild	13 Oct 2011 22:40:08 -0000	1.2
@@ -1,10 +1,10 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild,v 1.1 2011/10/05 02:28:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild,v 1.2 2011/10/13 22:40:08 vapier Exp $
 
 EAPI="3"
 
-inherit eutils
+inherit eutils toolchain-funcs
 
 DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
 HOMEPAGE="https://fedorahosted.org/elfutils/"
@@ -36,15 +36,48 @@
 	use test || sed -i -e 's: tests::' Makefile.in #226349
 	# some patches touch both configure and configure.ac
 	find -type f -exec touch -r configure {} +
+	mkdir -p ${CBUILD} ${CHOST}
+}
+
+econf_build() {
+	CFLAGS=${BUILD_CFLAGS:--O1 -pipe} \
+	CXXFLAGS=${BUILD_CXXFLAGS:--O1 -pipe} \
+	CPPFLAGS=${BUILD_CPPFLAGS} \
+	LDFLAGS=${BUILD_LDFLAGS} \
+	CC=$(tc-getBUILD_CC) \
+	LD=$(tc-getBUILD_LD) \
+	econf --host=${CBUILD} "$@"
 }
 
 src_configure() {
+	ECONF_SOURCE=${S}
+
+	if tc-is-cross-compiler ; then
+		pushd ${CBUILD} >/dev/null
+		econf_build --disable-nls --without-{zlib,bzlib,lzma}
+		popd >/dev/null
+	fi
+
+	pushd ${CHOST} >/dev/null
 	econf \
 		$(use_enable nls) \
 		--program-prefix="eu-" \
 		$(use_with zlib) \
 		$(use_with bzip2 bzlib) \
 		$(use_with lzma)
+	popd >/dev/null
+}
+
+src_compile() {
+	if tc-is-cross-compiler ; then
+		pushd ${CBUILD} >/dev/null
+		emake -C lib || die
+		emake -C libcpu || die
+		popd >/dev/null
+		ln ${CBUILD}/libcpu/i386_gendis ${CHOST}/libcpu/ || die
+	fi
+
+	emake -C ${CHOST} || die
 }
 
 src_test() {
@@ -54,6 +87,6 @@
 }
 
 src_install() {
-	emake DESTDIR="${D}" install || die
+	emake -C ${CHOST} DESTDIR="${D}" install || die
 	dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
 }






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-libs/elfutils: ChangeLog elfutils-0.152-r1.ebuild
@ 2011-10-20  9:47 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 4+ messages in thread
From: Diego Petteno (flameeyes) @ 2011-10-20  9:47 UTC (permalink / raw
  To: gentoo-commits

flameeyes    11/10/20 09:47:24

  Modified:             ChangeLog elfutils-0.152-r1.ebuild
  Log:
  QA: fix src_test after recent cross-compile changes.
  
  (Portage version: 2.2.0_alpha69/cvs/Linux x86_64)

Revision  Changes    Path
1.156                dev-libs/elfutils/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.156&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.156&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?r1=1.155&r2=1.156

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -r1.155 -r1.156
--- ChangeLog	13 Oct 2011 22:40:08 -0000	1.155
+++ ChangeLog	20 Oct 2011 09:47:24 -0000	1.156
@@ -1,6 +1,10 @@
 # ChangeLog for dev-libs/elfutils
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.155 2011/10/13 22:40:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.156 2011/10/20 09:47:24 flameeyes Exp $
+
+  20 Oct 2011; Diego E. Pettenò <flameeyes@gentoo.org>
+  elfutils-0.152-r1.ebuild:
+  QA: fix src_test after recent cross-compile changes.
 
   13 Oct 2011; Mike Frysinger <vapier@gentoo.org> elfutils-0.152-r1.ebuild:
   Add support for cross-compiling.



1.3                  dev-libs/elfutils/elfutils-0.152-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild?r1=1.2&r2=1.3

Index: elfutils-0.152-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- elfutils-0.152-r1.ebuild	13 Oct 2011 22:40:08 -0000	1.2
+++ elfutils-0.152-r1.ebuild	20 Oct 2011 09:47:24 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild,v 1.2 2011/10/13 22:40:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild,v 1.3 2011/10/20 09:47:24 flameeyes Exp $
 
 EAPI="3"
 
@@ -83,7 +83,7 @@
 src_test() {
 	env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
 		LC_ALL="C" \
-		emake -j1 check || die "test failed"
+		emake -C ${CHOST} -j1 check || die "test failed"
 }
 
 src_install() {






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-libs/elfutils: ChangeLog elfutils-0.152-r1.ebuild
@ 2011-10-31 22:23 Mike Frysinger (vapier)
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger (vapier) @ 2011-10-31 22:23 UTC (permalink / raw
  To: gentoo-commits

vapier      11/10/31 22:23:02

  Modified:             ChangeLog elfutils-0.152-r1.ebuild
  Log:
  Tweak dis.h dependency so we don't regenerate the i386_gendis helper binary.
  
  (Portage version: 2.2.0_alpha71/cvs/Linux x86_64)

Revision  Changes    Path
1.157                dev-libs/elfutils/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.157&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.157&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?r1=1.156&r2=1.157

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -r1.156 -r1.157
--- ChangeLog	20 Oct 2011 09:47:24 -0000	1.156
+++ ChangeLog	31 Oct 2011 22:23:02 -0000	1.157
@@ -1,6 +1,9 @@
 # ChangeLog for dev-libs/elfutils
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.156 2011/10/20 09:47:24 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.157 2011/10/31 22:23:02 vapier Exp $
+
+  31 Oct 2011; Mike Frysinger <vapier@gentoo.org> elfutils-0.152-r1.ebuild:
+  Tweak dis.h dependency so we don't regenerate the i386_gendis helper binary.
 
   20 Oct 2011; Diego E. Pettenò <flameeyes@gentoo.org>
   elfutils-0.152-r1.ebuild:



1.4                  dev-libs/elfutils/elfutils-0.152-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild?r1=1.3&r2=1.4

Index: elfutils-0.152-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- elfutils-0.152-r1.ebuild	20 Oct 2011 09:47:24 -0000	1.3
+++ elfutils-0.152-r1.ebuild	31 Oct 2011 22:23:02 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild,v 1.3 2011/10/20 09:47:24 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.152-r1.ebuild,v 1.4 2011/10/31 22:23:02 vapier Exp $
 
 EAPI="3"
 
@@ -75,6 +75,7 @@
 		emake -C libcpu || die
 		popd >/dev/null
 		ln ${CBUILD}/libcpu/i386_gendis ${CHOST}/libcpu/ || die
+		sed -i -e '/^%_dis.h: %_defs/s: i386_gendis::' ${CHOST}/libcpu/Makefile || die
 	fi
 
 	emake -C ${CHOST} || die






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-31 22:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-20  9:47 [gentoo-commits] gentoo-x86 commit in dev-libs/elfutils: ChangeLog elfutils-0.152-r1.ebuild Diego Petteno (flameeyes)
  -- strict thread matches above, loose matches on Subject: below --
2011-10-31 22:23 Mike Frysinger (vapier)
2011-10-13 22:40 Mike Frysinger (vapier)
2011-10-05  2:28 Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox