Ticket #19554: cpphs_13.diff

File cpphs_13.diff, 1.0 KB (added by anthony.lauzon@…, 15 years ago)

diff patch to get cpphs to build/install

Line 
121,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"
725,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}"
1329,30c29,30
14< build         {
15<                 system "cd ${worksrcpath} && ${worksrcpath}/Setup build -v"
16---
17> build         { cd ${worksrcpath}
18>                 system "./Setup build -v"
1933c33
20< destroot      {
21---
22> destroot      { cd ${worksrcpath}
2335,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"