ports/146300: www/horde-base Makefile patch

Daniel Bye dan at slightlystrange.org
Tue May 4 13:30:03 UTC 2010


>Number:         146300
>Category:       ports
>Synopsis:       www/horde-base Makefile patch
>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:   Tue May 04 13:30:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Bye
>Release:        8.0-RELEASE-p2/amd64
>Organization:
>Environment:
FreeBSD lhscloud01.localhostservices.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #5: Mon Mar 15 16:14:12 GMT 2010     root at lhscloud01.localhostservices.net:/usr/obj/usr/src/sys/LHSCLOUD01  amd64
>Description:
Building www/horde-base fails when using the new lang/php52 port. The Makefile checks PHP_VER to determine whether to use dom (for php5) or domxml (for php4), but as the new port version is 52, the check fails and falls back to domxml, which is not a valid extension for php5.
>How-To-Repeat:
cd /usr/ports/www/horde-base
make
>Fix:
Use this patch:

--- Makefile.orig       2010-05-04 13:46:44.000000000 +0100
+++ Makefile    2010-05-04 13:51:37.000000000 +0100
@@ -202,7 +202,7 @@
 EXTRA_PATCHES+=        ${PATCHDIR}/extra-patch-lib_Horde_NLS.php
 .endif

-.if ${PHP_VER} == 5
+.if ${PHP_VER} >= 5
 USE_PHP+=      dom
 .else
 USE_PHP+=      domxml


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list