INDEX build failed
Oliver Eikemeier
eikemeier at fillmore-labs.com
Sat Nov 8 19:13:01 PST 2003
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.
More information about the freebsd-ports
mailing list