ports/96808: Firefox fails to respect Makefile .mozconfig switches
kaiwai
kaiwai.gardiner at gmail.com
Fri May 5 02:50:25 UTC 2006
>Number: 96808
>Category: ports
>Synopsis: Firefox fails to respect Makefile .mozconfig switches
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri May 05 02:50:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: kaiwai
>Release: FreeBSD 6.0p7
>Organization:
>Environment:
tchaikovsky# uname -a
FreeBSD tchaikovsky.stpetersburg 6.0-RELEASE-p7 FreeBSD 6.0-RELEASE-p7 #0: Wed May 3 20:33:14 NZST 2006 root at tchaikovsky.stpetersburg:/usr/obj/usr/src/sys/GENERIC i386
tchaikovsky#
>Description:
When compiling Firefox, I edited the file Makefile as to specify the optimization level that I wished to use as to it fails to respect the CFLAG variable specified in make.conf
I added --enable-optimize=-Os to the make file
When .mozconfig file was created, not only was --enable-optimize=-Os added, but --enable-optimize=-O too, resulting in --enable-optimize=-O being used as default.
The only way around this I found was to press ctlr-c to cancel (before it got to configuration stage), manually edit the .mozconfig file, and remove the offending switches.
>How-To-Repeat:
As perusual, make install
>Fix:
delete the original .mozconfig file, and copy a static one into its place as to force it to use the options dictated by Makefile rather than going with its 'built in defaults'.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list