$FreeBSD: ports/devel/hs-hat/files/patch-script_confhc-hat,v 1.1 2007/07/04 02:52:29 vs Exp $ --- script/confhc-hat.orig +++ script/confhc-hat @@ -56,7 +56,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; }