From owner-freebsd-ports@FreeBSD.ORG Fri Apr 16 06:40:12 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 673BE1065674 for ; Fri, 16 Apr 2010 06:40:12 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2646F8FC1B for ; Fri, 16 Apr 2010 06:40:11 +0000 (UTC) Received: by gyh20 with SMTP id 20so1195822gyh.13 for ; Thu, 15 Apr 2010 23:40:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=elYZ7BPUGTBmuoOUN20Rore7y4bCu5FlvCbTRaeFN2E=; b=qi9GY+fedLo9cl4Cuoz86a5GQfV95iKLT4hij88ugXVcbE7m8IVb+ld0vrVYVOCGFx 7hAFaX4siZpZGw2O0IuKKTgG8/LyHcFCqyhX/tCQHFrAxwKtzuaTRLgWbQZHvnwxW5kG GR/IDs68ac5vpXe1n6uuOe2z8wAy8rAMqT8Z4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=BKJNxmS3HF/oXQMSgTHOQ9YFoUUsqxRUoDECStgPzxExWBcQ4ZabcAE9kpP+4/jJmt xokh4SuwbohPxBRPFgU1H9B5ieNj625k3nrLrifllJIlv4RzBEY7piVnTqpdKb5hZ9LG krR4VW5SN0pVJjRq3zkiq56A3pjd9GxYbadhY= MIME-Version: 1.0 Received: by 10.231.36.129 with HTTP; Thu, 15 Apr 2010 23:40:11 -0700 (PDT) In-Reply-To: <4BC7F0AF.1010903@langille.org> References: <4BC7F0AF.1010903@langille.org> Date: Fri, 16 Apr 2010 01:40:11 -0500 Received: by 10.91.137.18 with SMTP id p18mr704139agn.70.1271400011397; Thu, 15 Apr 2010 23:40:11 -0700 (PDT) Message-ID: From: Scot Hetzel To: Dan Langille Content-Type: text/plain; charset=ISO-8859-1 Cc: ports@freebsd.org Subject: Re: php5 upgrade woes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2010 06:40:12 -0000 On Fri, Apr 16, 2010 at 12:07 AM, Dan Langille wrote: > I've been trying for two days to upgrade php5. I fail. > > history: > > http://forums.freebsd.org/showthread.php?t=13284 > > Short story: > > error: pcrelib/pcre.h: No such file or directory > > FreeBSD 8.0-STABLE #0: Tue Apr 13 19:28:24 BST 2010 > > A read thru the lang/php5/Makefile reveals that the missing pcrelib/pcre.h is caused by the port using the devel/pcre port, instead of the bundled pcre that is included in PHP: .if defined(WITH_BUNDLED_PCRE) CONFIGURE_ARGS+=--with-pcre-regex=yes PLIST_SUB+= PCRE="" .else LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre CONFIGURE_ARGS+=--with-pcre-regex=${LOCALBASE} PLIST_SUB+= PCRE="@comment " .endif Make sure that the devel/php5-pcre port is uninstalled, and then install the php5 port by defining WITH_BUNDLED_PCRE. Scot