pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: non-blocking dependencies



On Wed, 20 Jan 2010 17:28:45 -0600 Larson, Timothy E. wrote:
> > On Wed, Jan 20, 2010 at 04:18:19PM -0600, Larson, Timothy E. wrote:
> > > Is there a way to mark a dependency as non-critical, and won't
> > stop
> > > the build if it doesn't exist?
> > 
> > No. The concept of "optional" dependencies is IMO obscure at best.
> 
> I just gave two concrete examples of their usefulness.
> 
> If I could guarantee dependencies' availability, that would be great,
> but I can't.  I can't get doxygen to build on my primary pkgsrc box,
> which is Solaris 9.  Anything that depends on doxygen is "broken" even
> though I'd probably only lose documentation.  I can live without
> documentation if I have to.  So far, I've been putting the build
> dependency in an ugly if-not-SunOS block.  
> 
> I understand it would probably add a lot more complexity to pkgsrc if
> implemented, though.

IMHO if a package that depends on another one can be used without, it
should be considered to introduce corresponding option to the package.

But in that particular case I'd go with fixing the doxygen.

--
Mishka.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index