Bug 58589 - [patch] Fix broken databases/msql
Summary: [patch] Fix broken databases/msql
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-27 05:40 UTC by Ryan Thompson
Modified: 2003-12-14 15:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Thompson 2003-10-27 05:40:17 UTC
Build of msql fails on .y source compilation using bison -y.

Starting make for mSQL-2


--> [common] directory =20
<-- [common] done      =20

--> [msql] directory =20

bison -y -d msql_yacc.y
msql_yacc.y:153.2: parse error, unexpected ":", expecting ";" or "|"
msql_yacc.y:184.3-186.26: invalid $ value
msql_yacc.y:184.3-189.13: invalid $ value
msql_yacc.y:184.3-194.12: invalid $ value
msql_yacc.y:198.3-200.39: invalid $ value
msql_yacc.y:453.3-454.26: invalid $ value
msql_yacc.y:453.3-457.13: invalid $ value
msql_yacc.y:453.3-462.12: invalid $ value
msql_yacc.y:477.3-49: invalid $ value
msql_yacc.y:675.3-676.33: invalid $ value
*** Error code 1

Apparently, this has been broken since at least June:
http://groups.google.ca/groups?selm=bdmcp9%2410e2%241%40FreeBSD.csie.NCTU.edu.tw

Fix: 

Explicitly use /usr/bin/yacc in the port Makefile

	--- Makefile.orig       Sun Oct 26 23:29:06 2003
	+++ Makefile    Wed Oct 22 23:47:53 2003
	@@ -15,6 +15,7 @@

	 INSTALLS_SHLIB= YES
	 USE_PERL5=	YES
	 +YACC=		/usr/bin/yacc

	 # Not free for commercial use.
	 RESTRICTED=    "restrictive copyright (no commercial use)"
Comment 1 Oliver Lehmann freebsd_committer freebsd_triage 2003-12-14 15:03:38 UTC
State Changed
From-To: open->closed

Committed a slightly modified version, Thanks!