]> gitweb @ CieloNegro.org - pkgsrc-ghc.git/blobdiff - patches/patch-rules_hs-suffix-rules-srcdir.mk
GHC 7.4.1 for powerpc-apple-darwin
[pkgsrc-ghc.git] / patches / patch-rules_hs-suffix-rules-srcdir.mk
similarity index 51%
rename from patches/patch-aj
rename to patches/patch-rules_hs-suffix-rules-srcdir.mk
index 5e045dbc76b201bbaf31dc48559b15985b5a4587..818b8798e1fe424e3099b994135576c1085f79bf 100644 (file)
@@ -1,13 +1,17 @@
 $NetBSD$
 
---- rules/hs-suffix-rules-srcdir.mk.orig       2011-03-26 18:10:07.000000000 +0000
+There is a missing ".hc -> .o" rule in this file, leading to a build
+failure of Cabal.
+
+
+--- rules/hs-suffix-rules-srcdir.mk.orig       2012-02-01 18:10:32.000000000 +0000
 +++ rules/hs-suffix-rules-srcdir.mk
-@@ -55,6 +55,9 @@ $1/$2/build/%.$$($3_osuf) : $1/$4/%.hc i
+@@ -57,6 +57,9 @@ $1/$2/build/%.$$($3_osuf) : $1/$4/%.hc i
  $1/$2/build/%.$$($3_osuf) : $1/$2/build/%.hc includes/ghcautoconf.h includes/ghcplatform.h
-       "$$(CC)" $$($1_$2_$3_ALL_CC_OPTS) -Iincludes -x c -c $$< -o $$@
+       "$$($1_$2_CC)" $$($1_$2_$3_ALL_CC_OPTS) -Iincludes -x c -c $$< -o $$@
  
 +$1/$2/build/%.$$($3_osuf) : $1/$2/build/autogen/%.hc includes/ghcautoconf.h includes/ghcplatform.h
-+      "$$(CC)" $$($1_$2_$3_ALL_CC_OPTS) -Iincludes -x c -c $$< -o $$@
++      "$$($1_$2_CC)" $$($1_$2_$3_ALL_CC_OPTS) -Iincludes -x c -c $$< -o $$@
 +
  # $1/$2/build/%.$$($3_osuf) : $1/$2/build/%.$$($3_way_)hc
  #     "$$($1_$2_HC)" $$($1_$2_$3_ALL_HC_OPTS) -c $$< -o $$@