[kde-freebsd] Obsolete use of DEPENDS?

Kris Kennaway kris at obsecurity.org
Sat Jan 28 15:34:39 PST 2006


On Sun, Jan 29, 2006 at 12:31:25AM +0100, Michael Nottebrock wrote:
> Kris Kennaway schrieb:
> > It seems to me that the DEPENDS variable is obsolete - thesedays it
> > can be replaced more usefully and correctly by the other *_DEPENDS
> > variables.  It's still in use by a handful of ports:
> > 
> > ./x11/kdelibs3/Makefile:DEPENDS=        ${PORTSDIR}/misc/kdehier
> > ./audio/klira/Makefile:DEPENDS= ${PORTSDIR}/misc/kdehier
> > ./www/caudium12/Makefile:DEPENDS=       ${PORTSDIR}/lang/pexts/
> > ./lang/pm3-forms/Makefile:DEPENDS=      ${PORTSDIR}/lang/pm3-base:configure
> > ./lang/pm3-gui/Makefile:DEPENDS=        ${PORTSDIR}/lang/pm3-base:configure
> > ./lang/pm3-net/Makefile:DEPENDS=        ${PORTSDIR}/lang/pm3-base:configure
> > ./lang/pm3-m3tk/Makefile:DEPENDS=       ${PORTSDIR}/lang/pm3-base:configure
> > ./lang/pm3-netobj/Makefile:DEPENDS=     ${PORTSDIR}/lang/pm3-base:configure
> > ./print/virtualpaper/Makefile:DEPENDS=  ${PORTSDIR}/lang/pm3-base:configure
> > 
> > Is it actually necessary, or can it be removed?
> 
> It's the easiest and most reliable way of depending on kdehier - in
> particular because it doesn't require a particular file to depend on. It
> could probably be replaced by RUN_DEPENDS+BUILD_DEPENDS if it were to go
> away though.

The main problem with it is that it adds to FETCH_DEPENDS,
PATCH_DEPENDS and EXTRACT_DEPENDS too, which are usually bogus.  I'd
prefer to find a better way to do it.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060128/2958b321/attachment.bin


More information about the freebsd-ports mailing list