Subject: Re: Problems with conditionals
To: Julio M. Merino Vidal <jmmv84@gmail.com>
From: Johnny Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 06/01/2005 19:11:38
Julio M. Merino Vidal wrote:
>
> after updating pkgsrc this evening, things seem to be quite broken due
> to some conditionals. For example:
>
> $ cd x11/gtk2 ; make clean
> make:
> "../../mk/wrapper/../../mk/buildlink3/../../devel/gettext-lib/../../mk/wrapper/../../mk/buildlink3/../../devel/gettext-lib/builtin.mk" line 11: Malformed conditional (exists(${_BLNK_LIBINTL_H}) && !empty(BUILDLINK_LIB_FOUND.intl:M[yY][eE][sS]))
> make:
> "../../mk/wrapper/../../mk/buildlink3/../../devel/gettext-lib/../../mk/wrapper/../../mk/buildlink3/../../devel/gettext-lib/builtin.mk" line 27: if-less endif
> make:
> "../../mk/wrapper/../../mk/buildlink3/../../devel/gettext-lib/../../mk/wrapper/../../mk/buildlink3/../../devel/gettext-lib/builtin.mk" line 27: Need an operator
> make:
> "../../mk/wrapper/../../mk/buildlink3/../../converters/libiconv/../../mk/wrapper/../../mk/buildlink3/../../converters/libiconv/builtin.mk" line 14: Malformed conditional (exists(${_BLNK_ICONV_H}) && !empty(BUILDLINK_LIB_FOUND.iconv:M[yY][eE][sS]))
> make:
> "../../mk/wrapper/../../mk/buildlink3/../../converters/libiconv/../../mk/wrapper/../../mk/buildlink3/../../converters/libiconv/builtin.mk" line 22: if-less endif
> make:
> "../../mk/wrapper/../../mk/buildlink3/../../converters/libiconv/../../mk/wrapper/../../mk/buildlink3/../../converters/libiconv/builtin.mk" line 22: Need an operator
> make: Fatal errors encountered -- cannot continue
>
> make: stopped in /home/jmmv/NetBSD/pkgsrc/x11/gtk2
>
> I guess there are several defined() clauses missing.
I made an commit that touched about 1000 files. If you updated in the
middle of that commit, you possibly don't have a working pkgsrc. Try
updating pkgsrc again.
Cheers,
-- Johnny Lam <jlam@NetBSD.org>