* [gentoo-commits] gentoo-x86 commit in dev-libs/libelf/files: libelf-0.8.13-build.patch
@ 2010-11-18 17:50 Diego Petteno (flameeyes)
0 siblings, 0 replies; 2+ messages in thread
From: Diego Petteno (flameeyes) @ 2010-11-18 17:50 UTC (permalink / raw
To: gentoo-commits
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 pass properly. Also fix bug #347059, and make the package cross-compilable.
(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/files/libelf-0.8.13-build.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libelf/files/libelf-0.8.13-build.patch?rev=1.1&content-type=text/plain
Index: libelf-0.8.13-build.patch
===================================================================
Index: libelf-0.8.13/aclocal.m4
===================================================================
--- 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" = yes; then
mr_TARGET_ELF
if test "$mr_cv_target_elf" = yes; then
Index: libelf-0.8.13/lib/Makefile.in
===================================================================
--- libelf-0.8.13.orig/lib/Makefile.in
+++ libelf-0.8.13/lib/Makefile.in
@@ -158,7 +158,7 @@ libelf.a: $(OBJS) $(LIBOBJS)
$(SHLIB): libelf.a
@$(RM) $(SHLIB)
- $(LINK_SHLIB) -o $(SHLIB) $(OBJS:.o=.os) $(LIBOBJS:.o=.os) $(DEPSHLIBS)
+ $(LINK_SHLIB) $(LDFLAGS) -o $(SHLIB) $(OBJS:.o=.os) $(LIBOBJS:.o=.os) $(DEPSHLIBS)
if test "$(SONAME)" = "$(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)
-installdirs: $(top_srcdir)/mkinstalldirs
+installdirs:
dirs="$(installdirs)"; for dir in $$dirs; do \
- $(SHELL) $(top_srcdir)/mkinstalldirs $(instroot)$$dir; \
+ mkdir -p $(instroot)$$dir; \
done
install-data: all installdirs
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-libs/libelf/files: libelf-0.8.13-build.patch
@ 2012-05-05 18:22 Fabian Groffen (grobian)
0 siblings, 0 replies; 2+ messages in thread
From: Fabian Groffen (grobian) @ 2012-05-05 18:22 UTC (permalink / raw
To: gentoo-commits
grobian 12/05/05 18:22:24
Modified: libelf-0.8.13-build.patch
Log:
Fixed for Prefix, keyworded for *-solaris
(Portage version: 2.2.01.20366-prefix/cvs/SunOS i386)
Revision Changes Path
1.2 dev-libs/libelf/files/libelf-0.8.13-build.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libelf/files/libelf-0.8.13-build.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libelf/files/libelf-0.8.13-build.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libelf/files/libelf-0.8.13-build.patch?r1=1.1&r2=1.2
Index: libelf-0.8.13-build.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libelf/files/libelf-0.8.13-build.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libelf-0.8.13-build.patch 18 Nov 2010 17:50:14 -0000 1.1
+++ libelf-0.8.13-build.patch 5 May 2012 18:22:24 -0000 1.2
@@ -7,7 +7,7 @@
AC_PATH_PROG(LD, ld, ld)
case "$host" in
- *-linux*|*-gnu*)
-+ *-linux*|*-gnu*|*-freebsd*)
++ *-linux*|*-gnu*|*-freebsd*|*-solaris*)
if test "$GCC" = yes; then
mr_TARGET_ELF
if test "$mr_cv_target_elf" = yes; then
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-05 18:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-18 17:50 [gentoo-commits] gentoo-x86 commit in dev-libs/libelf/files: libelf-0.8.13-build.patch Diego Petteno (flameeyes)
-- strict thread matches above, loose matches on Subject: below --
2012-05-05 18:22 Fabian Groffen (grobian)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox