From owner-freebsd-ports@FreeBSD.ORG Sat Nov 8 19:13:01 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E29C16A4CE; Sat, 8 Nov 2003 19:13:01 -0800 (PST) Received: from mx2.fillmore-labs.com (lima.fillmore-labs.com [62.138.193.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id C876343FD7; Sat, 8 Nov 2003 19:12:59 -0800 (PST) (envelope-from eikemeier@fillmore-labs.com) Received: from pd951ac31.dip.t-dialin.net ([217.81.172.49] helo=fillmore-labs.com ident=glvudjg5r4pg5pz1) by mx2.fillmore-labs.com with asmtp (TLSv1:AES256-SHA:256) (Exim 4.24; FreeBSD 4.9) id 1AIg0Y-00006f-PT; Sun, 09 Nov 2003 04:12:59 +0100 Message-ID: <3FADB0B3.30008@fillmore-labs.com> Date: Sun, 09 Nov 2003 04:12:51 +0100 From: Oliver Eikemeier MIME-Version: 1.0 To: NAKATA Maho References: <200311090238.hA92cuvD001166@8ball.rtp.freebsd.org> <3FADAFB0.50808@fillmore-labs.com> In-Reply-To: <3FADAFB0.50808@fillmore-labs.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: eikemeier@fillmore-labs.com User-Agent: KMail/1.5.9 Organization: Fillmore Labs GmbH X-Complaints-To: abuse@fillmore-labs.com cc: ports@FreeBSD.org cc: Kris Kennaway Subject: Re: INDEX build failed X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2003 03:13:01 -0000 Oliver Eikemeier wrote: > Kris Kennaway wrote: > >> INDEX build failed with errors: >> Warning: Duplicate INDEX entry: openoffice-1.1.0_1 >> >> Most recent CVS update was: > > > [...] > >> U editors/openoffice-1.1-ca/Makefile > > > has: > > LANG_PKGNAME= ca > #LANG_EXT= > LANG_CONFIGURE_ARG= CAT > MASTERDIR= ${.CURDIR}/../openoffice-1.1 > > .include "${MASTERDIR}/Makefile" > > and editors/openoffice-1.1/Makefile has: > > .if !defined(LANG_EXT) > LANG_EXT=01 > .else > [...] > # > # Set prefix and suffix > # > .if defined(LANG_PKGNAME) > PKGNAMEPREFIX= ${LANG_PKGNAME}- > .if defined(LANG_SUFFIX) > PKGNAMESUFFIX= -${LANG_SUFFIX} > .endif > .endif # if defined(LANG_PKGNAME) > ^^^^^^^^^^^^^^^^^^^^^^^^ > this matches the if !defined(LANG_EXT) Urg... It doesn't. Time to go to bed. [...] # # LANG_CONFIGURE_ARG is missing for the german port # .if defined(LANG_EXT) CONFIGURE_ARGS+= --with-lang=${LANG_CONFIGURE_ARG},ENUS .endif .endif ^^^^^^^^^^^^^^^^^^^^^^^^ this one matches the if !defined(LANG_EXT) Anyway, if LANG_EXT is undefined, PKGNAMEPREFIX doesn't get set.