On Mon, 7 Aug 2006 17:03:57 -0400 Kris Kennaway wrote: > On Tue, Aug 08, 2006 at 12:24:49AM +0400, Boris Samorodov wrote: > > On Mon, 7 Aug 2006 15:12:03 -0500 Brooks Davis wrote:
> > > I'd suggest using not using an absolute path in the TAR definition > > > since the dependency check doesn't and using 502111 as the version since > > > that's the first version bump after the initial bsdtar import. Not that > > > we really need to worry about such early 5.x release, but it's more > > > correct. > > > > Thanks again, Brooks. The patch will include (if Kris won't complain): > > ----- > > .if ${OSVERSION} < 502111 > > EXTRACT_DEPENDS+= bsdtar:${PORTSDIR}/archivers/libarchive > > TAR= bsdtar > > .endif > > ----- > Actually I think you do need the absolute path, since it wont always > be set in the environment (think crontabs, etc). The correct > specification would be ${LOCALBASE}/bin/bsdtar. OK. The final patch (I hope) and an example for The Porters Handbook: ----- .if ${OSVERSION} < 502111 EXTRACT_DEPENDS+= bsdtar:${PORTSDIR}/archivers/libarchive TAR= ${LOCALBASE}/bin/bsdtar .endif ----- Thanks all who participated in the thread, especially Brooks, Kris and Pav. ;-) WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"