From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PJ8cl-0003R9-C4 for garchives@archives.gentoo.org; Thu, 18 Nov 2010 17:50:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F73CE0838; Thu, 18 Nov 2010 17:50:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D9823E0838 for ; Thu, 18 Nov 2010 17:50:16 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 30AB01B40BD for ; Thu, 18 Nov 2010 17:50:16 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 948) id A1FF72003C; Thu, 18 Nov 2010 17:50:14 +0000 (UTC) From: "Diego Petteno (flameeyes)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, flameeyes@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libelf/files: libelf-0.8.13-build.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: libelf-0.8.13-build.patch X-VCS-Directories: dev-libs/libelf/files X-VCS-Committer: flameeyes X-VCS-Committer-Name: Diego Petteno Content-Type: text/plain; charset=utf8 Message-Id: <20101118175014.A1FF72003C@flycatcher.gentoo.org> Date: Thu, 18 Nov 2010 17:50:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 69848525-7914-4eb9-95ab-d547703c4bf3 X-Archives-Hash: c2f1830c66d742e7d50676e4e9554d3a flameeyes 10/11/18 17:50:14 Added: libelf-0.8.13-build.patch Log: Apply a patch to sanitise build system that actually allows for it to p= ass properly. Also fix bug #347059, and make the package cross-compilable= . =20 (Portage version: 2.2.0_alpha4/cvs/Linux x86_64) Revision Changes Path 1.1 dev-libs/libelf/files/libelf-0.8.13-build.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libelf/fi= les/libelf-0.8.13-build.patch?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libelf/fi= les/libelf-0.8.13-build.patch?rev=3D1.1&content-type=3Dtext/plain Index: libelf-0.8.13-build.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Index: libelf-0.8.13/aclocal.m4 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- libelf-0.8.13.orig/aclocal.m4 +++ libelf-0.8.13/aclocal.m4 @@ -235,7 +235,7 @@ AC_DEFUN(mr_ENABLE_SHARED, [ AC_REQUIRE([AC_PROG_CC]) AC_PATH_PROG(LD, ld, ld) case "$host" in - *-linux*|*-gnu*) + *-linux*|*-gnu*|*-freebsd*) if test "$GCC" =3D yes; then mr_TARGET_ELF if test "$mr_cv_target_elf" =3D yes; then Index: libelf-0.8.13/lib/Makefile.in =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- libelf-0.8.13.orig/lib/Makefile.in +++ libelf-0.8.13/lib/Makefile.in @@ -158,7 +158,7 @@ libelf.a: $(OBJS) $(LIBOBJS) =20 $(SHLIB): libelf.a @$(RM) $(SHLIB) - $(LINK_SHLIB) -o $(SHLIB) $(OBJS:.o=3D.os) $(LIBOBJS:.o=3D.os) $(DEPSHL= IBS) + $(LINK_SHLIB) $(LDFLAGS) -o $(SHLIB) $(OBJS:.o=3D.os) $(LIBOBJS:.o=3D.o= s) $(DEPSHLIBS) if test "$(SONAME)" =3D "$(SHLIB)"; then true; else \ $(RM) $(SONAME) && $(LN_S) $(SHLIB) $(SONAME); \ fi @@ -169,9 +169,9 @@ $(SHLIB): libelf.a install: install-data \ install-shared-$(DO_SHLIB) install-compat-$(DO_COMPAT) =20 -installdirs: $(top_srcdir)/mkinstalldirs +installdirs: dirs=3D"$(installdirs)"; for dir in $$dirs; do \ - $(SHELL) $(top_srcdir)/mkinstalldirs $(instroot)$$dir; \ + mkdir -p $(instroot)$$dir; \ done =20 install-data: all installdirs