Ticket #7954: Portfile.diff

File Portfile.diff, 802 bytes (added by jyrki.wahlstedt@…, 18 years ago)

Portfile diff

  • Portfile

    old new  
    33PortSystem 1.0
    44name            midgard-core
    55version         1.7.4
     6revision        1
    67categories      www
    78maintainers     jyrki.wahlstedt@hut.fi
    89description     "A content management system"
     
    3536                --with-expat=${prefix} --with-mysql=${workpath}/mysql5 \
    3637                --with-iconv=${prefix}
    3738
     39post-destroot {
     40        reinplace "s;${workpath}/mysql5/lib;${prefix}/lib/mysql5;" ${destroot}${prefix}/bin/midgard-config
     41        reinplace "s;${workpath}/mysql5/include;${prefix}/include/mysql5;" ${destroot}${prefix}/bin/midgard-config
     42}
     43
    3844variant check {
    3945        depends_lib-append port:check
    4046        configure.args-append --with-check=${prefix}