mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Get the previous configure fix actually right
Obtained from: FreeBSD Haskell
This commit is contained in:
parent
dcbefbef1f
commit
df432f4cd6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364991
@ -14,7 +14,7 @@
|
|||||||
dnl the user to pass them in via LDFLAGS.
|
dnl the user to pass them in via LDFLAGS.
|
||||||
changequote(, )dnl
|
changequote(, )dnl
|
||||||
- GHC_LDFLAGS=`echo $LDFLAGS | sed 's/\(^\| \)\([^ ]\)/\1-optl\2/g'`
|
- 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
|
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
|
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
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user