From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 4 13:30:03 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A0261065670 for ; Tue, 4 May 2010 13:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 1EF2D8FC15 for ; Tue, 4 May 2010 13:30:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o44DU2AF087124 for ; Tue, 4 May 2010 13:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o44DU28v087120; Tue, 4 May 2010 13:30:02 GMT (envelope-from gnats) Resent-Date: Tue, 4 May 2010 13:30:02 GMT Resent-Message-Id: <201005041330.o44DU28v087120@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Daniel Bye Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2BF0106566B for ; Tue, 4 May 2010 13:26:46 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id A2A478FC18 for ; Tue, 4 May 2010 13:26:46 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o44DQksI042251 for ; Tue, 4 May 2010 13:26:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o44DQk18042249; Tue, 4 May 2010 13:26:46 GMT (envelope-from nobody) Message-Id: <201005041326.o44DQk18042249@www.freebsd.org> Date: Tue, 4 May 2010 13:26:46 GMT From: Daniel Bye To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/146300: www/horde-base Makefile patch X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2010 13:30:03 -0000 >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: