$NetBSD: patch-al,v 1.3 2012/04/17 07:48:13 sbd Exp $ "#pragma weak" shouldn't be used on NetBSD. --- libgfortran/configure.orig 2011-06-27 10:13:01.000000000 +0000 +++ libgfortran/configure @@ -25699,7 +25699,7 @@ $as_echo "#define SUPPORTS_WEAK 1" >>con fi case "$host" in - *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | alpha*-dec-osf* ) + *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | alpha*-dec-osf* | *-*-netbsd* ) $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h