pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/50236: lang/php54 fails to build on NetBSD/m68k 7.0_RC1
coypu@ wrote:
> Others are forcing PHP to build with system PCRE with the configure
> flag --with-pcre-regex=$PREFIX.
The following patch makes pkgsrc-2016Q1 lang/php55 build on NetBSD/sh3el 7.0
(though not tested with actuall applications)
---
Index: Makefile.php
===================================================================
RCS file: /cvsroot/pkgsrc/lang/php55/Makefile.php,v
retrieving revision 1.4
diff -u -d -p -r1.4 Makefile.php
--- Makefile.php 13 Jun 2014 14:13:20 -0000 1.4
+++ Makefile.php 4 May 2016 03:09:58 -0000
@@ -41,6 +41,8 @@ CONFIGURE_ARGS+= --enable-mysqlnd
CONFIGURE_ARGS+= --enable-xml
CONFIGURE_ARGS+= --with-libxml-dir=${PREFIX}
.include "../../textproc/libxml2/buildlink3.mk"
+CONFIGURE_ARGS+= --with-pcre-regex=${PREFIX}
+.include "../../devel/pcre/buildlink3.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.${PHP_PKG_PREFIX}
PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/lang/php55/PLIST,v
retrieving revision 1.5
diff -u -d -p -r1.5 PLIST
--- PLIST 19 Feb 2015 13:35:24 -0000 1.5
+++ PLIST 4 May 2016 03:09:58 -0000
@@ -116,11 +116,6 @@ include/php/ext/mysqlnd/mysqlnd_structs.
include/php/ext/mysqlnd/mysqlnd_wireprotocol.h
include/php/ext/mysqlnd/php_mysqlnd.h
include/php/ext/mysqlnd/php_mysqlnd_config.h
-include/php/ext/pcre/pcrelib/config.h
-include/php/ext/pcre/pcrelib/pcre.h
-include/php/ext/pcre/pcrelib/pcre_internal.h
-include/php/ext/pcre/pcrelib/pcreposix.h
-include/php/ext/pcre/pcrelib/ucp.h
include/php/ext/pcre/php_pcre.h
include/php/ext/phar/php_phar.h
include/php/ext/session/mod_files.h
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index