Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2005 12:54:21 +0200
From:      Vasil Dimov <vd@datamax.bg>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nork@FreeBSD.org
Subject:   ports/89110: [patch] INDEX build on 5-STABLE fails: typo in japanese/kcode
Message-ID:  <20051116105421.GA20963@qlovarnika.bg.datamax>
Resent-Message-ID: <200511161100.jAGB0V35044729@freefall.freebsd.org>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 16 11:00:30 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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