Ticket #17530: Portfile.diff
File Portfile.diff, 930 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago) |
---|
-
Portfile
old new 42 42 43 43 depends_lib \ 44 44 port:gettext \ 45 port:libiconv 45 port:libiconv \ 46 path:bin/perl:perl5 \ 47 port:python26 46 48 47 49 configure.ldflags-append \ 48 50 -bind_at_load … … 55 57 --enable-static \ 56 58 --mandir=${prefix}/share/man 57 59 58 platform puredarwin { 59 depends_run bin:perl:perl5.8 60 }60 configure.perl ${prefix}/bin/perl 61 configure.python ${prefix}/bin/python2.6 62 configure.env-append PERL_PATH=${configure.perl} 61 63 62 64 post-patch { 63 65 reinplace "s|data_dirs = \"/usr|data_dirs = \"${prefix}/share:/usr|g" ${worksrcpath}/glib/gutils.c 64 66 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 65 68 } 66 69 67 70 platform darwin {