Changeset 26683


Ignore:
Timestamp:
Jul 3, 2007, 6:19:02 PM (13 years ago)
Author:
jmpp@…
Message:

Rework the post-destroot stage (you only need to cd into the dir once, not in every iteration of the loop)
and get rid of unnecessary system calls. Also while at it, enable building of the documentation, it adds
no extra deps and the more the better, always! (as long, of course, as it's good quality ;-).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/mysql5/Portfile

    r26483 r26683  
    4848                                --with-unix-socket-path=${prefix}/var/run/${name}/mysqld.sock \
    4949                                --with-mysqld-user=${mysqluser} \
    50                                 --without-docs \
    5150                                --without-bench \
    5251                                --enable-thread-safe-client
     52
     53
     54#                               --without-docs \
     55
     56
    5357
    5458platform darwin 8 {
     
    8791
    8892post-destroot {
    89         system "rm -rf ${destroot}${prefix}/mysql-test/"
     93        delete ${destroot}${prefix}/mysql-test
    9094       
    9195        # Symlink mysql binaries into bin directory, with a 5 appended to the name
     96        cd ${destroot}${prefix}/bin
    9297        foreach f [glob -tails -directory ${destroot}${prefix}/lib/${name}/bin my*] {
    93                 system "cd ${destroot}${prefix}/bin && ln -sf ../lib/${name}/bin/${f} ${f}5"
     98                ln -sf ../lib/${name}/bin/${f}5
    9499        }
    95100}
Note: See TracChangeset for help on using the changeset viewer.