From owner-freebsd-pkg@FreeBSD.ORG Wed Jul 2 10:56:28 2014 Return-Path: Delivered-To: pkg@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03381C8F for ; Wed, 2 Jul 2014 10:56:28 +0000 (UTC) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 87C56271C for ; Wed, 2 Jul 2014 10:56:27 +0000 (UTC) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id s62AuPj3065565 for ; Wed, 2 Jul 2014 12:56:25 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 6A13E315C; Wed, 2 Jul 2014 12:56:25 +0200 (CEST) Message-ID: <53B3E558.90607@omnilan.de> Date: Wed, 02 Jul 2014 12:56:24 +0200 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: pkg@FreeBSD.org Subject: Re: USE_PACKAGE_DEPENDS dependencies and ports fallback References: <53B3D3BE.5040007@omnilan.de> In-Reply-To: <53B3D3BE.5040007@omnilan.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Wed, 02 Jul 2014 12:56:25 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 10:56:28 -0000 Bezüglich Harry Schmalzbauer's Nachricht vom 02.07.2014 11:41 (localtime): > Hello, > > please set me CC, I'm not subscribed, thanks. > > I set USE_PACKAGE_DEPENDS together with PKGNG(=devel) on 9.2. … > Since I'm doing a port build, I expect that devel/oniguruma4 will be > built, as long as USE_PACKAGE_DEPENDS_ONLY is _not_ set (which reflects > my state). > It seems to work so for 'first-level-dependencies', but seems to fail > for dependencies of a dependency (my very first guess, haven't falsified > yet). Done so. It's true that as soon as USE_PACKAGE_DEPENDS is set, only the first dependency will be checked if it's going to be installed as package or build has to run. In bsd.port.mk: _INSTALL_DEPENDS= if [ -n "${USE_PACKAGE_DEPENDS}" -o -n "${USE_PACKAGE_DEPENDS_ONLY}" ]; then \ … if [ -r "$${subpkgfile}" -a "$$target" = "${DEPENDS_TARGET}" ]; then \ … if [ -n "${WITH_PKGNG}" -a $${subpkgname} = "pkg" ]; then \ … else \ if [ -n "${WITH_PKGNG}" ]; then \ _pkg_add_a="-A"; \ fi; \ ${PKG_ADD} $${_pkg_add_a} $${subpkgfile}; \ Now to solve this, I guess it was needed to do binary-depends-resolving at this place, right? Or is there a easier way (altering DEPENDS_TARGET eg., sorry, don't know bsd.port.mk well, so starting from scratch…) Is this issue hitting anybody else? Thanks, -Harry P.S.: please set me CC, I'm not subscribed, thanks.