From owner-freebsd-ports@FreeBSD.ORG Mon Jul 23 13:31:54 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A8BD106566B; Mon, 23 Jul 2012 13:31:54 +0000 (UTC) (envelope-from makc@freebsd.org) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id 898818FC1B; Mon, 23 Jul 2012 13:31:53 +0000 (UTC) Received: from mercury.ph.man.ac.uk [130.88.75.175:54510] (HELO/EHLO mercury.ph.man.ac.uk, authenticated with LOGIN) by mail.issp.ac.ru with ESMTP/inet id q6NDVe1T033535 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Mon, 23 Jul 2012 17:31:41 +0400 (MSK) From: Max Brazhnikov To: freebsd-gnome@freebsd.org Date: Mon, 23 Jul 2012 13:31:52 +0000 Message-ID: <1766706.FQA5Z9D0Zj@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="us-ascii" X-Mailman-Approved-At: Mon, 23 Jul 2012 13:40:29 +0000 Cc: Doug Barton , 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-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 13:31:54 -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