Ticket #43440: znc-mod-python.diff

File znc-mod-python.diff, 1.1 KB (added by Feuermurmel (Michael Schwarz), 10 years ago)
  • irc/znc/Portfile

    old new  
    3131    reinplace "s|-Wno-strict-overflow||g" ${worksrcpath}/modules/modperl/Makefile.inc
    3232}
    3333
     34variant python33 description {Build with support for extension modules written in Python.} {
     35        compiler.blacklist      *clang*
     36    configure.env-append    PKG_CONFIG_PATH=${frameworks_dir}/Python.framework/Versions/3.3/lib/pkgconfig
     37    depends_lib-append      port:python33
     38    configure.args-append   --enable-python
     39}
     40
     41variant python34 description {Build with support for extension modules written in Python.} {
     42        compiler.blacklist      *clang*
     43    configure.env-append    PKG_CONFIG_PATH=${frameworks_dir}/Python.framework/Versions/3.4/lib/pkgconfig
     44    depends_lib-append      port:python34
     45    configure.args-append   --enable-python
     46}
     47
    3448livecheck.type      regex
    3549livecheck.url       ${homepage}releases/
    3650livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}