diff options
author | jlam <jlam@pkgsrc.org> | 2008-02-27 19:32:55 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-02-27 19:32:55 +0000 |
commit | 3b4358fe5af24e4a64731c5d89b511e94cbf37f5 (patch) | |
tree | d735a32c9e26c0c825c83c94a610e7ed362ae390 /converters/libiconv/builtin.mk | |
parent | a06055f4cb5df194ca16955c424e672faf339a68 (diff) | |
download | pkgsrc-3b4358fe5af24e4a64731c5d89b511e94cbf37f5.tar.gz |
Whitespace.
Diffstat (limited to 'converters/libiconv/builtin.mk')
-rw-r--r-- | converters/libiconv/builtin.mk | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/converters/libiconv/builtin.mk b/converters/libiconv/builtin.mk index 45b9e905dec..6648f26ce08 100644 --- a/converters/libiconv/builtin.mk +++ b/converters/libiconv/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.17 2007/11/07 17:24:28 minskim Exp $ +# $NetBSD: builtin.mk,v 1.18 2008/02/27 19:32:55 jlam Exp $ BUILTIN_PKG:= iconv @@ -15,7 +15,8 @@ BUILTIN_FIND_GREP.H_ICONV= GNU LIBICONV Library ### .if !defined(IS_BUILTIN.iconv) IS_BUILTIN.iconv= no -. if empty(H_ICONV:M__nonexistent__) && empty(H_ICONV:M${LOCALBASE}/*) && \ +. if empty(H_ICONV:M__nonexistent__) && \ + empty(H_ICONV:M${LOCALBASE}/*) && \ !empty(BUILTIN_LIB_FOUND.iconv:M[yY][eE][sS]) IS_BUILTIN.iconv= yes . endif @@ -32,10 +33,10 @@ MAKEVARS+= IS_BUILTIN.iconv BUILTIN_VERSION.iconv!= \ ${AWK} 'BEGIN { hex="0123456789abcdef" } \ /\#define[ ]*_LIBICONV_VERSION[ ]/ { \ - M = 16 * (index(hex, tolower(substr($$3, 3, 1))) - 1); \ - M += index(hex, tolower(substr($$3, 4, 1))) - 1; \ - m = 16 * (index(hex, tolower(substr($$3, 5, 1))) - 1); \ - m += index(hex, tolower(substr($$3, 6, 1))) - 1; \ + M = 16 * (index(hex, tolower(substr($$3, 3, 1))) - 1); \ + M += index(hex, tolower(substr($$3, 4, 1))) - 1;\ + m = 16 * (index(hex, tolower(substr($$3, 5, 1))) - 1); \ + m += index(hex, tolower(substr($$3, 6, 1))) - 1;\ printf "%d.%d\n", M, m; \ exit 0; \ } \ |