Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2001 14:41:22 +0900 (JST)
From:      haro@kubota.co.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24336: [Patch] ja-FreeWnn-server port fail to compile on 5-current.
Message-ID:  <200101150541.f0F5fM841020@jkpc15.tk.kubota.co.jp>

next in thread | raw e-mail | index | archive | help

>Number:         24336
>Category:       ports
>Synopsis:       ja-FreeWnn-server port fail to compile on 5-current.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 14 21:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Munehiro Matsuda
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Business Incubation Dept., Kubota Corp.
>Environment:
System: FreeBSD jkpc15.tk.kubota.co.jp 5.0-CURRENT FreeBSD 5.0-CURRENT #7: Mon Jan 15 09:59:15 JST 2001 haro@jkpc15.tk.kubota.co.jp:/usr/src/sys/compile/JKPC15 i386

/usr/ports/japanese/FreeWnn-server/Makefile:
     $FreeBSD: ports/japanese/FreeWnn-server/Makefile,v 1.34 2000/10/08 10:20:27 asami Exp $

>Description:

ja-FreeWnn-server-1.1.1-a017 port fails to compile on 5-current system,
due to the recent change of /usr/libexec/cpp --> /usr/libexec/cpp0.
Error message as follows:

  make FZK_FLAG=-DKANSAI std.fzk
  cc -E -DKANSAI fzk.master | egrep -v '^(# |#line |$)' | /usr/obj/ports/usr/ports/japanese/FreeWnn-server/work/FreeWnn-1.1.1-a017/Xsi/Wnn/jutil/atof -h /usr/local/lib/wnn/ja_JP/hinsi.data std.fzk
  cc: fzk.master: linker input file unused since linking not done
  Bad format near line 0 "".
  File must start with \attribute
  *** Error code 1

  Stop in /usr/ports/japanese/FreeWnn-server/work/FreeWnn-1.1.1-a017/Xsi/Wnn/pubdicplus.
  *** Error code 1


>How-To-Repeat:

  # cd /usr/ports/japanese/FreeWnn-server
  # make

>Fix:

Apply the following patch to /usr/ports/japanese/FreeWnn-lib/files/patch-aa.
                                                 ^^^^^^^^^^^

--- japanese/FreeWnn-lib/files/patch-aa.old	Thu Oct 12 02:22:16 2000
+++ japanese/FreeWnn-lib/files/patch-aa	Mon Jan 15 14:24:35 2001
@@ -1,5 +1,5 @@
 --- configure.in.orig	Fri Mar 17 01:15:32 2000
-+++ configure.in	Fri Sep  1 01:13:50 2000
++++ configure.in	Mon Jan 15 14:22:23 2001
 @@ -48,7 +48,185 @@
  esac
  AC_SUBST(abs_top_srcdir)
@@ -186,3 +186,13 @@
  
  dnl
  dnl Checks for cc and cpp.
+@@ -69,6 +247,9 @@
+ "FreeBSD"|"NetBSD"|"OpenBSD")
+     CCOPTIONS="-DCSRG_BASED"
+     CDEBUGFLAGS="-O2 -fno-strength-reduce"
++    if test -x /usr/libexec/cpp0; then
++        CPP=/usr/libexec/cpp0
++    fi
+     if test -x /usr/libexec/cpp; then
+         CPP=/usr/libexec/cpp
+     fi


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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