Ticket #19202: portfile.diff

File portfile.diff, 581 bytes (added by krunk7@…, 16 years ago)

Portfile Patch

  • Portfile

    old new  
    5353  configure.args-append --enable-cplex
    5454}
    5555
    56 variant python description {build the python interface} {
    57 }
    5856
    5957variant atlas description {use the fast atlas and lapack libraries} {
    6058  depends_lib-append port:atlas
     
    6866  depends_lib-append port:lp_solve
    6967}
    7068
    71 post-destroot {
    72     reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/src/configure
     69pre-configure {
     70    reinplace s|@PREFIX@|${prefix}|g ${worksrcpath}/configure
    7371}
    7472
    7573post-clean {