summaryrefslogtreecommitdiff
path: root/package/dosfstools/patches/patch-Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-05 13:56:09 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-05 15:52:21 +0200
commitd944fa88674123f429a06dca7ff588abf52671be (patch)
tree20287793a79f7899804b26132ca31319ca3de102 /package/dosfstools/patches/patch-Makefile
parent4d15e451c95220f682e262d125ef3fba38ac44ed (diff)
disable manpage and docs, fixes Darwin cross-compile
Diffstat (limited to 'package/dosfstools/patches/patch-Makefile')
-rw-r--r--package/dosfstools/patches/patch-Makefile20
1 files changed, 19 insertions, 1 deletions
diff --git a/package/dosfstools/patches/patch-Makefile b/package/dosfstools/patches/patch-Makefile
index 1d127acbc..984244502 100644
--- a/package/dosfstools/patches/patch-Makefile
+++ b/package/dosfstools/patches/patch-Makefile
@@ -1,5 +1,5 @@
--- dosfstools-3.0.26.orig/Makefile 2014-01-17 07:09:28.000000000 +0100
-+++ dosfstools-3.0.26/Makefile 2014-03-13 08:58:52.000000000 +0100
++++ dosfstools-3.0.26/Makefile 2014-05-05 13:38:09.000000000 +0200
@@ -32,7 +32,9 @@ OPTFLAGS = -O2 -fomit-frame-pointer -D_G
#WARNFLAGS = -Wall -pedantic -std=c99
WARNFLAGS = -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Wmissing-prototypes -Wstrict-prototypes
@@ -11,3 +11,21 @@
VPATH = src
+@@ -48,7 +50,7 @@ mkfs.fat: mkfs.fat.o
+
+ rebuild: distclean build
+
+-install: install-bin install-doc install-man install-symlinks
++install: install-bin install-symlinks
+
+ install-bin: build
+ install -d -m 0755 $(DESTDIR)/$(SBINDIR)
+@@ -73,7 +75,7 @@ install-man:
+ install -D -m 0644 $${MANPAGE} $(DESTDIR)/$(MANDIR)/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \
+ done; \
+ done
+-install-symlinks: install-bin install-man
++install-symlinks: install-bin
+ if [ -e $(DESTDIR)/$(SBINDIR)/fatlabel ]; \
+ then \
+ ln -sf fatlabel $(DESTDIR)/$(SBINDIR)/dosfslabel; \