Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2002 09:06:00 -0400 (EDT)
From:      Trish Lynch <trish@bsdunix.net>
To:        Jochem Kossen <j.kossen@home.nl>
Cc:        <freebsd-ports@FreeBSD.ORG>
Subject:   Re: optional dependencies
Message-ID:  <20020525090240.O444-100000@femme.listmistress.org>
In-Reply-To: <20020525125354.GA62149@jochem.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 25 May 2002, Jochem Kossen wrote:

> Hi folks,
>
> One of my ports was just committed, audio/cplay. CPlay is a frontend to
> various mp3/ogg/whatever players, and it's written in Python (i.e. it
> doesn't need to be compiled).
>
> So the issue is, should i list the various players as (optional)
> RUN_DEPENDS or should I just create a pkg-message which says to install
> at least one player?
>

I would go with the pkg-message way, personally.

My reason: since there are muliple choices for players, having RUN_DEPENDS
defined would most likely force the user to edit the Makefile in order to
have these dependencies work with the player of choice. With a message,
you can at least notify them that it won;t work without one of x  number
of players listed installed.


> Technically spoken, cplay runs without a single player, but then you
> can't play any music. If I specify a single dependency on one player, i
> have to make a choice which is always wrong...
>

see above, you kinda answered your own question though :)

-Trish

--
Trish Lynch					trish@bsdunix.net
FreeBSD						The Power to Serve
Ecartis Core Team				trish@listmistress.org
                   http://www.freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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