1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/devel/hs-hpl/files/patch-configure
Oliver Braun 998a192b40 * Fix detection of ghc version.
=> Fix pkg-plist s/ghcunknown/ghc5/
* Bump PORTREVISION.

Submitted by:	Manuel M T Chakravarty <chak@cse.unsw.edu.au> (developer)
2002-09-15 15:37:33 +00:00

12 lines
490 B
Plaintext

--- configure.orig Sun Sep 15 17:27:44 2002
+++ configure Sun Sep 15 17:28:09 2002
@@ -1224,7 +1224,7 @@
else
${GHC-ghc} --version > conftestghc 2>&1
cat conftestghc >&5
- ports_cv_ghc_version=`cat conftestghc | sed -n -e 's/, patchlevel *\([0-9]\)/.\1/;s/.* version \([0-9.]\+\).*/\1/p'`
+ ports_cv_ghc_version=`cat conftestghc | sed -n -e 's/, patchlevel *\([0-9]\)/.\1/;s/.* version \([0-9.][0-9.]*\).*/\1/p'`
rm -fr conftest*
if test "$ports_cv_ghc_version" = ""
then