From owner-freebsd-ports Fri Apr 30 23:19:32 1999 Delivered-To: freebsd-ports@freebsd.org Received: from adelphi.physics.adelaide.edu.au (adelphi.physics.adelaide.edu.au [129.127.36.247]) by hub.freebsd.org (Postfix) with ESMTP id 9824615A01 for ; Fri, 30 Apr 1999 23:19:28 -0700 (PDT) (envelope-from kkennawa@physics.adelaide.edu.au) Received: from bragg (bragg [129.127.36.34]) by adelphi.physics.adelaide.edu.au (8.8.8/8.8.8/UofA-1.5) with SMTP id PAA08174; Sat, 1 May 1999 15:49:26 +0930 (CST) Received: from localhost by bragg; (5.65/1.1.8.2/05Aug95-0227PM) id AA23238; Sat, 1 May 1999 15:50:00 +0930 Date: Sat, 1 May 1999 15:50:00 +0930 (CST) From: Kris Kennaway X-Sender: kkennawa@bragg To: Chris Piazza Cc: naddy@mips.rhein-neckar.de, freebsd-ports@freebsd.org Subject: RE: Build variables to respect besides CFLAGS? In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 29 Apr 1999, Chris Piazza wrote: > On 29-Apr-99 Christian Weisgerber wrote: > > What other build variables should be respected besides CFLAGS? > > CC? > > Generally CC, CFLAGS/CXXFLAGS, PREFIX(most important, really!), and also > MOTIFLIB if necessary. I think that's mostly it, but look at > www.freebsd.org/handbook/porting.html and bsd.port.mk, of course. And CXX, if appropriate. Note that you can't easily get most ports which USE_IMAKE to use these variables at build-time (although there are some ports which can be hacked to do this) - they seem to be decided at build-time of the XFree86 port. I don't think these "rules" are made too explicit in the handbook at present - I've been meaning to learn SGML and work on updating the porting docs.. Kris > > --- > Chris Piazza Abbotsford, BC, Canada > cpiazza@home.net > finger norn@norn.ca.eu.org for PGP key > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > ----- The Feynman problem-solving algorithm: 1. Write down the problem 2. Think real hard 3. Write down the solution To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message