1 | 21,22c21,22 |
---|
2 | < pre-configure { |
---|
3 | < system "ghc -o ${worksrcpath}/Setup ${worksrcpath}/Setup.hs -package Cabal" |
---|
4 | --- |
---|
5 | > pre-configure { cd ${worksrcpath} |
---|
6 | > system "ghc -o Setup Setup.hs -package Cabal" |
---|
7 | 25,26c25,26 |
---|
8 | < configure { |
---|
9 | < system "cd ${worksrcpath} && ${worksrcpath}/Setup configure --ghc --prefix=${prefix}" |
---|
10 | --- |
---|
11 | > configure { cd ${worksrcpath} |
---|
12 | > system "./Setup configure --ghc --prefix=${prefix}" |
---|
13 | 29,30c29,30 |
---|
14 | < build { |
---|
15 | < system "cd ${worksrcpath} && ${worksrcpath}/Setup build -v" |
---|
16 | --- |
---|
17 | > build { cd ${worksrcpath} |
---|
18 | > system "./Setup build -v" |
---|
19 | 33c33 |
---|
20 | < destroot { |
---|
21 | --- |
---|
22 | > destroot { cd ${worksrcpath} |
---|
23 | 35,37c35,37 |
---|
24 | < system "cd ${worksrcpath} && ${worksrcpath}/Setup copy --copy-prefix=${destroot}${prefix}" |
---|
25 | < system "cd ${worksrcpath} && ${worksrcpath}/Setup register --gen-script" |
---|
26 | < system "cd ${worksrcpath} && ${worksrcpath}/Setup unregister --gen-script" |
---|
27 | --- |
---|
28 | > system "./Setup copy --copy-prefix=${destroot}${prefix}" |
---|
29 | > system "./Setup register --gen-script" |
---|
30 | > system "./Setup unregister --gen-script" |
---|