New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #17530: Portfile.diff

File Portfile.diff, 0.9 KB (added by mcalhoun@…, 3 years ago)
  • Portfile

    old new  
    4242 
    4343depends_lib \ 
    4444    port:gettext \ 
    45     port:libiconv 
     45    port:libiconv \ 
     46    path:bin/perl:perl5 \ 
     47    port:python26 
    4648 
    4749configure.ldflags-append \ 
    4850    -bind_at_load 
     
    5557    --enable-static \ 
    5658    --mandir=${prefix}/share/man 
    5759 
    58 platform puredarwin { 
    59     depends_run bin:perl:perl5.8 
    60 } 
     60configure.perl    ${prefix}/bin/perl 
     61configure.python  ${prefix}/bin/python2.6 
     62configure.env-append  PERL_PATH=${configure.perl} 
    6163 
    6264post-patch { 
    6365    reinplace "s|data_dirs = \"/usr|data_dirs = \"${prefix}/share:/usr|g" ${worksrcpath}/glib/gutils.c 
    6466    reinplace "s|path = \"/bin|path = \"${prefix}/bin:/bin|g" ${worksrcpath}/glib/gutils.c ${worksrcpath}/glib/gspawn.c 
     67    reinplace "s|#! /usr/bin/env python|#! ${configure.python}|" ${worksrcpath}/glib/gtester-report 
    6568} 
    6669 
    6770platform darwin {