Subject: Re: mklivecd dependency exposes cdrecord/cdrtools-ossdvd issue
To: Greg Troxel <>
From: Julio M. Merino Vidal <>
List: tech-pkg
Date: 07/28/2004 16:06:10
On Wed, 28 Jul 2004 09:58:13 -0400
Greg Troxel <> 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 in
> mk?

There are many examples of this in pkgsrc:

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

Julio M. Merino Vidal <>
The NetBSD Project -