aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-x[-rw-r--r--]Setup.hs1
-rw-r--r--debian/changelog14
3 files changed, 16 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 96a84862a..7a13a1628 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ MANDIR := man
TESTDIR := tests
BUILDDIR := dist
BUILDCONF := .setup-config
-BUILDCMD := runhaskell Setup.hs
+BUILDCMD := ./Setup.hs
BUILDVARS := vars
CONFIGURE := configure
diff --git a/Setup.hs b/Setup.hs
index 9a994af67..cd7dc3277 100644..100755
--- a/Setup.hs
+++ b/Setup.hs
@@ -1,2 +1,3 @@
+#!/usr/bin/env runhaskell
import Distribution.Simple
main = defaultMain
diff --git a/debian/changelog b/debian/changelog
index c32872cb7..0d88fc7d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+pandoc (0.44) unstable; urgency=low
+
+ [ Recai Oktaş ]
+
+ * Use ./Setup.hs instead of runhaskell, which, on some platforms (such as
+ s390, alpha, m68k), throws the following error:
+
+ runhaskell Setup.hs configure --prefix=/usr
+ ghc-6.6.1: not built for interactive use
+
+ This causes a serious FTBFS bug. Closes: #440668.
+
+ -- Recai Oktaş <roktas@debian.org> Mon, 03 Sep 2007 18:24:02 +0300
+
pandoc (0.43) unstable; urgency=low
[ John MacFarlane ]