From owner-freebsd-ports@FreeBSD.ORG Mon Jun 28 16:51:22 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66EB51065674 for ; Mon, 28 Jun 2010 16:51:22 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id EF06E8FC12 for ; Mon, 28 Jun 2010 16:51:21 +0000 (UTC) Received: by wyb34 with SMTP id 34so1260754wyb.13 for ; Mon, 28 Jun 2010 09:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=ogi1dpKoIm+gP7brzlZN862r/FSqlNCTDBu9jiZA8pM=; b=dvvC6R9wvdOmkrK5yGhnAIA5pNmRUJ7B+IDIMFlM7R21pQpnio/FZ/0tCB1uxOiS19 cQQ6RR6Y50IOPRGqTHFrVi3tdoAEd0FmLJgZB3ab3ZOgvHVFsRVx44TM9uKpe4QVo/xO Et+TaxxdWret/skLM09lL0hioUxcElncoWwds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=pHEDYsO7+ghy/FW5wUOxjz/O8sgDQmecTIJuMytlwyZjy+G/9bRZEToa1XPQP9UGLr 1plT35Tfg2eUFKvkbxcrrdAZ1DTkUEeFqLE1BaRPOGXpfQX/6jOtnRR6X9gs0qOKX9cJ 2otGTAS3K+e2Mlu3jgxu4P48Q3aCvAAOWm0JU= Received: by 10.216.157.141 with SMTP id o13mr8339117wek.69.1277743873723; Mon, 28 Jun 2010 09:51:13 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id l70sm3702436weq.0.2010.06.28.09.51.12 (version=SSLv3 cipher=RC4-MD5); Mon, 28 Jun 2010 09:51:13 -0700 (PDT) Date: Mon, 28 Jun 2010 17:51:10 +0100 From: RW To: ports@freebsd.org Message-ID: <20100628175110.72c64782@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Re: flag to tell ports that you are only building for yourself 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: Mon, 28 Jun 2010 16:51:22 -0000 On Sun, 27 Jun 2010 23:09:47 -0400 Eitan Adler wrote: > I'd like to add a flag to tell ports that you are building only for > yourself that and optimizations that typically are not enabled could > be turned on. You can do this yourself. If you add in make.conf something like .if defined(BUILD_FOR_SELF) CPUTYPE?= athlon64 .endif # cd /ports/www/squid # make -V CFLAGS -O2 -pipe -fno-strict-aliasing # setenv BUILD_FOR_SELF yes # make -V CFLAGS -O2 -pipe -march=athlon-mp -fno-strict-aliasing