Ticket #47255: xz-Portfile.diff

File xz-Portfile.diff, 1.1 KB (added by RJVB (René Bertin), 10 years ago)
  • archivers/xz/Portfile

    old new  
    2626checksums       rmd160  d53db9cb078fa51ad2c1363141e464fd6bdfcfb9 \
    2727                sha256  679148f497e0bff2c1adce42dee5a23f746e71321c33ebb0f641a302e30c2a80
    2828
    29 depends_lib     port:libiconv port:gettext
    30 
    3129configure.args  --with-libiconv-prefix=${prefix} --with-libintl-prefix=${prefix}
    3230
    3331# document that we always need legacy symlinks now that "lzmautils" refers here
     
    3634# the internal "check.h" header conflicts with port check's <check.h>
    3735configure.cppflags -I${worksrcpath}/src/liblzma/check -I${prefix}/include
    3836
     37configure.args-append   --disable-nls
     38default_variants        +nls
     39
     40variant nls description {Build with Native Language Support} {
     41    configure.args-delete   --disable-nls
     42    depends_lib     port:libiconv port:gettext
     43}
     44
    3945livecheck.url   ${homepage}
    4046livecheck.regex xz-(\[0-9.a-z\]*)${extract.suffix}
    4147livecheck.type  regexm