head 1.3; access; symbols pkgsrc-2013Q3:1.2.0.4 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.2 pkgsrc-2013Q2-base:1.2; locks; strict; comment @# @; 1.3 date 2013.11.13.19.44.03; author wiz; state dead; branches; next 1.2; commitid 0crAPtTs4APWx9dx; 1.2 date 2013.05.10.14.33.01; author riastradh; state Exp; branches; next 1.1; commitid w1hfEL6usPaVP5Pw; 1.1 date 2013.05.10.05.27.39; author riastradh; state Exp; branches; next ; desc @@ 1.3 log @Update to 1.15: enca-1.15 2013-09-30 - Documentation improvement - Development moved to GitHub - Do not use deprecated autoconf macros @ text @$NetBSD: patch-configure,v 1.2 2013/05/10 14:33:01 riastradh Exp $ Pass CC_FOR_BUILD through for make_hash. --- configure.orig 2012-09-11 09:12:23.000000000 +0000 +++ configure @@@@ -635,6 +635,7 @@@@ ac_includes_default="\ ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS +CC_FOR_BUILD SHELL_RANDOM_FILENAME DEFAULT_CONVERTER_LIST DEFAULT_EXTERNAL_CONVERTER @@@@ -12446,6 +12447,15 @@@@ else $as_echo "no" >&6; } fi +if test -z "$CC_FOR_BUILD"; then + if test "x$cross_compiling" = xno; then + CC_FOR_BUILD="$CC" + else + as_fn_error $? "can't compile tools on host without CC_FOR_BUILD" "$LINENO" 5 + fi +fi + + if test "$GCC" = yes; then @ 1.2 log @Oops -- restore native build of textproc/enca with CC_FOR_BUILD=CC. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Fix cross-build of textproc/enca: use CC_FOR_BUILD and avoid run-tests. @ text @d15 16 @