ports/189379: benchmarks/phoronix-test-suite requires php5-dom
Walter Hop
walter at lifeforms.nl
Mon May 5 19:30:01 UTC 2014
>Number: 189379
>Category: ports
>Synopsis: benchmarks/phoronix-test-suite requires php5-dom
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon May 05 19:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Walter Hop
>Release: 9.2-RELEASE-p5
>Organization:
>Environment:
>Description:
The Phoronix Test Suite (benchmarks/phoronix-test-suite) needs the php DOM extension (textproc/php5-dom) to function.
This dependency should be made explicit by the port.
>How-To-Repeat:
1. Install benchmarks/phoronix-test-suite package or port without a php5-dom package installed.
2. Run 'phoronix-test-suite', which should give the following error message:
The following PHP extensions are REQUIRED by the Phoronix Test Suite:
DOM The PHP Document Object Model (DOM) is required for XML operations.
The following PHP extensions are OPTIONAL but recommended:
PHP FPDF PHP FPDF is recommended if wishing to generate PDF reports.
>Fix:
Require php5 DOM extension.
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 353037)
+++ Makefile (working copy)
@@ -12,7 +12,7 @@
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-USE_PHP= zip json openssl gd zlib pcntl posix curl ctype
+USE_PHP= zip json openssl gd zlib pcntl posix curl ctype dom
USE_PHP_BUILD= yes
WANT_PHP_CLI= yes
NO_BUILD= yes
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list