Date: Thu, 25 Mar 1999 15:17:33 +0200 From: Sheldon Hearn <sheldonh@iafrica.com> To: ports@freebsd.org Subject: Re: REQ: patch to honour CFLAGS in XFree86 compile Message-ID: <39397.922367853@axl.noc.iafrica.com> In-Reply-To: Your message of "Thu, 25 Mar 1999 14:47:58 %2B0200." <20473.922366078@axl.noc.iafrica.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Mar 1999 14:47:58 +0200, Sheldon Hearn wrote: > I'm fishing for a patch for the XFree86 port that'll have it build using > local CFLAGS for optimization instead of -O2. I seem to be following up to too many of my own posts today. Please excuse me, I had my first crack at jockeying vinyl last night, so I'm more amped than clued right now. The change required is trivial provided is isn't expected to grok CFLAGS dynamically. When I first looked at this, I was confused by the presence of a FreeBSD.cf.orig in the configured source. Ciao, Sheldon. Index: scripts/configure =================================================================== RCS file: /home/ncvs/ports/x11/XFree86/scripts/configure,v retrieving revision 1.41 diff -u -d -r1.41 configure --- configure 1999/03/19 22:35:28 1.41 +++ configure 1999/03/25 13:02:16 @@ -348,6 +348,9 @@ patch -s -d $WRKDIR/xc -E -p0 < $K4PATCH fi +echo "#undef DefaultGcc2i386Opt" >>$F +echo "#define DefaultGcc2i386Opt -O -pipe" >>$F + cat $F >> $WRKDIR/xc/config/cf/xf86site.def exit 0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39397.922367853>