Catch up with xz import

Kevin Lo kevlo at FreeBSD.org
Thu May 20 02:20:07 UTC 2010


Christian Weisgerber wrote:
> (This goes to all the maintainers of ports with an archivers/xz
> dependency.)
> 
> The xz utils and lzma library have been imported into base for
> 9.0-CURRENT and 8.0-STABLE.  The patch below makes the dependency
> on the archivers/xz port conditional on OSVERSION.
> 
> I have not bumped PORTREVISION.  (People might update the ports
> right now, but base only later, so incrementing PORTREVISION doesn't
> really help, I think.)
> 
> Please check and comment.  I intend to commit this soon.
> 
> 
> Index: archivers/deco/Makefile
> ===================================================================
> RCS file: /home/pcvs/ports/archivers/deco/Makefile,v
> retrieving revision 1.15
> diff -u -r1.15 Makefile
> --- archivers/deco/Makefile	14 Apr 2010 06:17:26 -0000	1.15
> +++ archivers/deco/Makefile	19 May 2010 17:27:43 -0000
> @@ -20,7 +20,6 @@
>  		arj:${PORTSDIR}/archivers/arj \
>  		cabextract:${PORTSDIR}/archivers/cabextract \
>  		dpkg:${PORTSDIR}/archivers/dpkg \
> -		lzma:${PORTSDIR}/archivers/xz \
>  		lzop:${PORTSDIR}/archivers/lzop \
>  		7z:${PORTSDIR}/archivers/p7zip \
>  		rpm:${PORTSDIR}/archivers/rpm \
> @@ -48,4 +47,10 @@
>  .endfor
>  	@cd ${WRKDIR}/${PORTNAME}-archive-1.5.1/ && ${CP} -pPR * ${DATADIR}
>  
> -.include <bsd.port.mk>
> +.include <bsd.port.pre.mk>
> +
> +.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
> +RUN_DEPENDS+=	lzma:${PORTSDIR}/archivers/xz
> +.endif
> +
> +.include <bsd.port.post.mk>

Please commit it, thanks!

	Kevin




More information about the freebsd-ports mailing list