2018-02-05 09:51:25 +01:00
|
|
|
# $NetBSD: Makefile.common,v 1.2 2018/02/05 08:51:25 jdolecek Exp $
|
Add php72 7.2.0RC6
PHP 7.2.x builds upon 7.1.x, adding new features:
* Argument type declarations
* Object return type declarations
* Parameter Type Widening
* Trailing commas in list syntax
* Argon2 in password hash
* Libsodium as part of PHP Core
* Deprecated: __autoload, $php_errormsg, create_function(),
mbstring.func_overload, parse_str() without second argument,
gmp_random(), each(), assert(), $errcontext
* uniqid() patch to avoid usleep() integrated, 10000x improvement on NetBSD,
about 10x on Linux
2017-11-15 09:56:12 +01:00
|
|
|
# used by lang/php72/Makefile.php
|
|
|
|
# used by lang/php/ext.mk
|
|
|
|
# used by meta-pkgs/php72-extensions/Makefile
|
|
|
|
|
|
|
|
PHP_VERSION_REQD= 72
|
|
|
|
|
|
|
|
.include "../../lang/php/common.mk"
|
|
|
|
|
|
|
|
CATEGORIES+= www
|
|
|
|
MAINTAINER?= pkgsrc-users@NetBSD.org
|
|
|
|
|
|
|
|
# needed due to (broken?) configure checks in php-xmlrpc and php5-dom
|
|
|
|
CONFIGURE_ENV+= PHP_LIBXML_SHARED="1"
|
|
|
|
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
|
|
# configure test gets confused by wrappers dropping -R /usr/lib
|
|
|
|
CONFIGURE_ARGS+= php_cv_cc_dashr=no
|
|
|
|
.endif
|
2018-02-05 09:51:25 +01:00
|
|
|
|
|
|
|
# not every extension actually depend on PCRE, and those which do
|
|
|
|
# don't use internal pcre structures, so default to build-time
|
|
|
|
# dependency only
|
|
|
|
BUILDLINK_DEPMETHOD.pcre?= build
|
|
|
|
CONFIGURE_ARGS+= --with-pcre-dir=${BUILDLINK_PREFIX.pcre}
|
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|