[Webkit-unassigned] [Bug 66818] New: Make the location of gperf configurable
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 23 16:12:53 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=66818
Summary: Make the location of gperf configurable
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: freebsd at chillt.de
FreeBSD provides gperf 2.7.2 at /usr/bin/gperf. The newer gperf 3.0.3 can optionally be installed at /usr/local/bin/gperf using FreeBSD's ports system.
Since WebKit requires gperf 3, the build scripts need to be pointed at /usr/local/bin/gperf instead of /usr/bin/gperf. The only way to achieve this right now is by modifying $PATH as the build scripts call gperf as follows:
system("gperf --key-positions=\"*\" ...)
Modifying $PATH is intrusive and may have unintended consequences. It would be safer and more elegant if build-webkit provided a --gperf argument that would allow the gperf binary to be specified. The default should be simply "gperf", preserving current behavior. Under FreeBSD, "/usr/local/bin/gperf" could be passed to ensure gperf 3 is used.
The scripts invoking gperf are:
Source/WebCore/make-hash-tools.pl
Source/WebCore/css/makeprop.pl
Source/WebCore/css/makevalues.pl
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list