Date: Tue, 4 May 2010 13:26:46 GMT From: Daniel Bye <dan@slightlystrange.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/146300: www/horde-base Makefile patch Message-ID: <201005041326.o44DQk18042249@www.freebsd.org> Resent-Message-ID: <201005041330.o44DU28v087120@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005041326.o44DQk18042249>