summaryrefslogtreecommitdiff
path: root/recipes/e2fsprogs/e2fsprogs-1.38
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/e2fsprogs/e2fsprogs-1.38
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/e2fsprogs/e2fsprogs-1.38')
-rw-r--r--recipes/e2fsprogs/e2fsprogs-1.38/mkinstalldirs.patch273
-rw-r--r--recipes/e2fsprogs/e2fsprogs-1.38/no-hardlinks.patch82
2 files changed, 355 insertions, 0 deletions
diff --git a/recipes/e2fsprogs/e2fsprogs-1.38/mkinstalldirs.patch b/recipes/e2fsprogs/e2fsprogs-1.38/mkinstalldirs.patch
new file mode 100644
index 0000000000..d1dbd07341
--- /dev/null
+++ b/recipes/e2fsprogs/e2fsprogs-1.38/mkinstalldirs.patch
@@ -0,0 +1,273 @@
+This patch is based on the following:
+
+http://cvs.fedora.redhat.com/viewvc/rpms/e2fsprogs/F-7/e2fsprogs-1.39-mkinstalldirs.patch
+
+diff -urN e2fsprogs-1.38.orig/configure.in e2fsprogs-1.38/configure.in
+--- e2fsprogs-1.38.orig/configure.in 2005-04-06 20:44:15.000000000 +0200
++++ e2fsprogs-1.38/configure.in 2008-10-16 23:44:10.000000000 +0200
+@@ -518,6 +518,7 @@
+ AC_CHECK_TOOL(RANLIB, ranlib, :)
+ AC_CHECK_TOOL(STRIP, strip, :)
+ AC_PROG_INSTALL
++AC_PROG_MKDIR_P
+ # See if we need a separate native compiler.
+ if test $cross_compiling = no; then
+ BUILD_CC="$CC"
+diff -urN e2fsprogs-1.38.orig/debugfs/Makefile.in e2fsprogs-1.38/debugfs/Makefile.in
+--- e2fsprogs-1.38.orig/debugfs/Makefile.in 2005-06-29 19:42:20.000000000 +0200
++++ e2fsprogs-1.38/debugfs/Makefile.in 2008-10-16 23:44:10.000000000 +0200
+@@ -48,8 +48,8 @@
+ @$(SUBSTITUTE_UPTIME) $(srcdir)/debugfs.8.in debugfs.8
+
+ installdirs:
+- @echo " MKINSTALLDIRS $(root_sbindir) $(man8dir)"
+- @$(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
++ @echo " MKDIR_P $(root_sbindir) $(man8dir)"
++ @$(MKDIR_P) $(DESTDIR)$(root_sbindir) \
+ $(DESTDIR)$(man8dir)
+
+ install: $(PROGS) $(MANPAGES) installdirs
+diff -urN e2fsprogs-1.38.orig/doc/Makefile.in e2fsprogs-1.38/doc/Makefile.in
+--- e2fsprogs-1.38.orig/doc/Makefile.in 2005-06-29 19:42:20.000000000 +0200
++++ e2fsprogs-1.38/doc/Makefile.in 2008-10-16 23:44:10.000000000 +0200
+@@ -20,8 +20,8 @@
+
+ install-doc-libs:
+ @$(RM) -rf $(DESTDIR)$(infodir)/libext2fs.info*
+- @echo " MKINSTALLDIRS $(infodir)"
+- @$(MKINSTALLDIRS) $(DESTDIR)$(infodir)
++ @echo " MKDIR_P $(infodir)"
++ @$(MKDIR_P) $(DESTDIR)$(infodir)
+ @for i in libext2fs.info* ; do \
+ echo " INSTALL_DATA $(infodir)/$$i" ; \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i ; \
+diff -urN e2fsprogs-1.38.orig/e2fsck/Makefile.in e2fsprogs-1.38/e2fsck/Makefile.in
+--- e2fsprogs-1.38.orig/e2fsck/Makefile.in 2005-06-29 19:42:20.000000000 +0200
++++ e2fsprogs-1.38/e2fsck/Makefile.in 2008-10-16 23:44:55.000000000 +0200
+@@ -151,8 +151,8 @@
+ @$(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.8.in e2fsck.8
+
+ installdirs:
+- @echo " MKINSTALLDIRS $(root_sbindir) $(man8dir)"
+- @$(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
++ @echo " MKDIR_P $(root_sbindir) $(man8dir)"
++ @$(MKDIR_P) $(DESTDIR)$(root_sbindir) \
+ $(DESTDIR)$(man8dir)
+
+ install: $(PROGS) $(MANPAGES) installdirs
+diff -urN e2fsprogs-1.38.orig/intl/Makefile.in e2fsprogs-1.38/intl/Makefile.in
+--- e2fsprogs-1.38.orig/intl/Makefile.in 2005-06-29 19:42:20.000000000 +0200
++++ e2fsprogs-1.38/intl/Makefile.in 2008-10-16 23:44:10.000000000 +0200
+@@ -39,8 +39,8 @@
+
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+-MKINSTALLDIRS = @MKINSTALLDIRS@
+-mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
++MKDIR_P = @MKDIR_P@
++mkdir_p = @MKDIR_P@
+
+ l = @INTL_LIBTOOL_SUFFIX_PREFIX@
+
+diff -urN e2fsprogs-1.38.orig/lib/blkid/Makefile.in e2fsprogs-1.38/lib/blkid/Makefile.in
+--- e2fsprogs-1.38.orig/lib/blkid/Makefile.in 2005-06-29 19:39:54.000000000 +0200
++++ e2fsprogs-1.38/lib/blkid/Makefile.in 2008-10-16 23:45:16.000000000 +0200
+@@ -129,8 +129,8 @@
+ @cd $(top_builddir); CONFIG_FILES=lib/blkid/blkid.pc ./config.status
+
+ installdirs::
+- @echo " MKINSTALLDIRS $(libdir) $(includedir)/blkid"
+- @$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
++ @echo " MKDIR_P $(libdir) $(includedir)/blkid"
++ @$(MKDIR_P) $(DESTDIR)$(libdir) \
+ $(DESTDIR)$(includedir)/blkid $(DESTDIR)$(libdir)/pkgconfig
+
+ install:: all installdirs
+diff -urN e2fsprogs-1.38.orig/lib/e2p/Makefile.in e2fsprogs-1.38/lib/e2p/Makefile.in
+--- e2fsprogs-1.38.orig/lib/e2p/Makefile.in 2005-06-29 19:42:20.000000000 +0200
++++ e2fsprogs-1.38/lib/e2p/Makefile.in 2008-10-16 23:44:10.000000000 +0200
+@@ -73,8 +73,8 @@
+ ./tst_ostype
+
+ installdirs::
+- @echo " MKINSTALLDIRS $(libdir) $(includedir)/e2p"
+- @$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
++ @echo " MKDIR_P $(libdir) $(includedir)/e2p"
++ @$(MKDIR_P) $(DESTDIR)$(libdir) \
+ $(DESTDIR)$(includedir)/e2p $(DESTDIR)$(libdir)/pkgconfig
+
+ install:: all installdirs
+diff -urN e2fsprogs-1.38.orig/lib/et/Makefile.in e2fsprogs-1.38/lib/et/Makefile.in
+--- e2fsprogs-1.38.orig/lib/et/Makefile.in 2005-06-29 19:42:20.000000000 +0200
++++ e2fsprogs-1.38/lib/et/Makefile.in 2008-10-16 23:44:10.000000000 +0200
+@@ -74,8 +74,8 @@
+ $(TAGS) $(SRCS)
+
+ installdirs::
+- @echo " MKINSTALLDIRS $(libdir) $(includedir)/et $(datadir)/et $(bindir) $(man1dir) $(man3dir)"
+- @$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
++ @echo " MKDIR_P $(libdir) $(includedir)/et $(datadir)/et $(bindir) $(man1dir) $(man3dir)"
++ @$(MKDIR_P) $(DESTDIR)$(libdir) \
+ $(DESTDIR)$(includedir)/et $(DESTDIR)$(datadir)/et \
+ $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) \
+ $(DESTDIR)$(man3dir) $(DESTDIR)$(libdir)/pkgconfig
+diff -urN e2fsprogs-1.38.orig/lib/ext2fs/Makefile.in e2fsprogs-1.38/lib/ext2fs/Makefile.in
+--- e2fsprogs-1.38.orig/lib/ext2fs/Makefile.in 2005-06-29 19:42:20.000000000 +0200
++++ e2fsprogs-1.38/lib/ext2fs/Makefile.in 2008-10-16 23:44:10.000000000 +0200
+@@ -230,8 +230,8 @@
+ @SWAPFS_CMT@ LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_byteswap
+
+ installdirs::
+- @echo " MKINSTALLDIRS $(libdir) $(includedir)/ext2fs"
+- @$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
++ @echo " MKDIR_P $(libdir) $(includedir)/ext2fs"
++ @$(MKDIR_P) $(DESTDIR)$(libdir) \
+ $(DESTDIR)$(includedir)/ext2fs $(DESTDIR)$(libdir)/pkgconfig
+
+ install:: all $(HFILES) $(HFILES_IN) installdirs ext2fs.pc
+diff -urN e2fsprogs-1.38.orig/lib/Makefile.elf-lib e2fsprogs-1.38/lib/Makefile.elf-lib
+--- e2fsprogs-1.38.orig/lib/Makefile.elf-lib 2004-12-15 17:30:39.000000000 +0100
++++ e2fsprogs-1.38/lib/Makefile.elf-lib 2008-10-16 23:44:10.000000000 +0200
+@@ -35,8 +35,8 @@
+ @$(LN) ../$(ELF_LIB) ../$(ELF_SONAME)
+
+ installdirs-elf-lib::
+- @echo " MKINSTALLDIRS $(ELF_INSTALL_DIR) $(libdir)"
+- @$(MKINSTALLDIRS) $(DESTDIR)$(ELF_INSTALL_DIR) \
++ @echo " MKDIR_P $(ELF_INSTALL_DIR) $(libdir)"
++ @$(MKDIR_P) $(DESTDIR)$(ELF_INSTALL_DIR) \
+ $(DESTDIR)$(libdir)
+
+ installdirs:: installdirs-elf-lib
+diff -urN e2fsprogs-1.38.orig/lib/ss/Makefile.in e2fsprogs-1.38/lib/ss/Makefile.in
+--- e2fsprogs-1.38.orig/lib/ss/Makefile.in 2005-06-29 19:42:20.000000000 +0200
++++ e2fsprogs-1.38/lib/ss/Makefile.in 2008-10-16 23:44:10.000000000 +0200
+@@ -125,8 +125,8 @@
+ @cd $(top_builddir); CONFIG_FILES=lib/ss/ss.pc ./config.status
+
+ installdirs::
+- @echo " MKINSTALLDIRS $(libdir) $(includedir)/ss $(datadir)/ss $(bindir)"
+- @$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
++ @echo " MKDIR_P $(libdir) $(includedir)/ss $(datadir)/ss $(bindir)"
++ @$(MKDIR_P) $(DESTDIR)$(libdir) \
+ $(DESTDIR)$(includedir)/ss $(DESTDIR)$(datadir)/ss \
+ $(DESTDIR)$(bindir) $(DESTDIR)$(libdir)/pkgconfig
+
+diff -urN e2fsprogs-1.38.orig/lib/uuid/Makefile.in e2fsprogs-1.38/lib/uuid/Makefile.in
+--- e2fsprogs-1.38.orig/lib/uuid/Makefile.in 2005-06-29 19:42:20.000000000 +0200
++++ e2fsprogs-1.38/lib/uuid/Makefile.in 2008-10-16 23:44:10.000000000 +0200
+@@ -126,8 +126,8 @@
+ @cd $(top_builddir); CONFIG_FILES=lib/uuid/uuid.pc ./config.status
+
+ installdirs::
+- @echo " MKINSTALLDIRS $(libdir) $(includedir)/uuid $(man3dir)"
+- @$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
++ @echo " MKDIR_P $(libdir) $(includedir)/uuid $(man3dir)"
++ @$(MKDIR_P) $(DESTDIR)$(libdir) \
+ $(DESTDIR)$(includedir)/uuid $(DESTDIR)$(man3dir) \
+ $(DESTDIR)$(libdir)/pkgconfig
+
+diff -urN e2fsprogs-1.38.orig/MCONFIG.in e2fsprogs-1.38/MCONFIG.in
+--- e2fsprogs-1.38.orig/MCONFIG.in 2005-02-04 16:43:57.000000000 +0100
++++ e2fsprogs-1.38/MCONFIG.in 2008-10-16 23:44:10.000000000 +0200
+@@ -59,7 +59,7 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-MKINSTALLDIRS = @MKINSTALLDIRS@
++MKDIR_P = @MKDIR_P@
+
+ #
+ # Library definitions
+diff -urN e2fsprogs-1.38.orig/misc/Makefile.in e2fsprogs-1.38/misc/Makefile.in
+--- e2fsprogs-1.38.orig/misc/Makefile.in 2005-06-29 19:42:20.000000000 +0200
++++ e2fsprogs-1.38/misc/Makefile.in 2008-10-16 23:44:10.000000000 +0200
+@@ -215,8 +215,8 @@
+ @$(SUBSTITUTE_UPTIME) $(srcdir)/filefrag.8.in filefrag.8
+
+ installdirs:
+- @echo " MKINSTALLDIRS $(sbindir) $(root_sbindir) $(bindir) $(man1dir) $(man8dir) $(libdir)"
+- @$(MKINSTALLDIRS) $(DESTDIR)$(sbindir) \
++ @echo " MKDIR_P $(sbindir) $(root_sbindir) $(bindir) $(man1dir) $(man8dir) $(libdir)"
++ @$(MKDIR_P) $(DESTDIR)$(sbindir) \
+ $(DESTDIR)$(root_sbindir) $(DESTDIR)$(bindir) \
+ $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir) $(DESTDIR)$(libdir)
+
+diff -urN e2fsprogs-1.38.orig/po/Makefile.in.in e2fsprogs-1.38/po/Makefile.in.in
+--- e2fsprogs-1.38.orig/po/Makefile.in.in 2005-06-29 19:42:20.000000000 +0200
++++ e2fsprogs-1.38/po/Makefile.in.in 2008-10-16 23:44:10.000000000 +0200
+@@ -25,11 +25,10 @@
+ datadir = @datadir@
+ localedir = $(datadir)/locale
+ gettextsrcdir = $(datadir)/gettext/po
++mkdir_p = @MKDIR_P@
+
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+-MKINSTALLDIRS = @MKINSTALLDIRS@
+-mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
+
+ GMSGFMT = @GMSGFMT@
+ MSGFMT = @MSGFMT@
+@@ -147,7 +146,7 @@
+ install-exec:
+ install-data: install-data-@USE_NLS@
+ if test "$(PACKAGE)" = "gettext-tools"; then \
+- $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
++ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
+ for file in $(DISTFILES.common) Makevars.template; do \
+ $(INSTALL_DATA) $(srcdir)/$$file \
+ $(DESTDIR)$(gettextsrcdir)/$$file; \
+@@ -160,13 +159,13 @@
+ fi
+ install-data-no: all
+ install-data-yes: all
+- $(mkinstalldirs) $(DESTDIR)$(datadir)
++ $(mkdir_p) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+- $(mkinstalldirs) $(DESTDIR)$$dir; \
++ $(mkdir_p) $(DESTDIR)$$dir; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
+ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
+@@ -206,19 +205,19 @@
+ installdirs-exec:
+ installdirs-data: installdirs-data-@USE_NLS@
+ if test "$(PACKAGE)" = "gettext-tools"; then \
+- $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
++ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
+ else \
+ : ; \
+ fi
+ installdirs-data-no:
+ installdirs-data-yes:
+- $(mkinstalldirs) $(DESTDIR)$(datadir)
++ $(mkdir_p) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+- $(mkinstalldirs) $(DESTDIR)$$dir; \
++ $(mkdir_p) $(DESTDIR)$$dir; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+diff -urN e2fsprogs-1.38.orig/resize/Makefile.in e2fsprogs-1.38/resize/Makefile.in
+--- e2fsprogs-1.38.orig/resize/Makefile.in 2005-06-29 19:42:20.000000000 +0200
++++ e2fsprogs-1.38/resize/Makefile.in 2008-10-16 23:44:10.000000000 +0200
+@@ -56,8 +56,8 @@
+ @$(CC) $(ALL_LDFLAGS) -o test_extent $(TEST_EXTENT_OBJS) $(LIBS)
+
+ installdirs:
+- @echo " MKINSTALLDIRS $(root_sbindir) $(man8dir)"
+- @$(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
++ @echo " MKDIR_P $(root_sbindir) $(man8dir)"
++ @$(MKDIR_P) $(DESTDIR)$(root_sbindir) \
+ $(DESTDIR)$(man8dir)
+
+ install: $(PROGS) $(MANPAGES) installdirs
diff --git a/recipes/e2fsprogs/e2fsprogs-1.38/no-hardlinks.patch b/recipes/e2fsprogs/e2fsprogs-1.38/no-hardlinks.patch
new file mode 100644
index 0000000000..979f0d1f08
--- /dev/null
+++ b/recipes/e2fsprogs/e2fsprogs-1.38/no-hardlinks.patch
@@ -0,0 +1,82 @@
+--- e2fsprogs-1.38/misc/Makefile.in.orig 2005-11-08 23:56:06.000000000 +0100
++++ e2fsprogs-1.38/misc/Makefile.in 2005-11-08 23:59:15.000000000 +0100
+@@ -230,17 +230,13 @@
+ $(INSTALL_PROGRAM) $$i $(DESTDIR)$(sbindir)/$$i; \
+ done
+ @echo " LINK $(root_sbindir)/mkfs.ext2"
+- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
+- $(DESTDIR)$(root_sbindir)/mkfs.ext2
++ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) -f mke2fs mkfs.ext2)
+ @echo " LINK $(root_sbindir)/mkfs.ext3"
+- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
+- $(DESTDIR)$(root_sbindir)/mkfs.ext3
++ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) -f mke2fs mkfs.ext3)
+ @echo " LINK $(root_sbindir)/e2label"
+- @$(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \
+- $(DESTDIR)$(root_sbindir)/e2label
++ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) -f tune2fs e2label)
+ @echo " LINK $(root_sbindir)/findfs"
+- @$(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \
+- $(DESTDIR)$(root_sbindir)/findfs
++ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) -f tune2fs findfs)
+ @for i in $(UPROGS); do \
+ echo " INSTALL $(bindir)/$$i"; \
+ $(INSTALL_PROGRAM) $$i $(DESTDIR)$(bindir)/$$i; \
+@@ -259,11 +255,9 @@
+ @$(RM) -f $(DESTDIR)$(man8dir)/mkfs.ext2.8.gz \
+ $(DESTDIR)$(man8dir)/mkfs.ext3.8.gz
+ @echo " LINK mkfs.ext2.8"
+- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
+- $(DESTDIR)$(man8dir)/mkfs.ext2.8
++ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f mke2fs.8 mkfs.ext2.8)
+ @echo " LINK mkfs.ext3.8"
+- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
+- $(DESTDIR)$(man8dir)/mkfs.ext3.8
++ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f mke2fs.8 mkfs.ext3.8)
+ @for i in $(UMANPAGES); do \
+ $(RM) -f $(DESTDIR)$(man1dir)/$$i.gz; \
+ echo " INSTALL_DATA $(man1dir)/$$i"; \
+--- e2fsprogs-1.38/lib/uuid/Makefile.in.orig 2005-11-08 23:54:17.000000000 +0100
++++ e2fsprogs-1.38/lib/uuid/Makefile.in 2005-11-08 23:55:51.000000000 +0100
+@@ -146,9 +146,9 @@
+ @$(RM) -f $(DESTDIR)$(man3dir)/uuid_generate_random.3.gz \
+ $(DESTDIR)$(man3dir)/uuid_generate_time.3.gz
+ @echo " LINK $(man3dir)/uuid_generate_random.3"
+- @$(LN) -f $(DESTDIR)$(man3dir)/uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_random.3
++ @(cd $(DESTDIR)$(man3dir) && $(LN_S) -f uuid_generate.3 uuid_generate_random.3)
+ @echo " LINK $(man3dir)/uuid_generate_time.3"
+- @$(LN) -f $(DESTDIR)$(man3dir)/uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_time.3
++ @(cd $(DESTDIR)$(man3dir) && $(LN_S) -f uuid_generate.3 uuid_generate_time.3)
+ @echo " INSTALL_DATA $(libdir)/pkgconfig/uuid.pc"
+ @$(INSTALL_DATA) uuid.pc $(DESTDIR)$(libdir)/pkgconfig/uuid.pc
+
+--- e2fsprogs-1.38/e2fsck/Makefile.in.orig 2005-11-08 23:53:07.000000000 +0100
++++ e2fsprogs-1.38/e2fsck/Makefile.in 2005-11-08 23:53:43.000000000 +0100
+@@ -161,11 +161,9 @@
+ $(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
+ done
+ @echo " LINK $(root_sbindir)/fsck.ext2"
+- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
+- $(DESTDIR)$(root_sbindir)/fsck.ext2
++ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) -f e2fsck fsck.ext2)
+ @echo " LINK $(root_sbindir)/fsck.ext3"
+- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
+- $(DESTDIR)$(root_sbindir)/fsck.ext3
++ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) -f e2fsck fsck.ext3)
+ @for i in $(MANPAGES); do \
+ for j in $(COMPRESS_EXT); do \
+ $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
+@@ -174,11 +172,9 @@
+ $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
+ done
+ @echo " LINK $(man8dir)/fsck.ext2.8"
+- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
+- $(DESTDIR)$(man8dir)/fsck.ext2.8
++ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f e2fsck.8 fsck.ext2.8)
+ @echo " LINK $(man8dir)/fsck.ext3.8"
+- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
+- $(DESTDIR)$(man8dir)/fsck.ext3.8
++ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f e2fsck.8 fsck.ext3.8)
+
+ install-strip: install
+ @for i in $(PROGS); do \