| Summary: | [patch] databases/php5-dba: change Berkeley DB detection to USE_BDB. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Scot Hetzel <swhetzel> | ||||
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer (via the GNATS Auto Assign Tool) State Changed From-To: open->closed USE_BDB committed, thanks. |
Currently, the lang/php5/Makefile.ext file is not able to detect the installed version of Berkeley DB. Instead it depends on the user to set WITH_DB4_VER to the current version installed or letting the databases/php5-dba install databases/db46. Fix: The attached patch changes lang/php5/Makefile.ext to use USE_BDB for detection of the installed Berkeley DB version, as well as patching ${WRKSRC}/config.m4 with the correct values obtained from BDB_LIB_NAME and BDB_INCLUDE_DIR. Changed files: lang/php5/Makefile.ext databases/php5-dba/files/patch-config.m4 Patch attached with submission follows: How-To-Repeat: install any of the db4* ports except db46, and then build databases/php5-dba, selecting DB4 from the options menu, and without setting WITH_DB4_VER. The port will install databases/db46, even though there is an existing version of Berkley DB installed.