pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/devel/makedepend



On Wed, 30 May 2012 16:55:03 +0900, OBATA Akio <obache%netbsd.org@localhost> 
wrote:

On Wed, 30 May 2012 15:54:12 +0900, Thomas Klausner <wiz%netbsd.org@localhost> 
wrote:

On Wed, May 30, 2012 at 10:52:25AM +0900, OBATA Akio wrote:
On Tue, 29 May 2012 23:20:37 +0900, Thomas Klausner <wiz%netbsd.org@localhost> 
wrote:

>Module Name:        pkgsrc
>Committed By:       wiz
>Date:               Tue May 29 14:20:37 UTC 2012
>
>Modified Files:
>    pkgsrc/devel/makedepend: Makefile distinfo
>Removed Files:
>    pkgsrc/devel/makedepend/patches: patch-aa
>
>Log Message:
>Update to 1.0.4:

Failed on NetBSD-5.1.2:

checking if cc -std=gnu99 supports -Wmissing-format-attribute... yes
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

On current, the test for implicit returns yes.

Is it this piece of code that breaks on 5?

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

No, at the next line (`eval' statement):

                   if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval 
\${$as_var+:} false; }; then :

Insert following before the `eval':
 $as_echo "${as_var}" >&6

result is:

xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN
_errwarn_E_NO_IMPLICIT_DECL_ALLOWED

contains newline?
hit a bug of ksh same as treated by libtool/patches/patch-ab?

--
OBATA Akio / obache%NetBSD.org@localhost



Home | Main Index | Thread Index | Old Index