Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/ntfsprogs/files: ntfsprogs-2.0.0-extras.patch
Date: Sun, 20 Apr 2008 19:35:01
Message-Id: E1JnfJS-0008BY-ES@stork.gentoo.org
1 vapier 08/04/20 19:34:58
2
3 Added: ntfsprogs-2.0.0-extras.patch
4 Log:
5 Install the "extra" binaries #218601 by fdupoux.
6 (Portage version: 2.2_pre5)
7
8 Revision Changes Path
9 1.1 sys-fs/ntfsprogs/files/ntfsprogs-2.0.0-extras.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/ntfsprogs/files/ntfsprogs-2.0.0-extras.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/ntfsprogs/files/ntfsprogs-2.0.0-extras.patch?rev=1.1&content-type=text/plain
13
14 Index: ntfsprogs-2.0.0-extras.patch
15 ===================================================================
16 --- ntfsprogs-2.0.0/configure.ac
17 +++ ntfsprogs-2.0.0/configure.ac
18 @@ -79,6 +79,10 @@
19 ac_configure_args="$ac_configure_args --prefix $prefix"
20 fi
21
22 +AC_ARG_ENABLE([extras],[AS_HELP_STRING([--enable-extras],[build/install the extra programs])],,enable_extras=no)
23 +AM_CONDITIONAL(ENABLE_EXTRAS, test "x$enable_extras" = xyes)
24 +
25 +
26 # Command-line options.
27 AC_ARG_ENABLE(debug,
28 AS_HELP_STRING(--enable-debug,enable additional debugging code and
29 --- ntfsprogs-2.0.0/ntfsprogs/Makefile.am
30 +++ ntfsprogs-2.0.0/ntfsprogs/Makefile.am
31 @@ -14,7 +14,8 @@
32 bin_PROGRAMS = ntfsfix ntfsinfo ntfscluster ntfsls ntfscat ntfscmp
33 sbin_PROGRAMS = mkntfs ntfslabel ntfsundelete ntfsresize ntfsclone \
34 ntfscp
35 -EXTRA_PROGRAMS = ntfsdump_logfile ntfswipe ntfstruncate ntfsmove \
36 +EXTRA_PROGRAMS =
37 +extra_progs = ntfsdump_logfile ntfswipe ntfstruncate ntfsmove \
38 ntfsmftalloc ntfsck
39
40 man_MANS = mkntfs.8 ntfsfix.8 ntfslabel.8 ntfsinfo.8 \
41 @@ -37,6 +38,12 @@
42 EXTRA_PROGRAMS += ntfsdecrypt
43 endif
44
45 +if ENABLE_EXTRAS
46 +bin_PROGRAMS += $(extra_progs)
47 +else
48 +EXTRA_PROGRAMS += $(extra_progs)
49 +endif
50 +
51 # Set the include path.
52 AM_CPPFLAGS = -I$(top_srcdir)/include/ntfs $(all_includes)
53
54
55
56
57 --
58 gentoo-commits@l.g.o mailing list