diff mbox

[1/1] ntfs-3g: fix incorrect comment dependency

Message ID 1436819277-48747-1-git-send-email-ryan.barnett@rockwellcollins.com
State Superseded
Headers show

Commit Message

Ryan Barnett July 13, 2015, 8:27 p.m. UTC
The comment for ntfs-3g displays even when the package has met its
necessary dependencies.

Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
---
 package/ntfs-3g/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Petazzoni July 13, 2015, 8:32 p.m. UTC | #1
Dear Ryan Barnett,

On Mon, 13 Jul 2015 15:27:57 -0500, Ryan Barnett wrote:
> The comment for ntfs-3g displays even when the package has met its
> necessary dependencies.
> 
> Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
> ---
>  package/ntfs-3g/Config.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/ntfs-3g/Config.in b/package/ntfs-3g/Config.in
> index a860498..054e5b6 100644
> --- a/package/ntfs-3g/Config.in
> +++ b/package/ntfs-3g/Config.in
> @@ -32,4 +32,4 @@ endif
>  
>  comment "ntfs-3g needs a toolchain w/ wchar, threads, dynamic library"
>  	depends on BR2_USE_MMU
> -	depends on !(BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS && BR2_STATIC_LIBS)
> +	depends on !(BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS && !BR2_STATIC_LIBS)

I personally prefer:

	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

I think we do that for most packages, and it's somewhat easier to understand.

Best regards,

Thomas
Ryan Barnett July 13, 2015, 8:35 p.m. UTC | #2
Thomas,

On Mon, Jul 13, 2015 at 3:32 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Ryan Barnett,
>>
>>  comment "ntfs-3g needs a toolchain w/ wchar, threads, dynamic library"
>>       depends on BR2_USE_MMU
>> -     depends on !(BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS && BR2_STATIC_LIBS)
>> +     depends on !(BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS && !BR2_STATIC_LIBS)
>
> I personally prefer:
>
>         depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
>
> I think we do that for most packages, and it's somewhat easier to understand.

OK - I really don't have a preference but I agree for consistency
across buildroot it would be better to change to what you suggested.

I will submit a v2 here.

Thanks,
-Ryan
diff mbox

Patch

diff --git a/package/ntfs-3g/Config.in b/package/ntfs-3g/Config.in
index a860498..054e5b6 100644
--- a/package/ntfs-3g/Config.in
+++ b/package/ntfs-3g/Config.in
@@ -32,4 +32,4 @@  endif
 
 comment "ntfs-3g needs a toolchain w/ wchar, threads, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !(BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS && BR2_STATIC_LIBS)
+	depends on !(BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS && !BR2_STATIC_LIBS)