diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2018-01-31 21:10:18 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2018-01-31 21:10:18 +0000 |
commit | 0310705861be5f21e313e96d198bd5b2215c7f86 (patch) | |
tree | 416dddf491be07e54ebb6131acbb4a1d9fa613a8 | |
parent | fea545c23166e245f67af7259ab121863f21774f (diff) | |
download | pkgsrc-0310705861be5f21e313e96d198bd5b2215c7f86.tar.gz |
add new option argon2 to compile in the support for Argon2 password hashes
(new in php 7.2.0)
-rw-r--r-- | lang/php72/Makefile.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/php72/Makefile.php b/lang/php72/Makefile.php index ba4482c00a2..1426363420a 100644 --- a/lang/php72/Makefile.php +++ b/lang/php72/Makefile.php @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.php,v 1.1 2017/11/15 08:56:12 jdolecek Exp $ +# $NetBSD: Makefile.php,v 1.2 2018/01/31 21:10:18 jdolecek Exp $ # used by lang/php72/Makefile # used by www/ap-php/Makefile # used by www/php-fpm/Makefile @@ -45,7 +45,7 @@ CONFIGURE_ARGS+= --with-libxml-dir=${PREFIX} .include "../../textproc/libxml2/buildlink3.mk" PKG_OPTIONS_VAR= PKG_OPTIONS.${PHP_PKG_PREFIX} -PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline +PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline argon2 PKG_SUGGESTED_OPTIONS+= inet6 ssl readline .if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || ${OPSYS} == "FreeBSD" @@ -92,5 +92,10 @@ CONFIGURE_ARGS+= --enable-dtrace INSTALL_MAKE_FLAGS+= -r .endif +.if !empty(PKG_OPTIONS:Margon2) +CONFIGURE_ARGS+= --with-password-argon2=${BUILDLINK_PREFIX.argon2} +.include "../../security/argon2/buildlink3.mk" +.endif + DL_AUTO_VARS= yes .include "../../mk/dlopen.buildlink3.mk" |