aboutsummaryrefslogtreecommitdiff
path: root/korean
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2019-07-19 00:09:35 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2019-07-19 00:09:35 +0000
commite4a626528e5247143d9b64dcf88d0bae80cd204c (patch)
treed7ba2c52945989ea82909b9ae40ddd7a0005771c /korean
parent19a759534df1049730baa415a8ee910bc570db59 (diff)
downloadports-e4a626528e5247143d9b64dcf88d0bae80cd204c.tar.gz
ports-e4a626528e5247143d9b64dcf88d0bae80cd204c.zip
- Fix build without NLS.
- Appease portlint.
Notes
Notes: svn path=/head/; revision=506902
Diffstat (limited to 'korean')
-rw-r--r--korean/libhangul/Makefile5
-rw-r--r--korean/libhangul/files/patch-hangul__hangulctype.c6
2 files changed, 7 insertions, 4 deletions
diff --git a/korean/libhangul/Makefile b/korean/libhangul/Makefile
index 1cd4dd50c44b..33e0e3333b3d 100644
--- a/korean/libhangul/Makefile
+++ b/korean/libhangul/Makefile
@@ -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
diff --git a/korean/libhangul/files/patch-hangul__hangulctype.c b/korean/libhangul/files/patch-hangul__hangulctype.c
index 8bb38d7f4227..f954f79edf1f 100644
--- a/korean/libhangul/files/patch-hangul__hangulctype.c
+++ b/korean/libhangul/files/patch-hangul__hangulctype.c
@@ -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 */