$NetBSD: patch-libf95.a-0.92_configure,v 1.2 2013/02/04 20:31:44 markd Exp $ Use $host_alias in the gcc-libdir path so it matches ${MACHINE_GNU_PLATFORM} --- libf95.a-0.93/configure.orig 2010-04-15 05:26:01.000000000 +0000 +++ libf95.a-0.93/configure @@ -6273,7 +6273,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_version" >&5 $as_echo "$gcc_version" >&6; } -DEST_LIBDIR=$prefix/lib/gcc-lib/$host/$gcc_version +DEST_LIBDIR=$prefix/lib/gcc-lib/$host_alias/$gcc_version