Ticket #43150: patch-wxPerl.diff
File patch-wxPerl.diff, 1.7 KB (added by mojca (Mojca Miklavec), 11 years ago) |
---|
-
p5-alien-wxwidgets/Portfile
22 22 checksums rmd160 3a0e7e312ca2c141d20b66ae123af53b1602fad4 \ 23 23 sha256 b4772a319d78cd3c933e90d7bd2f766cd57216c5234abdfd2c43a10ba83c8f40 24 24 25 # version 0.64 officially supports just wxWidgets versions up to 2.9.426 # but this only seems to be related to patching (when fetching files on the fly)27 wxWidgets.use wxWidgets-3.028 25 # this is needed to use Build.Pl instead of Makefile.PL - the proper way (per author) 29 26 # (else --wxWidgets-build=0 doesn't work) 30 27 perl5.use_module_build 31 28 32 29 if {${perl5.major} != ""} { 30 # https://trac.macports.org/ticket/43150 31 if {(${os.major} >= 13 && ${perl5.major} <= 5.16) || ${perl5.major} <= 5.14} { 32 wxWidgets.use wxPerl-3.0 33 } else { 34 wxWidgets.use wxWidgets-3.0 35 } 36 33 37 depends_lib-append port:${wxWidgets.port} 34 38 35 39 # author says that Makefile.PL shouldn't be there -
p5-wx/Portfile
23 23 sha256 93e974c7d5ae2c66fe2f3de14988d372cea5b9b5e3da6798776aa90efe7442c9 24 24 25 25 if {${perl5.major} != ""} { 26 wxWidgets.use wxWidgets-3.0 26 # https://trac.macports.org/ticket/43150 27 if {(${os.major} >= 13 && ${perl5.major} <= 5.16) || ${perl5.major} <= 5.14} { 28 wxWidgets.use wxPerl-3.0 29 } else { 30 wxWidgets.use wxWidgets-3.0 31 } 27 32 28 33 depends_build-append \ 29 34 port:p${perl5.major}-extutils-xspp