Ticket #44405: frozenbubble2-patch-perl5.16.diff
File frozenbubble2-patch-perl5.16.diff, 1.2 KB (added by mojca (Mojca Miklavec), 10 years ago) |
---|
-
Portfile
6 6 name frozenbubble2 7 7 categories games 8 8 version 2.2.0 9 revision 29 revision 3 10 10 platforms darwin 11 11 maintainers nomaintainer 12 12 … … 30 30 port:libsdl_image \ 31 31 port:libsdl_mixer \ 32 32 port:libsdl_pango \ 33 port:perl5.1 2\34 port:p5.1 2-sdl_perl35 depends_run port:p5.1 2-locale-gettext33 port:perl5.16 \ 34 port:p5.16-sdl_perl 35 depends_run port:p5.16-locale-gettext 36 36 37 37 livecheck.type freecode 38 38 livecheck.name frozen-bubble … … 47 47 48 48 post-patch { 49 49 foreach file [glob ${worksrcpath}/frozen-bubble*] { 50 reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.1 2|g" ${file}50 reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|g" ${file} 51 51 } 52 reinplace "s|__PERL__|${prefix}/bin/perl5.1 2|" ${worksrcpath}/Makefile \52 reinplace "s|__PERL__|${prefix}/bin/perl5.16|" ${worksrcpath}/Makefile \ 53 53 ${worksrcpath}/c_stuff/Makefile 54 54 } 55 55