From owner-svn-ports-all@FreeBSD.ORG Fri Sep 13 21:31:49 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5F08EB25; Fri, 13 Sep 2013 21:31:49 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2E9E22642; Fri, 13 Sep 2013 21:31:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8DLVmbn085104; Fri, 13 Sep 2013 21:31:48 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8DLVmbQ085100; Fri, 13 Sep 2013 21:31:48 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201309132131.r8DLVmbQ085100@svn.freebsd.org> From: John Marino Date: Fri, 13 Sep 2013 21:31:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327187 - in head/lang: php5 php52 php53 php55 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Sep 2013 21:31:49 -0000 Author: marino Date: Fri Sep 13 21:31:47 2013 New Revision: 327187 URL: http://svnweb.freebsd.org/changeset/ports/327187 Log: lang/php5*: Fix spl/simplexml modules (4 ports) The simplexml module uses spl which uses pcre (php53,54,55). For php52, the fix is applied directly to spl. In any case, the bundled PCRE is not used, so it needs to be able to find the external pcre library and related headers. Unfortunately, there is no include for ${LOCALBASE}/include directory. This commit adds to fix simplexml (or spl) module build. Approved by: portmgr (bapt) Modified: head/lang/php5/Makefile.ext head/lang/php52/Makefile.ext head/lang/php53/Makefile.ext head/lang/php55/Makefile.ext Modified: head/lang/php5/Makefile.ext ============================================================================== --- head/lang/php5/Makefile.ext Fri Sep 13 21:28:42 2013 (r327186) +++ head/lang/php5/Makefile.ext Fri Sep 13 21:31:47 2013 (r327187) @@ -334,6 +334,7 @@ CONFIGURE_ARGS+=--enable-shmop CONFIGURE_ARGS+=--enable-simplexml \ --with-libxml-dir=${LOCALBASE} +CFLAGS+= -I${LOCALBASE}/include USES+= pkgconfig USE_GNOME= libxml2 .endif Modified: head/lang/php52/Makefile.ext ============================================================================== --- head/lang/php52/Makefile.ext Fri Sep 13 21:28:42 2013 (r327186) +++ head/lang/php52/Makefile.ext Fri Sep 13 21:31:47 2013 (r327187) @@ -402,6 +402,7 @@ USE_PHP_BUILD= yes CONFIGURE_ARGS+=--enable-spl \ --with-libxml-dir=${LOCALBASE} +CFLAGS+= -I${LOCALBASE}/include USE_GNOME= libxml2 USE_PHP= pcre simplexml Modified: head/lang/php53/Makefile.ext ============================================================================== --- head/lang/php53/Makefile.ext Fri Sep 13 21:28:42 2013 (r327186) +++ head/lang/php53/Makefile.ext Fri Sep 13 21:31:47 2013 (r327187) @@ -328,6 +328,7 @@ CONFIGURE_ARGS+=--enable-shmop CONFIGURE_ARGS+=--enable-simplexml \ --with-libxml-dir=${LOCALBASE} +CFLAGS+= -I${LOCALBASE}/include USES+= pkgconfig USE_GNOME= libxml2 .endif Modified: head/lang/php55/Makefile.ext ============================================================================== --- head/lang/php55/Makefile.ext Fri Sep 13 21:28:42 2013 (r327186) +++ head/lang/php55/Makefile.ext Fri Sep 13 21:31:47 2013 (r327187) @@ -334,6 +334,7 @@ CONFIGURE_ARGS+=--enable-shmop CONFIGURE_ARGS+=--enable-simplexml \ --with-libxml-dir=${LOCALBASE} +CFLAGS+= -I${LOCALBASE}/include USES+= pkgconfig USE_GNOME= libxml2 .endif