openbsd-ports/lang/ghc/patches/patch-configure
kili 5df364205b Update to ghc-7.6.3, revert my last two obsolete changes and
mark it as broken until all depending ports have been updated.
2013-07-18 21:43:23 +00:00

22 lines
1.2 KiB
Plaintext

$OpenBSD: patch-configure,v 1.12 2013/07/18 21:43:23 kili Exp $
--- configure.orig Fri Apr 19 00:47:00 2013
+++ configure Sun Jul 7 16:02:19 2013
@@ -3863,7 +3863,7 @@ fi
$as_echo "$as_me: Building in-tree ghc-pwd" >&6;}
rm -rf utils/ghc-pwd/dist-boot
mkdir utils/ghc-pwd/dist-boot
- if ! "$WithGhc" -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" -optl -nopie -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
as_fn_error $? "Building ghc-pwd failed" "$LINENO" 5
fi
@@ -6185,7 +6185,7 @@ $as_echo_n "checking for extra options to pass gcc whe
if test "${fp_cv_gcc_extra_opts+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- fp_cv_gcc_extra_opts=
+ fp_cv_gcc_extra_opts=-fno-pie
fp_version1=$fp_cv_gcc_version; fp_version2=3.4
fp_save_IFS=$IFS; IFS='.'
while test x"$fp_version1" != x || test x"$fp_version2" != x