New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 80859


Ignore:
Timestamp:
07/19/11 11:26:37 (4 years ago)
Author:
blair@…
Message:

gdb: resolve #30002 by renaming fsf-gdb* to ggdb* and making links in
${prefix}/libexec/gnubin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/gdb/Portfile

    r76003 r80859  
    66name            gdb 
    77version         7.2 
     8revision        1 
    89categories      devel 
    910maintainers     dweber openmaintainer 
     
    5152    --mandir=${prefix}/share/man \ 
    5253    --with-docdir=${prefix}/share/doc \ 
    53     --program-prefix=fsf- 
     54    --program-prefix=g 
    5455 
    5556configure.cflags-append     -I${prefix}/include 
     
    5758 
    5859post-destroot { 
    59     system "chgrp procmod ${destroot}${prefix}/bin/fsf-gdb*" 
    60     system "chmod g+s ${destroot}${prefix}/bin/fsf-gdb*" 
     60    system "chgrp procmod ${destroot}${prefix}/bin/ggdb*" 
     61    system "chmod g+s ${destroot}${prefix}/bin/ggdb*" 
     62 
    6163    move ${destroot}${prefix}/share/info/standards.info ${destroot}${prefix}/share/info/gdb-standards.info 
     64 
     65    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin 
     66    foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] { 
     67        ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end] 
     68    } 
     69 
    6270} 
Note: See TracChangeset for help on using the changeset viewer.