Il giorno 11/set/2014 22.54, "Christian Weisgerber" <na...@mips.inka.de> ha scritto: > > On the one hand, we now have exactly one port with a .tar.lzma > distfile and checking the FreeBSD ports tree shows little more.
> On the other hand, adding support for .tar.lzma doesn't cost anything. Indeed, we already handle xz. I'd say just add it. Ciao, David > I'm conflicted. > > Index: bsd.port.mk > =================================================================== > RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v > retrieving revision 1.1281 > diff -u -p -r1.1281 bsd.port.mk > --- bsd.port.mk 9 Sep 2014 09:34:04 -0000 1.1281 > +++ bsd.port.mk 11 Sep 2014 20:48:52 -0000 > @@ -1277,7 +1277,7 @@ EXTRACT_ONLY ?= ${_LIST_DISTFILES} > .if !empty(EXTRACT_ONLY:M*.zip) > _USE_ZIP ?= Yes > .endif > -.if !empty(EXTRACT_ONLY:M*.tar.xz) > +.if !empty(EXTRACT_ONLY:M*.tar.xz) || !empty(EXTRACT_ONLY:M*.tar.lzma) > _USE_XZ ?= Yes > .endif > .if !empty(EXTRACT_ONLY:M*.tar.lz) > @@ -1299,7 +1299,7 @@ _PERL_FIX_SHAR ?= perl -ne 'print if $$s > # XXX note that we DON'T set EXTRACT_SUFX. > .if ${_USE_XZ:L} != "no" > BUILD_DEPENDS += archivers/xz > -EXTRACT_CASES += *.tar.xz) \ > +EXTRACT_CASES += *.tar.xz|*.tar.lzma) \ > xzcat ${FULLDISTDIR}/$$archive| ${TAR} xf -;; > .endif > .if ${_USE_LZIP:L} != "no" > -- > Christian "naddy" Weisgerber na...@mips.inka.de >