summaryrefslogtreecommitdiff
path: root/p/ghc
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2014-12-08 21:07:51 +0300
committerJoachim Breitner <mail@joachim-breitner.de>2014-12-08 21:07:51 +0300
commit9e80888a50041d79aa9ef9e42444ef1c3a341291 (patch)
tree6d867777b773359514d229e81385c7360691f1c2 /p/ghc
parentb82d0ccda0e46e8c015f39172368dec779e184c9 (diff)
downloadDHG_packages-9e80888a50041d79aa9ef9e42444ef1c3a341291.tar.gz
ghc: Try to handle autoreconf saner, by simply calling perl bool
Diffstat (limited to 'p/ghc')
-rw-r--r--p/ghc/debian/changelog1
-rwxr-xr-xp/ghc/debian/rules14
2 files changed, 3 insertions, 12 deletions
diff --git a/p/ghc/debian/changelog b/p/ghc/debian/changelog
index 4d5839efd..6bca4c6b4 100644
--- a/p/ghc/debian/changelog
+++ b/p/ghc/debian/changelog
@@ -9,6 +9,7 @@ ghc (7.8.20141119-7) UNRELEASED; urgency=medium
* Pass -fuse-ld=gold to gcc when used as alinker on arm
(patches/use-gold-on-arm) and make sure this setting does not affect other
parts (patches/saner-linker-opt-handling).
+ * Try to handle autoreconf saner, by simply calling perl bool
-- Joachim Breitner <nomeata@debian.org> Mon, 08 Dec 2014 18:46:19 +0100
diff --git a/p/ghc/debian/rules b/p/ghc/debian/rules
index 90b5ba66f..f0ac4cfeb 100755
--- a/p/ghc/debian/rules
+++ b/p/ghc/debian/rules
@@ -42,20 +42,10 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
endif
-
-autoreconf:
- autoreconf -fi
- for c_g in $$(find -type f -name config.guess); do \
- cp -f /usr/share/misc/config.guess "$$c_g"; \
- done
- for c_s in $$(find -type f -name config.sub); do \
- cp -f /usr/share/misc/config.sub "$$c_s"; \
- done
-
configure: configure-stamp
configure-stamp:
dh_testdir
- dh_autoreconf debian/rules -- autoreconf
+ dh_autoreconf perl -- boot
rm -f mk/build.mk
echo "SRC_HC_OPTS += -lffi -optl-pthread" >> mk/build.mk
@@ -274,7 +264,7 @@ clean:
rm -rf libraries/dph libraries/primitive libraries/vector libraries/random
$(MAKE) distclean
- rm -f config.sub config.guess
+
rm -f debian/*.install
rm -f debian/*.1
rm -f debian/ghc.manpages