From vd@datamax.bg  Wed Nov 16 10:54:23 2005
Return-Path: <vd@datamax.bg>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1006116A41F;
	Wed, 16 Nov 2005 10:54:23 +0000 (GMT)
	(envelope-from vd@datamax.bg)
Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9BDAF43D46;
	Wed, 16 Nov 2005 10:54:22 +0000 (GMT)
	(envelope-from vd@datamax.bg)
Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2])
	by jengal.datamax.bg (Postfix) with SMTP id 4A6C3B830;
	Wed, 16 Nov 2005 12:54:21 +0200 (EET)
Received: (nullmailer pid 20993 invoked by uid 1002);
	Wed, 16 Nov 2005 10:54:21 -0000
Message-Id: <20051116105421.GA20963@qlovarnika.bg.datamax>
Date: Wed, 16 Nov 2005 12:54:21 +0200
From: Vasil Dimov <vd@datamax.bg>
Reply-To: vd@datamax.bg
To: FreeBSD-gnats-submit@freebsd.org
Cc: nork@freebsd.org
Subject: [patch] INDEX build on 5-STABLE fails: typo in japanese/kcode
X-Send-Pr-Version: 3.113

>Number:         89110
>Category:       ports
>Synopsis:       [patch] INDEX build on 5-STABLE fails: typo in japanese/kcode
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 16 11:00:30 GMT 2005
>Closed-Date:    Wed Nov 16 11:13:59 GMT 2005
>Last-Modified:  Wed Nov 16 11:13:59 GMT 2005
>Originator:     Vasil Dimov
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
DataMax
>Environment:

FreeBSD fqdn 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Nov  7 13:07:45 EET 2005     root@fqdn:/usr/obj/usr/src/sys/KUTELO2  i386

>Description:

INDEX build on 5-STABLE fails because of typo in japanese/kcode/Makefile

>How-To-Repeat:

# cd /usr/ports/
# make index
Generating INDEX-5 - please wait.."Makefile", line 35: Need an operator
make: fatal errors encountered -- cannot continue
===> japanese/kcode failed
*** Error code 1
1 error

********************************************************************
Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  (INDEX builds are
not supported with partial or out-of-date ports collections -- in
particular, if you are using cvsup, you must cvsup the "ports-all"
collection, and have no "refuse" files.)  If that is the case, then
report the failure to ports@FreeBSD.org together with relevant
details of your ports configuration (including FreeBSD version,
your architecture, your environment, and your /etc/make.conf
settings, especially compiler flags and WITH/WITHOUT settings).

Note: the latest pre-generated version of INDEX may be fetched
automatically with "make fetchindex".
********************************************************************

*** Error code 1

Stop in /usr/ports.
*** Error code 1


# cd /usr/ports/japanese/kcode/
# make describe
"Makefile", line 35: Need an operator
make: fatal errors encountered -- cannot continue
#

>Fix:

--- kcode_else.diff begins here ---
Index: Makefile
===================================================================
RCS file: /usr/local/cvsupdroot/ports/japanese/kcode/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	13 Nov 2005 11:23:29 -0000	1.4
+++ Makefile	16 Nov 2005 10:43:26 -0000
@@ -32,7 +32,7 @@
 IGNORE=		This port requires perl 5.6.0 or later
 .elif ${PERL_LEVEL} < 500800
 _RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
-else
+.else
 _RUN_DEPENDS=	${SITE_PERL}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
 .endif
 
--- kcode_else.diff ends here ---
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: lawrance 
State-Changed-When: Wed Nov 16 11:13:42 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89110 
>Unformatted:
