svn commit: r425222 - head/Mk/Uses
Mathieu Arnold
mat at FreeBSD.org
Thu Nov 3 14:49:08 UTC 2016
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}
More information about the svn-ports-all
mailing list