packages: ghc/ghc-cabal-flags.patch (NEW) - build fix for pld (ghc build sy...

atler atler at pld-linux.org
Mon Sep 7 02:02:26 CEST 2009


Author: atler                        Date: Mon Sep  7 00:02:26 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- build fix for pld (ghc build system treats $(space)' as a configure args
  separator but all variables in pld (CFLAGS, LDFLAGS...) contain space at the
  end so strip them first)

---- Files affected:
packages/ghc:
   ghc-cabal-flags.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ghc/ghc-cabal-flags.patch
diff -u /dev/null packages/ghc/ghc-cabal-flags.patch:1.1
--- /dev/null	Mon Sep  7 02:02:26 2009
+++ packages/ghc/ghc-cabal-flags.patch	Mon Sep  7 02:02:20 2009
@@ -0,0 +1,11 @@
+--- mk/cabal-flags.mk.orig	2009-09-06 20:21:09.000000000 +0200
++++ mk/cabal-flags.mk	2009-09-06 20:21:44.000000000 +0200
+@@ -21,7 +21,7 @@
+ # being no 's inside the values.
+ FLAGGED_CONFIGURE_ARGS = $(subst $(space)',\
+                                  $(space)--configure-option=',\
+-                                 $(space)$(CONFIGURE_ARGS))
++                                 $(space)$(subst $(space)'$(space)','$(space)',$(CONFIGURE_ARGS)))
+ 
+ COMMON_CONFIGURE_FLAGS =          \
+     --libsubdir='$$pkgid'         \
================================================================


More information about the pld-cvs-commit mailing list