Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Dec 2013 23:02:34 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337395 - in head/korean/libhangul: . files
Message-ID:  <201312242302.rBON2Yxv016895@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Tue Dec 24 23:02:33 2013
New Revision: 337395
URL: http://svnweb.freebsd.org/changeset/ports/337395

Log:
  - Add a patch from upstram.
  - Use options framework properly.

Added:
  head/korean/libhangul/files/patch-hangul__hangulctype.c   (contents, props changed)
Modified:
  head/korean/libhangul/Makefile

Modified: head/korean/libhangul/Makefile
==============================================================================
--- head/korean/libhangul/Makefile	Tue Dec 24 22:58:42 2013	(r337394)
+++ head/korean/libhangul/Makefile	Tue Dec 24 23:02:33 2013	(r337395)
@@ -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)

Added: head/korean/libhangul/files/patch-hangul__hangulctype.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/korean/libhangul/files/patch-hangul__hangulctype.c	Tue Dec 24 23:02:33 2013	(r337395)
@@ -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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312242302.rBON2Yxv016895>