diff options
author | jkim <jkim@FreeBSD.org> | 2013-12-25 07:02:33 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-12-25 07:02:33 +0800 |
commit | 49613ab06e10bba6d8d0192e2408ec0a0edfcbd2 (patch) | |
tree | 8366109e2db85a10bb61d38d35db7a95ad60fd4e /korean/libhangul | |
parent | 2c019ade8dce43b55ae74123a42de9e543831b95 (diff) | |
download | freebsd-ports-gnome-49613ab06e10bba6d8d0192e2408ec0a0edfcbd2.tar.gz freebsd-ports-gnome-49613ab06e10bba6d8d0192e2408ec0a0edfcbd2.tar.zst freebsd-ports-gnome-49613ab06e10bba6d8d0192e2408ec0a0edfcbd2.zip |
- Add a patch from upstram.
- Use options framework properly.
Diffstat (limited to 'korean/libhangul')
-rw-r--r-- | korean/libhangul/Makefile | 6 | ||||
-rw-r--r-- | korean/libhangul/files/patch-hangul__hangulctype.c | 13 |
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 */ |