summaryrefslogtreecommitdiff
path: root/converters/libiconv
diff options
context:
space:
mode:
authorjlam <jlam>2008-02-27 19:32:55 +0000
committerjlam <jlam>2008-02-27 19:32:55 +0000
commit4cab5f63b5652022eaf30a045c44e44dc3cfab2d (patch)
treed735a32c9e26c0c825c83c94a610e7ed362ae390 /converters/libiconv
parent168016d4c6139ae1bb3daee562059f46a36352b1 (diff)
downloadpkgsrc-4cab5f63b5652022eaf30a045c44e44dc3cfab2d.tar.gz
Whitespace.
Diffstat (limited to 'converters/libiconv')
-rw-r--r--converters/libiconv/builtin.mk13
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; \
} \