summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-04-20 19:34:57 +0000
committerMike Frysinger <vapier@gentoo.org>2008-04-20 19:34:57 +0000
commit7417e6a80392f01cc87acf12766ed082479eaa64 (patch)
tree55cacfc755aace974e65725f8aeef1c6647c01a6 /sys-fs/ntfsprogs/files/ntfsprogs-2.0.0-extras.patch
parentRevision bump for genpatches-7. (diff)
downloadgentoo-2-7417e6a80392f01cc87acf12766ed082479eaa64.tar.gz
gentoo-2-7417e6a80392f01cc87acf12766ed082479eaa64.tar.bz2
gentoo-2-7417e6a80392f01cc87acf12766ed082479eaa64.zip
Install the "extra" binaries #218601 by fdupoux.
(Portage version: 2.2_pre5)
Diffstat (limited to 'sys-fs/ntfsprogs/files/ntfsprogs-2.0.0-extras.patch')
-rw-r--r--sys-fs/ntfsprogs/files/ntfsprogs-2.0.0-extras.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-fs/ntfsprogs/files/ntfsprogs-2.0.0-extras.patch b/sys-fs/ntfsprogs/files/ntfsprogs-2.0.0-extras.patch
new file mode 100644
index 000000000000..01527607cabc
--- /dev/null
+++ b/sys-fs/ntfsprogs/files/ntfsprogs-2.0.0-extras.patch
@@ -0,0 +1,38 @@
+--- ntfsprogs-2.0.0/configure.ac
++++ ntfsprogs-2.0.0/configure.ac
+@@ -79,6 +79,10 @@
+ ac_configure_args="$ac_configure_args --prefix $prefix"
+ fi
+
++AC_ARG_ENABLE([extras],[AS_HELP_STRING([--enable-extras],[build/install the extra programs])],,enable_extras=no)
++AM_CONDITIONAL(ENABLE_EXTRAS, test "x$enable_extras" = xyes)
++
++
+ # Command-line options.
+ AC_ARG_ENABLE(debug,
+ AS_HELP_STRING(--enable-debug,enable additional debugging code and
+--- ntfsprogs-2.0.0/ntfsprogs/Makefile.am
++++ ntfsprogs-2.0.0/ntfsprogs/Makefile.am
+@@ -14,7 +14,8 @@
+ bin_PROGRAMS = ntfsfix ntfsinfo ntfscluster ntfsls ntfscat ntfscmp
+ sbin_PROGRAMS = mkntfs ntfslabel ntfsundelete ntfsresize ntfsclone \
+ ntfscp
+-EXTRA_PROGRAMS = ntfsdump_logfile ntfswipe ntfstruncate ntfsmove \
++EXTRA_PROGRAMS =
++extra_progs = ntfsdump_logfile ntfswipe ntfstruncate ntfsmove \
+ ntfsmftalloc ntfsck
+
+ man_MANS = mkntfs.8 ntfsfix.8 ntfslabel.8 ntfsinfo.8 \
+@@ -37,6 +38,12 @@
+ EXTRA_PROGRAMS += ntfsdecrypt
+ endif
+
++if ENABLE_EXTRAS
++bin_PROGRAMS += $(extra_progs)
++else
++EXTRA_PROGRAMS += $(extra_progs)
++endif
++
+ # Set the include path.
+ AM_CPPFLAGS = -I$(top_srcdir)/include/ntfs $(all_includes)
+