summaryrefslogtreecommitdiff
path: root/korean/libhangul
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2013-12-24 23:02:33 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2013-12-24 23:02:33 +0000
commit19152012e724f9844c55f26b76a308d876fe4196 (patch)
tree8366109e2db85a10bb61d38d35db7a95ad60fd4e /korean/libhangul
parent- Change Makefile header (diff)
- Add a patch from upstram.
- Use options framework properly.
Notes
Notes: svn path=/head/; revision=337395
Diffstat (limited to 'korean/libhangul')
-rw-r--r--korean/libhangul/Makefile6
-rw-r--r--korean/libhangul/files/patch-hangul__hangulctype.c13
2 files changed, 17 insertions, 2 deletions
diff --git a/korean/libhangul/Makefile b/korean/libhangul/Makefile
index 3a34eb869af9..ec3e2a8bd6c6 100644
--- a/korean/libhangul/Makefile
+++ b/korean/libhangul/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libhangul
PORTVERSION= 0.1.0
+PORTREVISION= 1
CATEGORIES= korean
MASTER_SITES= GOOGLE_CODE
@@ -12,6 +13,9 @@ COMMENT= Library for Hangul processing
LICENSE= LGPL21
GNU_CONFIGURE= yes
+OPTIONS_DEFINE= NLS
+OPTIONS_DEFAULT=NLS
+OPTIONS_SUB= NLS
USE_LDCONFIG= yes
USES= iconv pkgconfig
@@ -20,10 +24,8 @@ USES= iconv pkgconfig
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CONFIGURE_ARGS= --enable-nls
-PLIST_SUB= NLS=""
.else
CONFIGURE_ARGS= --disable-nls
-PLIST_SUB= NLS="@comment "
.endif
.if exists(${LOCALBASE}/libdata/pkgconfig/check.pc)
diff --git a/korean/libhangul/files/patch-hangul__hangulctype.c b/korean/libhangul/files/patch-hangul__hangulctype.c
new file mode 100644
index 000000000000..8bb38d7f4227
--- /dev/null
+++ b/korean/libhangul/files/patch-hangul__hangulctype.c
@@ -0,0 +1,13 @@
+--- 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 @@
+ 0x0000, /* 0xd7c4 */
+ 0x0000, /* 0xd7c5 */
+ 0x0000, /* 0xd7c6 */
++ 0x0000, /* 0xd7c7 */
++ 0x0000, /* 0xd7c8 */
++ 0x0000, /* 0xd7c9 */
++ 0x0000, /* 0xd7ca */
+ 0x0000, /* 0xd7cb */
+ 0x0000, /* 0xd7cc */
+ 0x3138, /* 0xd7cd */