- Fix build without NLS.

- Appease portlint.
This commit is contained in:
Jung-uk Kim 2019-07-19 00:09:35 +00:00
parent 19a759534d
commit e4a626528e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506902
2 changed files with 7 additions and 4 deletions

View file

@ -14,6 +14,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
TEST_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/check.pc:devel/check
USES= autoreconf iconv libtool pathfix pkgconfig
GH_ACCOUNT= choehwanjin
GH_TAGNAME= 9fe2d4e
USE_GITHUB= yes
@ -22,12 +24,13 @@ GNU_CONFIGURE= yes
TEST_TARGET= test
TEST_WRKSRC= ${WRKSRC}/test
USE_LDCONFIG= yes
USES= autoreconf iconv libtool pathfix pkgconfig
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
NLS_USES_OFF= gettext-tools
post-test:
@${TEST_WRKSRC}/test

View file

@ -1,6 +1,6 @@
--- hangul/hangulctype.c.orig 2011-08-28 10:06:23.000000000 -0400
+++ hangul/hangulctype.c 2013-12-24 17:50:52.000000000 -0500
@@ -518,6 +518,10 @@
--- hangul/hangulctype.c.orig 2011-10-16 15:03:13 UTC
+++ hangul/hangulctype.c
@@ -518,6 +518,10 @@ hangul_jamo_to_cjamo(ucschar c)
0x0000, /* 0xd7c4 */
0x0000, /* 0xd7c5 */
0x0000, /* 0xd7c6 */