diff options
Diffstat (limited to 'sys-fs/e2fsprogs/files/e2fsprogs-1.36-makefile.patch')
-rw-r--r-- | sys-fs/e2fsprogs/files/e2fsprogs-1.36-makefile.patch | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/sys-fs/e2fsprogs/files/e2fsprogs-1.36-makefile.patch b/sys-fs/e2fsprogs/files/e2fsprogs-1.36-makefile.patch new file mode 100644 index 000000000000..02ecca735813 --- /dev/null +++ b/sys-fs/e2fsprogs/files/e2fsprogs-1.36-makefile.patch @@ -0,0 +1,75 @@ +Make sure headers are installed. +Also fix the symlinks that submakefiles create so that they don't suck at life. + +--- e2fsprogs-1.36/Makefile.in ++++ e2fsprogs-1.36/Makefile.in +@@ -48,3 +48,3 @@ + install-shlibs-libs-recursive install-doc-libs +- if test ! -d e2fsck && test ! -d debugfs && test ! -d misc && test ! -d ext2ed ; then $(MAKE) install-libs ; fi ++ $(MAKE) install-libs + +--- e2fsprogs-1.36/e2fsck/Makefile.in ++++ e2fsprogs-1.36/e2fsck/Makefile.in +@@ -163,6 +163,6 @@ + @echo " LINK $(root_sbindir)/fsck.ext2" +- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \ ++ @$(LN_S) -f e2fsck \ + $(DESTDIR)$(root_sbindir)/fsck.ext2 + @echo " LINK $(root_sbindir)/fsck.ext3" +- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \ ++ @$(LN_S) -f e2fsck \ + $(DESTDIR)$(root_sbindir)/fsck.ext3 +@@ -176,6 +176,6 @@ + @echo " LINK $(man8dir)/fsck.ext2.8" +- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \ ++ @$(LN_S) -f e2fsck.8 \ + $(DESTDIR)$(man8dir)/fsck.ext2.8 + @echo " LINK $(man8dir)/fsck.ext3.8" +- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \ ++ @$(LN_S) -f e2fsck.8 \ + $(DESTDIR)$(man8dir)/fsck.ext3.8 +--- e2fsprogs-1.36/misc/Makefile.in ++++ e2fsprogs-1.36/misc/Makefile.in +@@ -228,12 +228,12 @@ + @echo " LINK $(root_sbindir)/mkfs.ext2" +- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \ ++ @$(LN_S) -f mke2fs \ + $(DESTDIR)$(root_sbindir)/mkfs.ext2 + @echo " LINK $(root_sbindir)/mkfs.ext3" +- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \ ++ @$(LN_S) -f mke2fs \ + $(DESTDIR)$(root_sbindir)/mkfs.ext3 + @echo " LINK $(root_sbindir)/e2label" +- @$(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \ ++ @$(LN_S) -f tune2fs \ + $(DESTDIR)$(root_sbindir)/e2label + @echo " LINK $(root_sbindir)/findfs" +- @$(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \ ++ @$(LN_S) -f tune2fs \ + $(DESTDIR)$(root_sbindir)/findfs +@@ -257,6 +257,6 @@ + @echo " LINK mkfs.ext2.8" +- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \ ++ @$(LN_S) -f mke2fs.8 \ + $(DESTDIR)$(man8dir)/mkfs.ext2.8 + @echo " LINK mkfs.ext3.8" +- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \ ++ @$(LN_S) -f mke2fs.8 \ + $(DESTDIR)$(man8dir)/mkfs.ext3.8 +--- e2fsprogs-1.36/lib/uuid/Makefile.in ++++ e2fsprogs-1.36/lib/uuid/Makefile.in +@@ -148,5 +148,5 @@ + @echo " LINK $(man3dir)/uuid_generate_random.3" +- @$(LN) -f $(DESTDIR)$(man3dir)/uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_random.3 ++ @$(LN_S) -f uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_random.3 + @echo " LINK $(man3dir)/uuid_generate_time.3" +- @$(LN) -f $(DESTDIR)$(man3dir)/uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_time.3 ++ @$(LN_S) -f uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_time.3 + @echo " INSTALL_DATA $(libdir)/pkgconfig/uuid.pc" +--- e2fsprogs-1.36/lib/Makefile.elf-lib ++++ e2fsprogs-1.36/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 |