Subject: RE: adding Xaw3d
To: Tim Rightnour <root@garbled.net>
From: Hubert Feyrer <hubert.feyrer@rrzc1.rz.uni-regensburg.de>
List: tech-pkg
Date: 07/15/1998 17:04:38
On Wed, 15 Jul 1998, Tim Rightnour wrote:
> If I was building this by hand.. I would just change the -lXaw to -lXaw3d (or
> -lXaw-Xpm if that was my preference)
> 
> however, if you make a pkg that uses the Xaw3d widget, you force the user to
> make that choice.  For someone like me, who wants Xaw-Xpm widgets.. it's
> slightly annoying.. For someone with low mem or a pissy video card, you force
> them to use a server hog widget set.  There really needs to be a way we can
> deal with optional dependencies.  I don't really have any good ideas though..

PREFERRED_XPM=	Xaw|Xaw3d|Xaw-Xpm ?

-> 1. -l${PREFERRED_XPM}
   2. DEPENDS+=${PREFERRED_XPM}-*:../../x11/${PREFERRED_XPM}

Ewww, pkg options. :)


 - Hubert

--
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>