Opened 12 years ago

Closed 12 years ago

#1433 closed bug (invalid)

Building on FreeBSD is Broken

Reported by: skoe Owned by: bonefish
Priority: normal Milestone: R1
Component: Build System Version: R1/pre-alpha1
Keywords: Cc: mr.skoe@…
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

FreeBSD cannot build Haiku due to a problem with Yacc/Bison/Bison2/etc.

This patch makes the build system use 'bison2' instead of bison/yacc.

With this patch FreeBSD (v6.2/STABLE) is able to compile a haiku image without any problems.

PS: Should a list of the ports need to be installed on FreeBSD be added to the cross compiler readme file?

Attachments (1)

bison2.diff (351 bytes ) - added by skoe 12 years ago.
A Fix for Building on FreeBSD

Download all attachments as: .zip

Change History (4)

by skoe, 12 years ago

Attachment: bison2.diff added

A Fix for Building on FreeBSD

comment:1 by bonefish, 12 years ago

I don't see what effect your patch is supposed to have. We explicitly override the Yacc rule, using "bison". Unless I've overlooked something, the YACC variable isn't used anywhere anymore. What exactly is the problem you've encountered?

comment:2 by skoe, 12 years ago

Nevermind, your completely right. Installing the right port also installs a 'bison' binary on FreeBSD :-S.

This bug can be closed.

comment:3 by bonefish, 12 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.