From owner-freebsd-ports@FreeBSD.ORG Thu May 18 12:27:24 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 C680F16A6FF for ; Thu, 18 May 2006 12:27:24 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0547843D46 for ; Thu, 18 May 2006 12:27:23 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by nf-out-0910.google.com with SMTP id x29so26426nfb for ; Thu, 18 May 2006 05:27:23 -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=DKazcxolwAH4z/icZ/JYCfRJ+i6r4OHljf8Z2bMDmLZ17C1VgKpt5lUFha+0GoAN6YUV4FeBaxEyE8X3L0AVWhxP+Y7kRZoGu6euUtSQRtTje3MVpTnLxpbDbjzvqxf4STXk+w+bNSVDcW/9h2GWpzOGNToayTUEjP+z6+H1Erc= Received: by 10.49.87.3 with SMTP id p3mr475916nfl; Thu, 18 May 2006 05:20:57 -0700 (PDT) Received: from roadrunner.q.local ( [217.185.119.162]) by mx.gmail.com with ESMTP id p43sm635541nfa.2006.05.18.05.20.54; Thu, 18 May 2006 05:20:57 -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 k4ICJxOE003568; Thu, 18 May 2006 14:20:05 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.6/8.13.6/Submit) id k4IBtwdG003011; Thu, 18 May 2006 13:55:58 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Thu, 18 May 2006 13:55:58 +0200 From: Ulrich Spoerlein To: "[LoN]Kamikaze" Message-ID: <20060518115558.GE1039@roadrunner.informatik.uni-wuerzburg.de> Mail-Followup-To: "[LoN]Kamikaze" , Jiawei Ye , freebsd-ports@freebsd.org References: <44682A60.1090701@gmx.de> <4468361E.1090405@gmx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oj4kGyHlBMXGt3Le" Content-Disposition: inline In-Reply-To: <4468361E.1090405@gmx.de> Cc: Jiawei Ye , freebsd-ports@freebsd.org Subject: Re: dependency inheritance 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: Thu, 18 May 2006 12:27:28 -0000 --oj4kGyHlBMXGt3Le Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [LoN]Kamikaze wrote: > What I'd like to know is weather there is something wrong with my port. > This problem makes it necessary to run 'pkgdb -F' to use portupgrade. > Which is annoying in my opinion. A known problem. Prior to ghostscript-afpl being taken care of in bsd.port.mk, I always had to fix dependencies from ghostscript-gpl -> ghostscript->afpl. Same thing happens if you have lynx-ssl installed, and some other port depends on lynx:www/lynx, it will find a lynx binary (of course) and then blindly depend on www/lynx (wrong). A possible fix is to not record what's specified in the Makefile, as this is only a suggestion on which port to install if the dep is not satisfied. But to use the output of pkg_info -qo `pkg_info -qW lynx` which will return www/lynx-ssl on my system. Problem: If lynx has been installed by hand, the pkg_info calls will fail and you'd have to fallback to the suggestion provided in the Makefile. 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. --oj4kGyHlBMXGt3Le Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEbGDN524iJyD+6d0RAhVQAJ0cjerBK2YAyFvHxP9oxFiZOMxYWACdFpBZ IhUGgEWQGTFRmOPXcRQxS4g= =LPX8 -----END PGP SIGNATURE----- --oj4kGyHlBMXGt3Le--