Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2012 12:54:45 +0000
From:      Max Brazhnikov <makc@issp.ac.ru>
To:        freebsd-gnome@freebsd.org
Cc:        kde@freebsd.org, Kimmo Paasiala <kpaasial@gmail.com>, Jeremy Messenger <mezz.freebsd@gmail.com>, ruby@freebsd.org, Edwin Groothuis <edwin@mavetju.org>, Scot Hetzel <swhetzel@gmail.com>, freebsd-ports@freebsd.org, gnome@freebsd.org, "Jason E. Hale" <bsdkaffee@gmail.com>
Subject:   Re: Re: How to remove erroneous deps from pkgng
Message-ID:  <1639720.CveJ0xYgQ0@mercury.ph.man.ac.uk>
In-Reply-To: <CA%2B7WWSeAbM9X9cv=9Hk9V9Or48H0m-e9vAHXPr_MUNFcUrw=BA@mail.gmail.com>
References:  <D0056D18EAAD41119F26D0715FA52FB6@Rivendell> <500CA767.2020206@FreeBSD.org> <CA%2B7WWSeAbM9X9cv=9Hk9V9Or48H0m-e9vAHXPr_MUNFcUrw=BA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 23 Jul 2012 04:37:08 +0300 Kimmo Paasiala wrote:
> Looking at the bsd.kde4.mk it looks like there's not much logic to
> detect the "right" kind of dependency. It seems to use suffixes _build
> and _run to achieve the same effect as pkgconfig:build and
> pkgconfig:run would have. 
Right.

> It defaults to both build and run dependency
> if no type is specified.
This is not correct. For example, USE_KDE4= automoc4 (without any suffix) will 
bring BUILD only dependency on devel/automoc4. The great majority ports don't 
need ever possibility to run depend on build tools like automoc4, but kde4.mk 
still provides it (the only consumer if automoc4_run can be IDE, I suppose).

The way USE_KDE4 is implemented allows to minimize the use of suffixes, that's 
the right way in my understanding.

Max



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