openbsd-ports/lang/nhc98/patches/patch-script_confhc
kili b7060678ab Update to 1.18.
Take maintainership.

Note that the powerpc problems will be fixed separately.
2007-06-29 11:06:25 +00:00

17 lines
503 B
Plaintext

$OpenBSD: patch-script_confhc,v 1.1 2007/06/29 11:06:25 kili Exp $
GHC version output has changed, so an installed GHC would break
configure without this.
--- script/confhc.orig Thu Mar 10 17:36:08 2005
+++ script/confhc Tue Jun 19 17:11:53 2007
@@ -78,7 +78,7 @@ fi
ghcsym () {
echo __GLASGOW_HASKELL__ >ghcsym.hs;
$1 -E -cpp -optP-P ghcsym.hs -o ghcsym.out;
- grep -v '^#' ghcsym.out > $2;
+ grep -v '#' ghcsym.out > $2;
rm -f ghcsym.hs ghcsym.out;
}
echo -n " Looking for ghc... "