diff options
author | obache <obache> | 2012-02-18 05:34:23 +0000 |
---|---|---|
committer | obache <obache> | 2012-02-18 05:34:23 +0000 |
commit | dc3a3e5cb307171b18d54e043766ff08925420f5 (patch) | |
tree | e69b38ab1d42bf96e266d92f7db9875e02f9f30f /inputmethod | |
parent | 1804395a0a67390b3d51e03f0630e3799f2d4105 (diff) | |
download | pkgsrc-dc3a3e5cb307171b18d54e043766ff08925420f5.tar.gz |
Bugs of iconv should be fixed in NetBSD-6 and later, not require GNU iconv.
Diffstat (limited to 'inputmethod')
-rw-r--r-- | inputmethod/ibus-table-chinese/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/inputmethod/ibus-table-chinese/Makefile b/inputmethod/ibus-table-chinese/Makefile index 846abcdddb7..dadb697ba49 100644 --- a/inputmethod/ibus-table-chinese/Makefile +++ b/inputmethod/ibus-table-chinese/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2011/12/04 13:28:00 obache Exp $ +# $NetBSD: Makefile,v 1.6 2012/02/18 05:34:23 obache Exp $ # DISTNAME= ibus-table-chinese-1.3.5-Source-Standalone @@ -19,19 +19,16 @@ USE_CMAKE= yes USE_LANGUAGES= c c++ USE_TOOLS+= pkg-config +.include "../../mk/bsd.prefs.mk" + # Illegal byte sequence in array30_ExtB.txt -CHECK_BUILTIN.iconv:= yes -.include "../../converters/libiconv/builtin.mk" -CHECK_BUILTIN.iconv:= no -.if ${ICONV_TYPE} != "gnu" || !exists(/usr/bin/iconv) +. if !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*) BUILD_DEPENDS+= libiconv-[0-9]*:../../converters/libiconv FIND_PREFIX:= ICONV_PREFIX=libiconv .include "../../mk/find-prefix.mk" -.else -ICONV_PREFIX=/usr -.endif CMAKE_ARGS+= -DICONV_CMD:PATH=${ICONV_PREFIX}/bin/iconv +.endif .include "../../inputmethod/ibus-table/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |