ports/144767: devel/php5-phing port errors
Sean McAfee
smcafee at collaborativefusion.com
Mon Mar 15 18:00:20 UTC 2010
>Number: 144767
>Category: ports
>Synopsis: devel/php5-phing port errors
>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 Mar 15 18:00:15 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sean McAfee
>Release: 8.0Rp2
>Organization:
Collaborative Fusion, Inc.
>Environment:
FreeBSD xxxxxx 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Fri Mar 12 18:45:01 EST 2010 smcafee at xxxxxx:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
There are two current issues with devel/php5-phing.
1.) The path in the /usr/local/bin/pear-phing wrapper script points to the wrong directory (/usr/local/share/pear/phing.php vs. /usr/local/share/pear/phing/phing.php)
2.) A file from the 2.3.1 release (ConfigurationException.php) is not included in the Makefile's FILES list, resulting in a broken installation.
>How-To-Repeat:
Compile the port, try to use it.
>Fix:
Patch is attached.
Patch attached with submission follows:
diff -ruN php5-phing.orig/Makefile php5-phing/Makefile
--- php5-phing.orig/Makefile 2010-03-15 14:13:50.000000000 +0000
+++ php5-phing/Makefile 2010-03-15 14:14:25.000000000 +0000
@@ -37,7 +37,7 @@
BuildLogger.php TaskContainer.php BuildEvent.php Task.php \
TaskAdapter.php Phing.php RuntimeConfigurable.php BuildListener.php \
Project.php UnknownElement.php BuildException.php Target.php \
- phing.php \
+ ConfigurationException.php phing.php \
util/regexp/RegexpEngine.php util/regexp/Regexp.php \
util/regexp/PregEngine.php \
util/SourceFileScanner.php util/ExtendedFileStream.php \
diff -ruN php5-phing.orig/files/patch-pear-phing php5-phing/files/patch-pear-phing
--- php5-phing.orig/files/patch-pear-phing 1970-01-01 00:00:00.000000000 +0000
+++ php5-phing/files/patch-pear-phing 2010-03-15 14:26:45.000000000 +0000
@@ -0,0 +1,8 @@
+--- bin/pear-phing.orig 2010-03-15 10:18:17.000000000 -0400
++++ bin/pear-phing 2010-03-15 10:18:00.000000000 -0400
+@@ -19,4 +19,4 @@
+ export PHP_COMMAND
+ fi
+
+-$PHP_COMMAND -d html_errors=off -qC /usr/local/share/pear/phing.php -logger phing.listener.AnsiColorLogger "$@"
++$PHP_COMMAND -d html_errors=off -qC /usr/local/share/pear/phing/phing.php -logger phing.listener.AnsiColorLogger "$@"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list