Subject: Re: mklivecd dependency exposes cdrecord/cdrtools-ossdvd issue
To: Greg Troxel <gdt@ir.bbn.com>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 07/28/2004 16:06:10
On Wed, 28 Jul 2004 09:58:13 -0400
Greg Troxel <gdt@ir.bbn.com> wrote:

> I installed cdrtools-ossdvd to be able to write on a dvd writer.   I
> then built mklivecd, and ran into two problems:
> 
>   It required cdrtools, but I cdrtools-ossdvd would do as well, since
>   it's just slightly newer version patched to also handle DVD writers.
> 
>   cdrtools is not marked to conflict with cdrtools-ossdvd, even
>   though they have not just overlapping but _identical_ PLISTS.
> 
> The second is obvious how to fix, but I didn't see how to make a
> package depend on one of two alternates.  Do we need a mkisofs.mk in
> mk?

There are many examples of this in pkgsrc:

cd /usr/pkgsrc ; grep 'DEPENDS.*{.*,' */*/Makefile

-- 
Julio M. Merino Vidal <jmmv@menta.net>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/