On Tue, May 24, 2011 at 09:26:47PM +0900, Hideki Yamane wrote:
>  Maybe simply specify "ghc" is better for future transtion.
>  I can build this package with below patch.
> 
> 
> diff -urN drift-2.2.3.orig/debian/rules drift-2.2.3/debian/rules
> --- drift-2.2.3.orig/debian/rules       2011-05-24 16:03:05.000000000 +0900
> +++ drift-2.2.3/debian/rules    2011-05-24 16:03:27.385660625 +0900
> @@ -4,7 +4,7 @@
>  include /usr/share/cdbs/1/rules/debhelper.mk
>  include /usr/share/cdbs/1/rules/dpatch.mk
> 
> -DEB_CONFIGURE_EXTRA_FLAGS := --with-hc=ghc6
> +DEB_CONFIGURE_EXTRA_FLAGS := --with-hc=ghc
> 
>  ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
>         DEB_CONFIGURE_EXTRA_FLAGS := $(DEB_CONFIGURE_EXTRA_FLAGS)
> --with-hcflags="-O0"

Yes, although the control file needs to be updated too.  Here's a more
complete patch.

diff -u drift-2.2.3/debian/rules drift-2.2.3/debian/rules
--- drift-2.2.3/debian/rules
+++ drift-2.2.3/debian/rules
@@ -4,7 +4,7 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/dpatch.mk
 
-DEB_CONFIGURE_EXTRA_FLAGS := --with-hc=ghc6
+DEB_CONFIGURE_EXTRA_FLAGS := --with-hc=ghc
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        DEB_CONFIGURE_EXTRA_FLAGS := $(DEB_CONFIGURE_EXTRA_FLAGS) 
--with-hcflags="-O0"
diff -u drift-2.2.3/debian/control drift-2.2.3/debian/control
--- drift-2.2.3/debian/control
+++ drift-2.2.3/debian/control
@@ -2,7 +2,7 @@
 Section: devel
 Priority: optional
 Maintainer: Arjan Oosting <ar...@debian.org>
-Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 5.0.0), 
dpatch, ghc6, texlive-latex-base | tetex-bin, tex-common (>= 0.23), texinfo, 
texi2html
+Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 5.0.0), 
dpatch, ghc, texlive-latex-base | tetex-bin, tex-common (>= 0.23), texinfo, 
texi2html
 Standards-Version: 3.7.3
 Vcs-Svn: svn://svn.debian.org/svn/pkg-haskell/packages/drift/trunk
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-haskell/packages/drift/trunk
@@ -12,7 +12,7 @@
 Architecture: any
 Section: devel
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Recommends: ghc6
+Recommends: ghc
 Suggests: doc-base
 Description: type sensitive preprocessor for Haskell
  DrIFT automates instance derivation for classes that aren't supported

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to