$FreeBSD: ports/devel/hs-hmake/files/patch-script_confhc,v 1.1 2007/06/29 09:06:05 vs Exp $ --- script/confhc.orig +++ script/confhc @@ -78,7 +78,7 @@ ghcsym () { echo __GLASGOW_HASKELL__ >ghcsym.hs; $1 -E -cpp -optP-P ghcsym.hs -o ghcsym.out; - grep -v '^#' ghcsym.out | grep -v '^$' > $2; + grep -v '^#' ghcsym.out | grep -v '^$' | grep -v '^{' > $2; rm -f ghcsym.hs ghcsym.out; } echo -n " Looking for ghc... "