Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2010 09:57:44 +0800
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        naddy@FreeBSD.org
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: Catch up with xz import
Message-ID:  <1274320664.2123.2.camel@monet>
In-Reply-To: <20100519174244.GA18151@lorvorc.mips.inka.de>
References:  <20100519174244.GA18151@lorvorc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1274320664.2123.2.camel>