]> gitweb @ CieloNegro.org - pkgsrc-ghc.git/blob - patches/patch-rules_hs-suffix-rules-srcdir.mk
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
[pkgsrc-ghc.git] / patches / patch-rules_hs-suffix-rules-srcdir.mk
1 $NetBSD$
2
3 There is a missing ".hc -> .o" rule in this file, leading to a build
4 failure of Cabal.
5
6
7 --- rules/hs-suffix-rules-srcdir.mk.orig        2012-02-01 18:10:32.000000000 +0000
8 +++ rules/hs-suffix-rules-srcdir.mk
9 @@ -57,6 +57,9 @@ $1/$2/build/%.$$($3_osuf) : $1/$4/%.hc i
10  $1/$2/build/%.$$($3_osuf) : $1/$2/build/%.hc includes/ghcautoconf.h includes/ghcplatform.h
11         "$$($1_$2_CC)" $$($1_$2_$3_ALL_CC_OPTS) -Iincludes -x c -c $$< -o $$@
12  
13 +$1/$2/build/%.$$($3_osuf) : $1/$2/build/autogen/%.hc includes/ghcautoconf.h includes/ghcplatform.h
14 +       "$$($1_$2_CC)" $$($1_$2_$3_ALL_CC_OPTS) -Iincludes -x c -c $$< -o $$@
15 +
16  # $1/$2/build/%.$$($3_osuf) : $1/$2/build/%.$$($3_way_)hc
17  #      "$$($1_$2_HC)" $$($1_$2_$3_ALL_HC_OPTS) -c $$< -o $$@
18  #