Date: Thu, 3 Nov 2016 14:49:07 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r425222 - head/Mk/Uses Message-ID: <201611031449.uA3En7fA012506@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Thu Nov 3 14:49:07 2016 New Revision: 425222 URL: https://svnweb.freebsd.org/changeset/ports/425222 Log: Fix depend on mod_php70. PR: 214166 Reported by: Vick Khera Sponsored by: Absolight Modified: head/Mk/Uses/php.mk Modified: head/Mk/Uses/php.mk ============================================================================== --- head/Mk/Uses/php.mk Thu Nov 3 14:34:13 2016 (r425221) +++ head/Mk/Uses/php.mk Thu Nov 3 14:49:07 2016 (r425222) @@ -188,7 +188,8 @@ RUN_DEPENDS+= ${PHPBASE}/include/php/mai . if ${php_ARGS:Mmod} || (${php_ARGS:Mweb} && defined(PHP_VERSION) && ${PHP_SAPI:Mcgi} == "" && ${PHP_SAPI:Mfpm} == "") USE_APACHE_RUN= 22+ .include "${PORTSDIR}/Mk/bsd.apache.mk" -RUN_DEPENDS+= ${PHPBASE}/${APACHEMODDIR}/libphp5.so:${MOD_PHP_PORT} +# libphpX.so only has the major version number in it, so remove the last digit of PHP_VER to get it. +RUN_DEPENDS+= ${PHPBASE}/${APACHEMODDIR}/libphp${PHP_VER:C/.$//}.so:${MOD_PHP_PORT} . endif PLIST_SUB+= PHP_EXT_DIR=${PHP_EXT_DIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611031449.uA3En7fA012506>