Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/ghc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ghc/PKGBUILD')
-rw-r--r--extra/ghc/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/ghc/PKGBUILD b/extra/ghc/PKGBUILD
new file mode 100644
index 00000000..e1aa6b7f
--- /dev/null
+++ b/extra/ghc/PKGBUILD
@@ -0,0 +1,11 @@
+# bootstrapping from binary version (when ghc-static is broken)
+makedepends=(${makedepends[@]//ghc-static/})
+makedepends_i486+=(ghc90-bin libffi33)
+makedepends_i686+=("${makedepends_i486[@]}")
+makedepends_pentium4=("${makedepends_i686[@]}")
+eval "$(
+ declare -f build | \
+ sed '
+ s|./configure|GHC=/usr/bin/ghc-9.0 ./configure|
+ '
+)"