ports/182079: [patch] chinese/sunpinyin: fix build

Henry Hu henry.hu.sh at gmail.com
Sat Sep 14 05:30:00 UTC 2013


>Number:         182079
>Category:       ports
>Synopsis:       [patch] chinese/sunpinyin: fix build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 14 05:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Henry Hu
>Release:        FreeBSD 10-CURRENT
>Organization:
Columbia University
>Environment:
FreeBSD pepsi 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250457M: Tue Jun  4 20:59:11 PDT 2013     root at pepsi:/usr/obj/usr/src/sys/MYKERNEL  amd64

>Description:
Fix build of sunpinyin under latest 10-CURRENT.
Remove detection of iconv.h. Disable iconv functionality.

>How-To-Repeat:
Build chinese/sunpinyin with world built with WITH_ICONV=yes in src.conf.

>Fix:


Patch attached with submission follows:

Index: chinese/sunpinyin/files/patch-SConstruct
===================================================================
--- chinese/sunpinyin/files/patch-SConstruct	(版本 327212)
+++ chinese/sunpinyin/files/patch-SConstruct	(工作副本)
@@ -1,5 +1,5 @@
---- SConstruct.orig	2012-07-17 23:25:59.000000000 -0500
-+++ SConstruct	2012-07-17 23:40:11.633113871 -0500
+--- SConstruct.orig	2012-07-18 00:25:59.000000000 -0400
++++ SConstruct	2013-09-14 00:38:38.866083185 -0400
 @@ -176,10 +176,12 @@ def CreateEnvironment():
  
      libln_builder = Builder(action='ln -s ${SOURCE.name} ${TARGET.name}',
@@ -17,7 +17,15 @@
      env.Append(BUILDERS={'InstallAsSymlink': libln_builder})
      return env
  
-@@ -420,7 +422,7 @@ def DoInstall():
+@@ -324,7 +326,6 @@ def DoConfigure():
+     conf.CheckFunc('getopt_long')
+     conf.CheckFunc('getpagesize')
+     conf.CheckFunc('get_opt')
+-    conf.CheckCHeader('iconv.h')
+     conf.CheckCHeader('inttypes.h')
+     conf.CheckCHeader('locale.h')
+     conf.CheckCHeader('libintl.h')
+@@ -420,7 +421,7 @@ def DoInstall():
                                   lib_target_bin),
              ]
  


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list