Ticket #13905: Portfile-ghc-no-cd.diff
File Portfile-ghc-no-cd.diff, 1.2 KB (added by ryandesign (Ryan Carsten Schmidt), 17 years ago) |
---|
-
Portfile
75 75 depends_lib-append port:readline-5 76 76 77 77 pre-configure { 78 cd ${worksrcpath} 79 system "autoreconf" 78 system "cd ${worksrcpath} && autoreconf" 80 79 81 80 set cfg [open "${worksrcpath}/mk/build.mk" w] 82 81 puts $cfg "#" … … 124 123 ${name}-${ghc_bootversion}-darwin-bootstrap-tiger.tar.bz2 125 124 126 125 pre-configure { 127 cd ${worksrcpath} 128 system "autoreconf" 126 system "cd ${worksrcpath} && autoreconf" 129 127 130 128 set cfg [open "${worksrcpath}/mk/build.mk" w] 131 129 puts $cfg "#" … … 172 170 ${name}-${ghc_bootversion}-i386-apple-darwin-bootstrap.tar.bz2 173 171 174 172 pre-configure { 175 cd ${worksrcpath} 176 system "autoreconf" 173 system "cd ${worksrcpath} && autoreconf" 177 174 178 175 set cfg [open "${worksrcpath}/mk/build.mk" w] 179 176 puts $cfg "#" … … 244 241 245 242 reinplace s|${destroot}/${prefix}|${prefix}|g ${destroot}${prefix}/lib/${name}-${version}/package.conf 246 243 247 cd ${destroot}${prefix}/lib/ghc-${version} 248 system "ranlib *.a" 244 system "cd ${destroot}${prefix}/lib/ghc-${version} && ranlib *.a" 249 245 }