summaryrefslogtreecommitdiff
path: root/p/uuagc
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2012-04-08 20:41:37 +0400
committerJoachim Breitner <mail@joachim-breitner.de>2012-04-08 20:41:37 +0400
commit742c92ed1d5d39fdad04851c39a6cf6d31dbe8bc (patch)
tree5b8a89dbdcdd92c35b7949a54b1a44108ff0ec94 /p/uuagc
parentaa71f69fad6e771a178f11e709fe004ea63152d1 (diff)
downloadDHG_packages-742c92ed1d5d39fdad04851c39a6cf6d31dbe8bc.tar.gz
uuagc: Add patch to build uuagc using the system installed uuagc.
Diffstat (limited to 'p/uuagc')
-rw-r--r--p/uuagc/debian/changelog1
-rw-r--r--p/uuagc/debian/control1
-rw-r--r--p/uuagc/debian/patches/series1
-rw-r--r--p/uuagc/debian/patches/use-uuagc-to-bootstrap35
4 files changed, 37 insertions, 1 deletions
diff --git a/p/uuagc/debian/changelog b/p/uuagc/debian/changelog
index 2a8dba647..d9d418997 100644
--- a/p/uuagc/debian/changelog
+++ b/p/uuagc/debian/changelog
@@ -1,6 +1,7 @@
uuagc (0.9.40.3-1) UNRELEASED; urgency=low
* New upstream release (Closes: #666365)
+ * Add patch to build uuagc using the system installed uuagc.
-- Joachim Breitner <nomeata@debian.org> Fri, 06 Apr 2012 13:30:23 +0200
diff --git a/p/uuagc/debian/control b/p/uuagc/debian/control
index 211ffd65e..9ce035680 100644
--- a/p/uuagc/debian/control
+++ b/p/uuagc/debian/control
@@ -8,7 +8,6 @@ Build-Depends:
, haskell-devscripts (>= 0.8)
, cdbs
, ghc
- , libghc-uuagc-bootstrap-dev (>= 0.9.40.0)
, libghc-uuagc-cabal-dev (>= 1.0.2.0)
, libghc-uulib-dev (>= 0.9.14)
, libghc-mtl-dev (>= 1.1.1.)
diff --git a/p/uuagc/debian/patches/series b/p/uuagc/debian/patches/series
new file mode 100644
index 000000000..524c4163a
--- /dev/null
+++ b/p/uuagc/debian/patches/series
@@ -0,0 +1 @@
+use-uuagc-to-bootstrap
diff --git a/p/uuagc/debian/patches/use-uuagc-to-bootstrap b/p/uuagc/debian/patches/use-uuagc-to-bootstrap
new file mode 100644
index 000000000..e44c486ec
--- /dev/null
+++ b/p/uuagc/debian/patches/use-uuagc-to-bootstrap
@@ -0,0 +1,35 @@
+Description: Use uuagc to bootstrap
+ See http://lists.debian.org/debian-haskell/2012/04/msg00018.html
+Author: Joachim Breitner <nomeata@debian.org>
+
+--- uuagc-0.9.40.3.orig/Setup.hs
++++ uuagc-0.9.40.3/Setup.hs
+@@ -2,8 +2,7 @@ module Main where
+
+ import Distribution.Simple
+ import Distribution.Simple.UUAGC
+-import UU.UUAGC.Bootstrap
+
+ -- uses the bootstrapped version of uuagc to build itself
+-compiler = uuagcBootstrap
+-main = defaultMainWithHooks (uuagcLibUserHook compiler)
++main = defaultMainWithHooks (uuagcUserHook' "uuagc")
++
+--- uuagc-0.9.40.3.orig/uuagc.cabal
++++ uuagc-0.9.40.3/uuagc.cabal
+@@ -22,7 +22,6 @@ extra-source-files: uuagc_options
+ extra-source-files: src-ag/DistChildAttr.ag
+
+ executable uuagc
+- build-depends: uuagc-bootstrap >= 0.9.40.0
+ build-depends: uuagc-cabal >= 1.0.2.0
+ build-depends: base >= 4, base < 5, ghc-prim >= 0.2.0.0
+ build-depends: containers >= 0.3, directory >= 1.0.1.1, array >= 0.3.0.1
+@@ -89,7 +88,6 @@ executable uuagc
+
+
+ library
+- build-depends: uuagc-bootstrap >= 0.9.40.0
+ build-depends: uuagc-cabal >= 1.0.2.0
+ build-depends: base >= 4, base < 5, ghc-prim >= 0.2.0.0
+ build-depends: containers >= 0.3, directory >= 1.0.1.1, array >= 0.3.0.1