From owner-freebsd-ports@FreeBSD.ORG Fri Jan 20 09:18:47 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 59D641065672 for ; Fri, 20 Jan 2012 09:18:47 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 237448FC1C for ; Fri, 20 Jan 2012 09:18:46 +0000 (UTC) Received: by iagz16 with SMTP id z16so991071iag.13 for ; Fri, 20 Jan 2012 01:18:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=aL8yTEgy1SNREBHiQ1gcSEVg92r2p8vaL2xNOJ+65eU=; b=GmMF5oAKbQg/XUamtTRph4coMmjuLFMjgAxghe5uyGMngULU4RKBfl/NDirJtEI+Hi RhzwhQUS4YxRk1/ExI8i4qTCQbEP61cE5hjuIO0CCKbzcCTJlXkiBnJEHuzavZuE0u+b w73NLRe1vNueleeJIHjWlsM3hEFvsVy1zg7Og= MIME-Version: 1.0 Received: by 10.42.246.71 with SMTP id lx7mr25549605icb.54.1327051126604; Fri, 20 Jan 2012 01:18:46 -0800 (PST) Received: by 10.231.207.7 with HTTP; Fri, 20 Jan 2012 01:18:45 -0800 (PST) Received: by 10.231.207.7 with HTTP; Fri, 20 Jan 2012 01:18:45 -0800 (PST) In-Reply-To: <4F17DB1C.6080503@infracaninophile.co.uk> References: <4F177264.3090708@freebsd.org> <4F17DB1C.6080503@infracaninophile.co.uk> Date: Fri, 20 Jan 2012 09:18:45 +0000 Message-ID: From: Chris Rees To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ports@freebsd.org Subject: Re: with the cvs history? trying to help INDEX builds. 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: Fri, 20 Jan 2012 09:18:47 -0000 On 19 Jan 2012 08:58, "Matthew Seaman" wrote: > > On 19/01/2012 01:31, Michael Scheidell wrote: > > in manually trying to build an index for a tinderbox/binary/portmaster > > distribution, I started to look at some of the things that slow these down. > > > > and, being a former real-time, robotics guy... I figure, take ONE line > > of code out, and you make things faster. > > > > anyway, worth the cycles? > > take out -.include ; -.if ${ARCH} == "sparc64" > > -BROKEN= Does not install on sparc64 > > -.endif > > and replace it with NOT_FOR_ARCHS= sparc64 ? > > without bsd.port.PRE, you won't (try) to pull in lots of other things, > > optional things (options,perl, mysql, etc) > > > > worth the cvs history cycles to do this? > > I'd say worth it to standardize on NOT_FOR_ARCHS / ONLY_FOR_ARCHS to > handle this sort of thing. By my calculations there are 28 ports that > set 'BROKEN' because of architecture incompatibility on my amd64 > system[*], whereas there are 904 ports that set either ONLY_FOR_ARCHS or > NOT_FOR_ARCHS. > > Cheers, > > Matthew > > [*] there would be more on sparc64 or other tier-2 architectures, but > the way I counted didn't pick those cases up, just the ones that set > BROKEN on the current architecture. > > portindex=> SELECT > p.parent || '/' || p.name as port > FROM > caveat NATURAL JOIN ports_by_name p > WHERE > caveat_type='BROKEN' > AND caveat ~ 'sparc|i386|amd64|ia64|pc' > ORDER BY > port > ; > port > -------------------- > devel/ruby-avl > devel/ustl > games/xbloody > graphics/gmt > graphics/ruby-tgif > irc/eggdrop > japanese/ne > lang/oorexx > lang/py-prolog > lang/qscheme > lang/rscheme > lang/scsh > lang/sr > math/matrix > net-im/gyach > net-mgmt/docsis > net/cnet > net/hawknl-devel > net/ngrep-lib > net/py-libnet > net/tridiavnc > science/elmerpost > sysutils/freecolor > sysutils/hpacucli > textproc/coco > textproc/rtfx > x11-toolkits/fox17 > x11/decurs > (28 rows) > No, it's not worth it :) This means we won't be able to differentiate between BROKEN and IGNORE. Chris