[PATCHv2 xfsprogs 10/14] Makefile: disable fsr for Mac OS X

Felix Janda
2016-08-13T17:25:53Z

Since its kernel does not support XFS anyway this utility is not
useful, and with its removal the portability framework can be
simplified.

Signed-off-by: Felix Janda <felix.janda@posteo.de>
---
Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 7bdc670..84dc62c 100644
--- a/Makefile
+++ b/Makefile
@@ -45,9 +45,13 @@ HDR_SUBDIRS = include libxfs

DLIB_SUBDIRS = libxlog libxcmd libhandle
LIB_SUBDIRS = libxfs $(DLIB_SUBDIRS)
-TOOL_SUBDIRS = copy db estimate fsck fsr growfs io logprint mkfs quota \
+TOOL_SUBDIRS = copy db estimate fsck growfs io logprint mkfs quota \
mdrestore repair rtcp m4 man doc debian

+ifneq ("$(PKG_PLATFORM)","darwin")
+TOOL_SUBDIRS += fsr
+endif
+
ifneq ("$(XGETTEXT)","")
TOOL_SUBDIRS += po
endif
--
2.7.3