69 lines
2.3 KiB
Text
69 lines
2.3 KiB
Text
$NetBSD: patch-Makefile,v 1.2 2017/02/09 18:16:08 scole Exp $
|
|
Add fnm_extmatch.h dependency, use options framework
|
|
|
|
--- Makefile.orig 2014-05-11 11:56:00.000000000 -0700
|
|
+++ Makefile 2017-02-06 12:08:05.000000000 -0800
|
|
@@ -15,7 +15,7 @@
|
|
# Obviously, you must select at least one of the available gzip, lzma, lzo
|
|
# compression types.
|
|
#
|
|
-GZIP_SUPPORT = 1
|
|
+#GZIP_SUPPORT = 1
|
|
|
|
########### Building XZ support #############
|
|
#
|
|
@@ -81,7 +81,7 @@
|
|
# in Mksquashfs. Obviously the compression algorithm must have been
|
|
# selected to be built
|
|
#
|
|
-COMP_DEFAULT = gzip
|
|
+#COMP_DEFAULT = gzip
|
|
|
|
###############################################
|
|
# Extended attribute (XATTRs) build options #
|
|
@@ -92,7 +92,7 @@
|
|
# If your C library or build/target environment doesn't support XATTRs then
|
|
# comment out the next line to build Mksquashfs and Unsquashfs without XATTR
|
|
# support
|
|
-XATTR_SUPPORT = 1
|
|
+#XATTR_SUPPORT = 1
|
|
|
|
# Select whether you wish xattrs to be stored by Mksquashfs and extracted
|
|
# by Unsquashfs by default. If selected users can disable xattr support by
|
|
@@ -100,7 +100,7 @@
|
|
#
|
|
# If unselected, Mksquashfs/Unsquashfs won't store and extract xattrs by
|
|
# default. Users can enable xattrs by using the -xattrs option.
|
|
-XATTR_DEFAULT = 1
|
|
+#XATTR_DEFAULT = 1
|
|
|
|
|
|
###############################################
|
|
@@ -229,7 +229,8 @@
|
|
|
|
mksquashfs.o: Makefile mksquashfs.c squashfs_fs.h squashfs_swap.h mksquashfs.h \
|
|
sort.h pseudo.h compressor.h xattr.h action.h error.h progressbar.h \
|
|
- info.h caches-queues-lists.h read_fs.h restore.h process_fragments.h
|
|
+ info.h caches-queues-lists.h read_fs.h restore.h process_fragments.h \
|
|
+ fnm_extmatch.h
|
|
|
|
read_fs.o: read_fs.c squashfs_fs.h squashfs_swap.h compressor.h xattr.h \
|
|
error.h mksquashfs.h
|
|
@@ -247,7 +248,7 @@
|
|
|
|
read_xattrs.o: read_xattrs.c squashfs_fs.h squashfs_swap.h xattr.h error.h
|
|
|
|
-action.o: action.c squashfs_fs.h mksquashfs.h action.h error.h
|
|
+action.o: action.c squashfs_fs.h mksquashfs.h action.h error.h fnm_extmatch.h
|
|
|
|
progressbar.o: progressbar.c error.h
|
|
|
|
@@ -279,7 +280,7 @@
|
|
$(CC) $(LDFLAGS) $(EXTRA_LDFLAGS) $(UNSQUASHFS_OBJS) $(LIBS) -o $@
|
|
|
|
unsquashfs.o: unsquashfs.h unsquashfs.c squashfs_fs.h squashfs_swap.h \
|
|
- squashfs_compat.h xattr.h read_fs.h compressor.h
|
|
+ squashfs_compat.h xattr.h read_fs.h compressor.h fnm_extmatch.h
|
|
|
|
unsquash-1.o: unsquashfs.h unsquash-1.c squashfs_fs.h squashfs_compat.h
|
|
|