aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2014-08-16 00:17:42 +0800
committerpgj <pgj@FreeBSD.org>2014-08-16 00:17:42 +0800
commita45d86727a71b90ddffa93bda6db0d48eb354640 (patch)
tree0ebf53432986b0f29325939d906ffb6cc7095980 /lang
parent19175563c22be085c3c368517fbb03afb36f7570 (diff)
downloadfreebsd-ports-gnome-a45d86727a71b90ddffa93bda6db0d48eb354640.tar.gz
freebsd-ports-gnome-a45d86727a71b90ddffa93bda6db0d48eb354640.tar.zst
freebsd-ports-gnome-a45d86727a71b90ddffa93bda6db0d48eb354640.zip
- Get the previous configure fix actually right
Obtained from: FreeBSD Haskell
Diffstat (limited to 'lang')
-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