*BSD News Article 59255


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!news.mathworks.com!fu-berlin.de!news.dfn.de!news.uni-jena.de!news.HRZ.HAB-Weimar.DE!News.HTWM.De!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to compile a port with CFLAGS
Date: 17 Jan 1996 01:52:33 GMT
Organization: Private BSD site, Dresden
Lines: 16
Message-ID: <4dhkp1$r9@uriah.heep.sax.de>
References: <4ddp9o$3ev8@info4.rus.uni-stuttgart.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

schweikh@itosun.ito.uni-stuttgart.de (Jens Schweikhardt) writes:

> but the CFLAGS did not make it through. It still used -O.
> When I compile a GNU program, the latter approach does it.
> Why is a "port" make apparently not passing CFLAGS?
> Or am I missing something obvious?

I haven't looked, but the CFLAGS are most likely imported from
the bsd.port.mk system.  Anyway, changing /etc/make.conf should
help.
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)