pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libfontenc build failure



In message <alpine.NEB.2.01.1206050757170.2887%t1.m.reedmedia.net@localhost>
        on Tue, 5 Jun 2012 08:10:58 -0500 (CDT),
        "Jeremy C. Reed" <reed%reedmedia.net@localhost> wrote:
> On Tue, 5 Jun 2012, Benny Siegert wrote:
> 
>> > checking if cc -std=gnu99 supports -Wredundant-decls... yes
>> > checking if cc -std=gnu99 supports -Werror=implicit... no
>> > checking if cc -std=gnu99 supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN 
>> > -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... eval: 1: Syntax error: Bad 
>> > substitution
>> > *** Error code 2
>> 
>> I have the same on 5.99.51/amd64. This is a shell syntax problem in
>> all the Xorg libs, including libX11, libXext and so on. The workaround
>> that I found is to install mksh and set CONFIG_SHELL=/usr/pkg/bin/mksh
>> in mk.conf.
There is a line in configure (suppress space start of line):

cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN 
-errwarn=E_NO_IMPLICIT_DECL_ALLOWED`

Change this line to below seems solve the problem.

cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN 
-errwarn=E_NO_IMPLICIT_DECL_ALLOWED"`

> Found in everything means it uses the standard macros.  Here it is:
> 
> http://cgit.freedesktop.org/xorg/util/macros/tree/xorg-macros.m4.in
Real fix should be add above quote to this macro?

-- 
Takahiro Kambe <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index