From owner-freebsd-ports@FreeBSD.ORG Thu Mar 29 03:28:11 2007 Return-Path: X-Original-To: freebsd-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 6DBB916A401 for ; Thu, 29 Mar 2007 03:28:11 +0000 (UTC) (envelope-from alepulver@FreeBSD.org) Received: from relay00.pair.com (relay00.pair.com [209.68.5.9]) by mx1.freebsd.org (Postfix) with SMTP id 2764913C4B7 for ; Thu, 29 Mar 2007 03:28:10 +0000 (UTC) (envelope-from alepulver@FreeBSD.org) Received: (qmail 93679 invoked by uid 0); 29 Mar 2007 03:28:09 -0000 Received: from 190.55.91.88 (HELO deimos.mars.bsd) (190.55.91.88) by relay00.pair.com with SMTP; 29 Mar 2007 03:28:09 -0000 X-pair-Authenticated: 190.55.91.88 Date: Thu, 29 Mar 2007 00:27:57 -0300 From: Alejandro Pulver To: youshi10@u.washington.edu Message-ID: <20070329002757.1108f8df@deimos.mars.bsd> In-Reply-To: References: X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_mP7zGx.E=eK3F90M1JeYKJU"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-ports@freebsd.org Subject: Re: Help with port that uses scons (fwd) 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, 29 Mar 2007 03:28:11 -0000 --Sig_mP7zGx.E=eK3F90M1JeYKJU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 28 Mar 2007 12:03:22 -0700 (PDT) youshi10@u.washington.edu wrote: > On Wed, 28 Mar 2007, Alejandro Pulver wrote: >=20 > > Hello. > >=20 > > I am updating a port that now uses "scons" to build. It reads the > > environment variables correctly, but passes CCFLAGS as a single > > argument to the compiler, resulting in an error. > >=20 > > The port (the install part isn't done yet) is available here: > >=20 > > http://people.freebsd.org/~alepulver/boswars.shar > >=20 > > Any help would be appreciated. > >=20 > > Thanks and Best Regards, > > Ale >=20 > If the last line is your problem with SCONS_ARGS, stuff isn't passed in q= uoted,=20 > and IIRC CPPFLAGS should be CXXFLAGS for all applications (I could be wro= ng=20 > about scons though..). >=20 > -Garrett >=20 Hello. Thank you for your reply. Unfortunately this isn't the case. The arguments are passed quoted to it, so it's "scons" fault (well, the build script that uses it): it passes CCFLAGS quoted where they should be individual arguments. CPPFLAGS are pre-processor flags and CXXFLAGS are C++ compiler flags. There is a use of the Split() function in the build script (SConstruct), but I don't know neither about Python or Scons (the first one is intuitive, but for the other one I have no idea). Best Regards, Ale --Sig_mP7zGx.E=eK3F90M1JeYKJU Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGCzI+iV05EpRcP2ERAncyAKDBkfkIAODX+xrTrkda8e+Seh1ClACgu4lT sCqhSwzE83+K37LoH1hSXq4= =hAUy -----END PGP SIGNATURE----- --Sig_mP7zGx.E=eK3F90M1JeYKJU--