From owner-freebsd-gnome@FreeBSD.ORG Mon Jul 23 12:55:18 2012 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4ACAB1065672; Mon, 23 Jul 2012 12:55:18 +0000 (UTC) (envelope-from makc@issp.ac.ru) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id DB63B8FC0C; Mon, 23 Jul 2012 12:55:07 +0000 (UTC) Received: from mercury.ph.man.ac.uk [130.88.75.175:1907] (HELO/EHLO mercury.ph.man.ac.uk, authenticated with LOGIN) by mail.issp.ac.ru with ESMTP/inet id q6NCsb0v028509 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Mon, 23 Jul 2012 16:54:37 +0400 (MSK) From: Max Brazhnikov To: freebsd-gnome@freebsd.org Date: Mon, 23 Jul 2012 12:54:45 +0000 Message-ID: <1639720.CveJ0xYgQ0@mercury.ph.man.ac.uk> User-Agent: KMail/4.8.4 (FreeBSD/9.0-STABLE; KDE/4.8.4; amd64; ; ) In-Reply-To: References: <500CA767.2020206@FreeBSD.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Mon, 23 Jul 2012 13:33:58 +0000 Cc: kde@freebsd.org, Kimmo Paasiala , Jeremy Messenger , ruby@freebsd.org, Edwin Groothuis , Scot Hetzel , freebsd-ports@freebsd.org, gnome@freebsd.org, "Jason E. Hale" Subject: Re: Re: How to remove erroneous deps from pkgng X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 12:55:18 -0000 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