From owner-freebsd-ports@FreeBSD.ORG Thu Sep 25 11:17:20 2003 Return-Path: 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 6F00F16A4B3; Thu, 25 Sep 2003 11:17:20 -0700 (PDT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2468143FF3; Thu, 25 Sep 2003 11:17:19 -0700 (PDT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 8B74E3F4E; Thu, 25 Sep 2003 14:17:01 -0400 (EDT) From: "Dan Langille" To: Erwin Lansing Date: Thu, 25 Sep 2003 14:17:47 -0400 MIME-Version: 1.0 Message-ID: <3F72F90B.19808.20304F80@localhost> Priority: normal In-reply-to: <20030925171951.GB62125@droso.net> References: <20030925163742.GA88433@rfc-networks.ie> X-mailer: Pegasus Mail for Windows (v4.02a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body cc: ports@freebsd.org cc: Dan Langille Subject: Re: Getting a list of existing packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2003 18:17:20 -0000 On 25 Sep 2003 at 19:19, Erwin Lansing wrote: > On Thu, Sep 25, 2003 at 04:37:42PM +0000, Philip Reynolds wrote: > > Dan Langille 20 lines of wisdom included: > > > Please cc me on any replies. > > > > > > I'm trying to find a way of determining whether or not a given port > > > should have a package. I would prefer to obtain this information via > > > make. e.g. make -V PACKAGEEXISTS > > > > I don't think this is possible, since package builds are done > > regularly. The fact that a package existed when someone updated the > > port last, does not mean that a package still exists. I think the > > main reason a package would not exist would be because of a build > > failure (distfile not existing, compilation error etc.) > > > > I think the only way to check if a relevant port has a package would > > be to check on bento. > > > > I'm completely open to correction here.. > > > > I'm also wondering what exactly you mean by "should have a package"? > > Perhaps I missed the point completely. The subject is misleading. I apologise. > I'm not quite sure about the question either. I can see two possibles, > the one you answered and another to which the answer would be the > opposite of NO_PACKAGE and friends. What Ewin said. NO_PACKAGE tells me a package cannot be built. At http://www.freebsd.org/ports/audio.html, HVSC-Update has a link labelled Package which goes to ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-stable/All/HVSC- Update-2.8.2.tgz audio/arts has no such link. [dan@polo:/usr/ports/audio/arts] $ make -V NO_PACKAGE [dan@polo:/usr/ports/audio/arts] $ I'm just trying to discover if there's any logic behind this or if it's merely luck-of-the-draw. Thank you -- Dan Langille : http://www.langille.org/