aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-hmake
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2007-06-29 09:06:05 +0000
committerVolker Stolz <vs@FreeBSD.org>2007-06-29 09:06:05 +0000
commit4d70ad96ab279755bc69625f840e3b653f80668c (patch)
tree53b86fcd6642d8f37623e53104ba25b78d037df1 /devel/hs-hmake
parent0f261b86efd022507f89e0f2e60ac5cc7829eac7 (diff)
downloadports-4d70ad96ab279755bc69625f840e3b653f80668c.tar.gz
ports-4d70ad96ab279755bc69625f840e3b653f80668c.zip
Unbreak after latest GHC update: accept new preprocessor output
Notes
Notes: svn path=/head/; revision=194440
Diffstat (limited to 'devel/hs-hmake')
-rw-r--r--devel/hs-hmake/files/patch-script_confhc14
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... "