Bug 97426

Summary: GNU MP Library version detection appears to be broken
Product: Ports & Packages Reporter: Alan McFarlane <alan.mcfarlane>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Alan McFarlane 2006-05-17 22:40:19 UTC
Having installed /usr/ports/math/libgmp4 (the latest version of GNU MP), any attempt to make php5-gmp fails with the error:

configure: error: GNU MP Library 4.1.2 or greater required.

pkg_info returns:
..
libgmp-4.2.1
..

Which I have verified is version 4.2.1 of the GNU MP package.

I suspect the fault is in the version detection routines in the configuration script, however I'm not sufficiently well versed in hacking those to come up with a solution.

How-To-Repeat: $ cd /usr/ports/math/libgmp4
$ make install clean
$ pkg_info | grep "libgmp"
libgmp-4.2.1  A free library for ...

$ cd /usr/ports/math/php5-gmp
$ make install
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-17 23:45:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2006-05-23 07:09:23 UTC
State Changed
From-To: open->closed

Update to latest port version before submit PR.