
$FreeBSD: ports/devel/hs-hat/files/patch-script_confhat,v 1.1 2007/07/04 02:52:29 vs Exp $

--- script/confhat.orig
+++ script/confhat
@@ -24,7 +24,7 @@
   # discover ghc version (technique courtesy of Simon Marlow)
   echo __GLASGOW_HASKELL__ >ghcsym.hs;
   $COMP -E -cpp -optP-P ghcsym.hs -o ghcsym.out;
-  GHCSYM=`grep -v '^#' ghcsym.out | grep -v '^$'`
+  GHCSYM=`grep -v '^#' ghcsym.out | grep -v '^$' | grep -v '^{'`
   rm -f ghcsym.hs ghcsym.out;
 
 #  # discover ghc location
