From owner-svn-ports-head@freebsd.org Thu Nov 3 14:49:08 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79D60C2D6E2; Thu, 3 Nov 2016 14:49:08 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 20CCD1FCA; Thu, 3 Nov 2016 14:49:08 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uA3En7G0012507; Thu, 3 Nov 2016 14:49:07 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uA3En7fA012506; Thu, 3 Nov 2016 14:49:07 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201611031449.uA3En7fA012506@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Thu, 3 Nov 2016 14:49:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r425222 - head/Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2016 14:49:08 -0000 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}