diff options
-rw-r--r-- | sys-libs/com_err/ChangeLog | 6 | ||||
-rw-r--r-- | sys-libs/com_err/files/com_err-1.37-makefile.patch | 11 | ||||
-rw-r--r-- | sys-libs/ss/ChangeLog | 6 | ||||
-rw-r--r-- | sys-libs/ss/files/ss-1.37-makefile.patch | 42 |
4 files changed, 61 insertions, 4 deletions
diff --git a/sys-libs/com_err/ChangeLog b/sys-libs/com_err/ChangeLog index a3d8a34d65fa..54b1b48d1b11 100644 --- a/sys-libs/com_err/ChangeLog +++ b/sys-libs/com_err/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-libs/com_err # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/ChangeLog,v 1.18 2005/08/03 03:13:32 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/ChangeLog,v 1.19 2005/08/11 03:26:22 vapier Exp $ + + 11 Aug 2005; Mike Frysinger <vapier@gentoo.org> + files/com_err-1.37-makefile.patch: + Clean up cross-compile support. 03 Aug 2005; Mike Frysinger <vapier@gentoo.org> com_err-1.38.ebuild: Use bsd-shlibs on Darwin but elf-shlibs on all other systems #99728 by Kito. diff --git a/sys-libs/com_err/files/com_err-1.37-makefile.patch b/sys-libs/com_err/files/com_err-1.37-makefile.patch index 57dcee4a20b2..b60ea5a37677 100644 --- a/sys-libs/com_err/files/com_err-1.37-makefile.patch +++ b/sys-libs/com_err/files/com_err-1.37-makefile.patch @@ -34,3 +34,14 @@ Don't use target LDFLAGS/CFLAGS when compiling native apps. gen-tarball: $(srcdir)/gen-tarball.in $(top_builddir)/config.status @echo " CONFIG.STATUS $@" +--- lib/Makefile.elf-lib ++++ lib/Makefile.elf-lib +@@ -26,7 +26,7 @@ + + $(ELF_LIB): $(OBJS) + @echo " GEN_ELF_SOLIB $(ELF_LIB)" +- @(cd elfshared; $(CC) --shared -o $(ELF_LIB) \ ++ @(cd elfshared; $(CC) --shared -o $(ELF_LIB) $(LDFLAGS) \ + -Wl,-soname,$(ELF_SONAME) $(OBJS) $(ELF_OTHER_LIBS)) + @$(MV) elfshared/$(ELF_LIB) . + @$(RM) -f ../$(ELF_LIB) ../$(ELF_IMAGE).so ../$(ELF_SONAME) diff --git a/sys-libs/ss/ChangeLog b/sys-libs/ss/ChangeLog index 156bf97f9d64..fff21db83c98 100644 --- a/sys-libs/ss/ChangeLog +++ b/sys-libs/ss/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-libs/ss # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/ss/ChangeLog,v 1.16 2005/08/03 03:14:01 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/ss/ChangeLog,v 1.17 2005/08/11 03:30:47 vapier Exp $ + + 11 Aug 2005; Mike Frysinger <vapier@gentoo.org> + files/ss-1.37-makefile.patch: + Clean up cross-compile support. 03 Aug 2005; Mike Frysinger <vapier@gentoo.org> ss-1.38.ebuild: Use bsd-shlibs on Darwin but elf-shlibs on all other systems #99728 by Kito. diff --git a/sys-libs/ss/files/ss-1.37-makefile.patch b/sys-libs/ss/files/ss-1.37-makefile.patch index f6322fea403d..b60ea5a37677 100644 --- a/sys-libs/ss/files/ss-1.37-makefile.patch +++ b/sys-libs/ss/files/ss-1.37-makefile.patch @@ -1,9 +1,47 @@ Fix the symlinks that submakefiles create so that they don't suck at life. ---- e2fsprogs-1.37/lib/Makefile.elf-lib -+++ e2fsprogs-1.37/lib/Makefile.elf-lib +Don't use target LDFLAGS/CFLAGS when compiling native apps. + +--- lib/Makefile.elf-lib ++++ lib/Makefile.elf-lib @@ -49,3 +49,3 @@ @echo " SYMLINK $(libdir)/$(ELF_IMAGE).so" - @$(LN_S) -f $(ELF_INSTALL_DIR)/$(ELF_SONAME) \ + @$(LN_S) -f $(ELF_SONAME) \ $(DESTDIR)$(libdir)/$(ELF_IMAGE).so +--- util/Makefile.in ++++ util/Makefile.in +@@ -15,7 +15,7 @@ + + .c.o: + @echo " CC $<" +- @$(BUILD_CC) -c $(ALL_CFLAGS) $< -o $@ ++ @$(BUILD_CC) -c $(DEFS) $< -o $@ + + PROGS= subst + +@@ -23,11 +23,11 @@ + + subst: subst.o + @echo " LD $@" +- @$(BUILD_CC) $(ALL_LDFLAGS) -o subst subst.o ++ @$(BUILD_CC) -o subst subst.o + + copy_sparse: copy_sparse.o + @echo " LD $@" +- @$(BUILD_CC) $(ALL_LDFLAGS) -o copy_sparse copy_sparse.o ++ @$(BUILD_CC) -o copy_sparse copy_sparse.o + + gen-tarball: $(srcdir)/gen-tarball.in $(top_builddir)/config.status + @echo " CONFIG.STATUS $@" +--- lib/Makefile.elf-lib ++++ lib/Makefile.elf-lib +@@ -26,7 +26,7 @@ + + $(ELF_LIB): $(OBJS) + @echo " GEN_ELF_SOLIB $(ELF_LIB)" +- @(cd elfshared; $(CC) --shared -o $(ELF_LIB) \ ++ @(cd elfshared; $(CC) --shared -o $(ELF_LIB) $(LDFLAGS) \ + -Wl,-soname,$(ELF_SONAME) $(OBJS) $(ELF_OTHER_LIBS)) + @$(MV) elfshared/$(ELF_LIB) . + @$(RM) -f ../$(ELF_LIB) ../$(ELF_IMAGE).so ../$(ELF_SONAME) |