From owner-freebsd-ports@FreeBSD.ORG Sun May 14 08:07:48 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB53716A421 for ; Sun, 14 May 2006 08:07:48 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC64A43D45 for ; Sun, 14 May 2006 08:07:47 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by nf-out-0910.google.com with SMTP id o25so225500nfa for ; Sun, 14 May 2006 01:07:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=D1LimevjKhQJ2DqHycn9K5SpbtdbDiR+zeAmhzigCF4aOzEqgfcFzsNDfQ13nyA1LsFB+MitTWAjt3bxJQrfvVgr9vwZ+JmgXYRLnFM9kBiaoMQu9IrdRQtQlMEWgIWdut3Y4kCvmfdLNYesBF6FxuqjZPxmsRKjPS3w+5KTI8s= Received: by 10.49.12.15 with SMTP id p15mr433666nfi; Sun, 14 May 2006 01:07:42 -0700 (PDT) Received: from roadrunner.q.local ( [217.185.114.56]) by mx.gmail.com with ESMTP id m15sm4087619nfc.2006.05.14.01.07.37; Sun, 14 May 2006 01:07:40 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.6/8.13.6) with ESMTP id k4E87ctH001095; Sun, 14 May 2006 10:07:38 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.6/8.13.6/Submit) id k4DGrr7k002013; Sat, 13 May 2006 18:53:53 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Sat, 13 May 2006 18:53:53 +0200 From: Ulrich Spoerlein To: martinko Message-ID: <20060513165353.GA1025@roadrunner.informatik.uni-wuerzburg.de> Mail-Followup-To: martinko , freebsd-ports@freebsd.org References: <20060508200926.GA6005@daemons.gr> <1147119806.18944.59.camel@ikaros.oook.cz> <20060508203709.GA32661@daemons.gr> <747dc8f30605090333s39680f91l79a2beddd2f8b829@mail.gmail.com> <20060509144751.GU3099@numachi.com> <790a9fff0605090831o4e8efbaarf53ca844bb348758@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: Cc: freebsd-ports@freebsd.org Subject: Re: ports structure and improvement suggestions 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: Sun, 14 May 2006 08:08:06 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable martinko wrote: > Scot Hetzel wrote: > > The problem with pkgtools.conf (and all the other port management > > tools) is that it only works for the port that you are currently > > building. If that port has dependancies, the settings in > > pkgtools.conf for the dependancies are not applied to the dependent > > port. Instead you need to build the dependent ports first. > >=20 > > Where as putting the variable into make.conf, will allow the dependent > > port to always build with that setting. >=20 > why is it so ?? > i discovered this some time ago but have always been wondering why does > it work this "unlogical" way.. Very simple, portinstall tries to install port A with settings from pkgtools.conf. make(1) decides port A depends on port B, which is not yet installed. make(1) will install B (*without* the settings in pkgtools.conf, of course). The workaround would be to 'portinstall B; portinstall A', but this is impractical of course. Ulrich Spoerlein --=20 PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care. --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEZg8h524iJyD+6d0RAqh1AJ0SoS5fCWDtfU/vDiS0xQZfanbDqACaArql oa9bNT4XRN8dJ7RYEAJLCqQ= =Wj9n -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--