$NetBSD: patch-at,v 1.8 2014/06/27 06:51:22 dholland Exp $ --- ../ghc-6.4.2/configure.orig 2006-04-19 07:36:55.000000000 +1200 +++ ../ghc-6.4.2/configure @@ -2377,7 +2377,7 @@ fi exit 1 else $PerlCmd -v >conftest.out 2>&1 - if grep "v5.6" conftest.out >/dev/null 2>&1; then + if grep "v5.[12][02468]" conftest.out >/dev/null 2>&1; then : else if grep "v5.8" conftest.out >/dev/null 2>&1; then