diff options
author | vs <vs@FreeBSD.org> | 2007-06-29 17:06:05 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2007-06-29 17:06:05 +0800 |
commit | 233fa55460edc8d4c06c7a6c5fc6ba62dfdf0d87 (patch) | |
tree | 42115cbe5c8e9241693c543444c48412084e5da8 | |
parent | ba1112f20161fbec2fe62251ae314e2f79e25199 (diff) | |
download | freebsd-ports-gnome-233fa55460edc8d4c06c7a6c5fc6ba62dfdf0d87.tar.gz freebsd-ports-gnome-233fa55460edc8d4c06c7a6c5fc6ba62dfdf0d87.tar.zst freebsd-ports-gnome-233fa55460edc8d4c06c7a6c5fc6ba62dfdf0d87.zip |
Unbreak after latest GHC update: accept new preprocessor output
-rw-r--r-- | devel/hs-hmake/files/patch-script_confhc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/hs-hmake/files/patch-script_confhc b/devel/hs-hmake/files/patch-script_confhc new file mode 100644 index 000000000000..35a09961c4ec --- /dev/null +++ b/devel/hs-hmake/files/patch-script_confhc @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- 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... " |