From owner-freebsd-ports@FreeBSD.ORG Tue Nov 28 04:39:01 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E101B16A407 for ; Tue, 28 Nov 2006 04:39:01 +0000 (UTC) (envelope-from alex@foxybanana.com) Received: from ultrasuede.reed.edu (ultrasuede.reed.edu [134.10.2.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DF6143C9F for ; Tue, 28 Nov 2006 04:27:22 +0000 (GMT) (envelope-from alex@foxybanana.com) Received: from Laptop.mine.box (c038h213.dorm.reed.edu [134.10.38.213]) by ultrasuede.reed.edu (8.13.8/8.13.8) with ESMTP id kAS0xMd4018704 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT); Mon, 27 Nov 2006 16:59:22 -0800 Received: from localhost (localhost [127.0.0.1]) by Laptop.mine.box (8.13.6/8.13.6) with ESMTP id kAS0wgGx067670; Mon, 27 Nov 2006 16:58:42 -0800 (PST) (envelope-from alex@Laptop.mine.box) Message-Id: <200611280058.kAS0wgGx067670@Laptop.mine.box> From: Alexander Botero-Lowry To: Karel Miklav In-reply-to: <456B5BF1.9080200@lovetemple.net> References: <456B5BF1.9080200@lovetemple.net> Comments: In-reply-to Karel Miklav message dated "Mon, 27 Nov 2006 22:43:13 +0100." Date: Mon, 27 Nov 2006 16:58:42 -0800 Sender: alex@foxybanana.com X-Scanned-By: MIMEDefang 2.58 on 134.10.2.46 Cc: ports@FreeBSD.org Subject: Re: SCons build, help needed 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: Tue, 28 Nov 2006 04:39:02 -0000 > I'm trying to make a port of the latest Blender with the SCons build. > The scons command in the do-build target in bsd.scons.mk is expanded in: Yes, I've had this lovely discussion before. Blender has gone through many iterations of bad scons behavior, at one point it used to split the args so it would pass - O 2 - f n o - s t r i c t - a l i a s i n g - p i p e to the compiler. The problem is not blindly resolvable. The blind solution is unacceptable (which is to ignore C(C)FLAGS and friends. What needs to happen to really resolve this issue is osme needs to die through blender's SConstruct/SConscript _mess_ and fix it for real so it accepts and uses command line options correctly. I've tried before and not had much luck. An example of an SCons setup that behaves correctly is audio/xmms2 The two important files are: http://git.xmms.se/?p=xmms2-devel.git;a=blob;h=551fe59022d5562a09446593a519df971e2941d3;hb=cecd51857cf1c183869b6f7425be1323178c90b7;f=SConstruct and http://git.xmms.se/?p=xmms2-devel.git;a=blob;h=b95836099c5e593ce4712b8852ebefaee3ace503;hb=cecd51857cf1c183869b6f7425be1323178c90b7;f=xmmsenv.py Alex