Bug 69424

Summary: databases/php5-mysqli - quote problem making the build fail
Product: Ports & Packages Reporter: Thomas Deniau <thomas>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Thomas Deniau 2004-07-22 11:50:23 UTC
When building the php5 mysqli extension with a 4.0.14 server (which
should fail, mysqli requires 4.1) the error message is bogus, as the
following logs show :

--8<---
[anduril:databases/php5-mysqli] thomas% sudo make
Syntax error: ")" unexpected
*** Error code 2

Stop in /usr/ports/databases/php5-mysqli.
--8<---

In fact if we try a make -n we can see the syntax error :

--8<--
[anduril:databases/php5-mysqli] thomas% make -n
echo "===>  php5-mysqli-5.0.0_1 "Doesn't work with MySQL version : 323 (Doesn't support MySQL 323 40)"."
--8<--

There is clearly a quote problem here...
The quotes inside the message make the shell try to interpret the parenthesis (at least I think)

Fix: 

Fix the message displayed when building against 4.0.
How-To-Repeat: 	Install a 4.0.x MySQL
	Try to build databases/php5-mysqli
Comment 1 Oliver Eikemeier freebsd_committer freebsd_triage 2004-07-22 19:13:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer.
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2004-07-22 22:31:45 UTC
State Changed
From-To: open->closed

Bug already known, solution described in PR 69142.