Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2013 21:31:48 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
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
Message-ID:  <201309132131.r8DLVmbQ085100@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309132131.r8DLVmbQ085100>