aboutsummaryrefslogtreecommitdiff
path: root/lang/ghc
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2014-08-15 16:17:42 +0000
committerGabor Pali <pgj@FreeBSD.org>2014-08-15 16:17:42 +0000
commitdf432f4cd68d231e2c60e14e3958cf28e4b3d406 (patch)
tree0ebf53432986b0f29325939d906ffb6cc7095980 /lang/ghc
parentdcbefbef1f6715b47634253650ba0a786b06e87c (diff)
Notes
Diffstat (limited to 'lang/ghc')
-rw-r--r--lang/ghc/files/patch-aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/ghc/files/patch-aclocal.m4 b/lang/ghc/files/patch-aclocal.m4
index 8dc8815f3e13..e4727230d96d 100644
--- a/lang/ghc/files/patch-aclocal.m4
+++ b/lang/ghc/files/patch-aclocal.m4
@@ -14,7 +14,7 @@
dnl the user to pass them in via LDFLAGS.
changequote(, )dnl
- GHC_LDFLAGS=`echo $LDFLAGS | sed 's/\(^\| \)\([^ ]\)/\1-optl\2/g'`
-+ GHC_LDFLAGS=`echo $LDFLAGS | sed -E 's/\(^\| \)\([^ ]\)/\1-optl\2/g'`
++ GHC_LDFLAGS=`echo $LDFLAGS | sed -r 's/(^| )([^ ])/\1-optl\2/g'`
changequote([, ])dnl
if ! "$WithGhc" $GHC_LDFLAGS -v0 -no-user-$GHC_PACKAGE_DB_FLAG -hidir utils/ghc-pwd/dist-boot -odir utils/ghc-pwd/dist-boot -stubdir utils/ghc-pwd/dist-boot --make utils/ghc-pwd/Main.hs -o utils/ghc-pwd/dist-boot/ghc-pwd
then