diff options
author | Joel Martin <kanaka@gentoo.org> | 2007-06-20 04:17:29 +0000 |
---|---|---|
committer | Joel Martin <kanaka@gentoo.org> | 2007-06-20 04:17:29 +0000 |
commit | a103373a4b5c7d5862f9fc3d4b1fd7da9c5a2e66 (patch) | |
tree | a4dc73edfca4f3b03febb95c8ff00fc4a6aff0e1 /dev-libs | |
parent | add up-to-date gnash cvs ebuild (diff) | |
download | gentoo-2-a103373a4b5c7d5862f9fc3d4b1fd7da9c5a2e66.tar.gz gentoo-2-a103373a4b5c7d5862f9fc3d4b1fd7da9c5a2e66.tar.bz2 gentoo-2-a103373a4b5c7d5862f9fc3d4b1fd7da9c5a2e66.zip |
Paraellel make fixes still needed during install phase. installdirs needs to be prereq of all targets that are installing files.
(Portage version: 2.1.1)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libelf/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/libelf/files/libelf-0.8.9-parallelmakefix.patch | 29 | ||||
-rw-r--r-- | dev-libs/libelf/libelf-0.8.9.ebuild | 7 |
3 files changed, 40 insertions, 2 deletions
diff --git a/dev-libs/libelf/ChangeLog b/dev-libs/libelf/ChangeLog index f4334834678d..f457b0cd7db1 100644 --- a/dev-libs/libelf/ChangeLog +++ b/dev-libs/libelf/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/libelf # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libelf/ChangeLog,v 1.18 2007/06/17 21:02:30 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libelf/ChangeLog,v 1.19 2007/06/20 04:17:29 kanaka Exp $ + + 20 Jun 2007; Joel Martin <kanaka@gentoo.org> + +files/libelf-0.8.9-parallelmakefix.patch, libelf-0.8.9.ebuild: + Apply new parallel patch to 0.8.9 *libelf-0.8.9 (17 Jun 2007) diff --git a/dev-libs/libelf/files/libelf-0.8.9-parallelmakefix.patch b/dev-libs/libelf/files/libelf-0.8.9-parallelmakefix.patch new file mode 100644 index 000000000000..aae82d1b375f --- /dev/null +++ b/dev-libs/libelf/files/libelf-0.8.9-parallelmakefix.patch @@ -0,0 +1,29 @@ +--- libelf-0.8.9/lib/Makefile.in.orig 2007-06-20 00:09:41.876160240 -0400 ++++ libelf-0.8.9/lib/Makefile.in 2007-06-20 00:10:13.601337280 -0400 +@@ -174,7 +174,7 @@ installdirs: $(top_srcdir)/mkinstalldirs + $(SHELL) $(top_srcdir)/mkinstalldirs $(instroot)$$dir; \ + done + +-install-data: ++install-data: installdirs + $(INSTALL_DATA) libelf.a $(instroot)$(libdir) + -cd $(instroot)$(libdir) && $(RANLIB) libelf.a + files="$(HDRS) $(AUXHDRS) elf_repl.h"; for file in $$files; do \ +@@ -194,7 +194,7 @@ uninstall-data: + + install-shared-yes: install-shared + install-shared-no: +-install-shared: $(SHLIB) ++install-shared: installdirs $(SHLIB) + $(INSTALL_SHLIB) $(SHLIB) $(instroot)$(libdir) + if test "$(SONAME)" = "$(SHLIB)"; then true; else \ + cd $(instroot)$(libdir) && $(RM) $(SONAME) && $(LN_S) $(SHLIB) $(SONAME); \ +@@ -210,7 +210,7 @@ uninstall-shared: + + install-compat-yes: install-compat + install-compat-no: +-install-compat: ++install-compat: installdirs + files="$(HDRS)"; for file in $$files; do \ + if test -f $(instroot)$(includedir)/$$file; then true; else \ + echo "#include <libelf/$$file>" > $(instroot)$(includedir)/$$file; \ diff --git a/dev-libs/libelf/libelf-0.8.9.ebuild b/dev-libs/libelf/libelf-0.8.9.ebuild index 3f62f667f4ea..6e5daad4f144 100644 --- a/dev-libs/libelf/libelf-0.8.9.ebuild +++ b/dev-libs/libelf/libelf-0.8.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libelf/libelf-0.8.9.ebuild,v 1.1 2007/06/17 21:02:30 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libelf/libelf-0.8.9.ebuild,v 1.2 2007/06/20 04:17:29 kanaka Exp $ inherit multilib eutils @@ -17,6 +17,11 @@ DEPEND="!dev-libs/elfutils nls? ( sys-devel/gettext )" RDEPEND="${DEPEND}" +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-parallelmakefix.patch +} + src_compile() { econf \ $(use_enable nls) \ |