pkgsrc-Users archive

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

Re: libfontenc build failure

In message <>
        on Tue, 5 Jun 2012 08:10:58 -0500 (CDT),
        "Jeremy C. Reed" <> 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 

Change this line to below seems solve the problem.

cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN 

> Found in everything means it uses the standard macros.  Here it is:
Real fix should be add above quote to this macro?

Takahiro Kambe <>

Home | Main Index | Thread Index | Old Index