From nobody Wed Aug 31 15:09:58 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MHnfG4vxqz4bdf2; Wed, 31 Aug 2022 15:09:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MHnfG4V9wz3sHj; Wed, 31 Aug 2022 15:09:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661958598; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tv88KCH5agOyeP/IQJoOXfUBrzjT9/RoyufOULjfneA=; b=nyNkxjw0+u2OaL7md379vBIhaPkDfO5cIbzKLinCUwkW7DRRAAvMIaBySj8KgyySaZuQpO zATU5VbOcVgwVmF9t03kIaw5tFPgvddSTaCJSTqF5VZW88W51VnQDGge+0Gxi6h+kYcBvi 0L84ior3aQLuF/Aq53vhPSKnHb+CrcDWakzvEiSSeL46HVTfrGPiVt6VL3caFmmWB7PDaV Ll6gCb5xmXwIjZIOhb24LYWBCV6KOfr/kLIB6AfiLihBsqABNOMdxg8CIGYJ/JqMWb4G2T 31XXus4LTx3+vwGAn3IfwbC+LLAEKECbkSbcJgimogmU1Mt3KMpAt1/kZ33Tpg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MHnfG3L4Qz18y0; Wed, 31 Aug 2022 15:09:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27VF9wfG052067; Wed, 31 Aug 2022 15:09:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27VF9w0a052066; Wed, 31 Aug 2022 15:09:58 GMT (envelope-from git) Date: Wed, 31 Aug 2022 15:09:58 GMT Message-Id: <202208311509.27VF9w0a052066@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: ab38a65f5b12 - 2022Q3 - lang/php81: Fix conditional post-patch List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/2022Q3 X-Git-Reftype: branch X-Git-Commit: ab38a65f5b1297d87d4b5f7f7b1b199a06488731 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661958598; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tv88KCH5agOyeP/IQJoOXfUBrzjT9/RoyufOULjfneA=; b=RrQnzseBYXvRznuAAZf/RNawIJvITA5JdmtnnvspK88ycCendhcJtgWNy2/VApyd8ywvs5 VpmngXRlw6NJs3hb2l1EUgbhEvXgb0SCDsgtFRdoZejBXdvSS+FO8Ppfe1/G4qMFZr0q7U zT8N48EfPOH6zyDP5s1UNU3WrVoUCTPj4WmXO2wKDXHPQVndCuCowXjy5UD7jtAPtbpVKc Ec8PiB/S1P2X+Taz1Czg22RNQwiFr6tBnSgUVay/Z2s/VHXDyjWgFUKNEwR9OMx+n9Iph1 KOLbFQnD1oRXiqrm5BOaDmTfSgNGL4klBi7BppRU9GcUFEntO5gqn2yrXqkiUQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661958598; a=rsa-sha256; cv=none; b=E+LCqVqszQKrPSB6T5FwDPFtKrjFELuCgK0AryWbqd2AfPcHq24tod5OK52pcGL80zKJLC L2SJHHSG2NwaOtSwVSjxbBAceuU7XGIMSntEW9miydDxHWEuiCuIXDbQO2ZdlZ2KBAPlVj NZgr64SGHe8pw5EDjU5tvaZ5IcsmEDrUN1zOJfzC1jE7GuFcKrOMVoVDZHEkT62v2dz8dk LyIv4JFfHzLkZ0TEc4R0b34FYiCd3+DuHxaByTSFITnmLlVivbq7WhMqxBCab15/iXqnN/ QDfLd3vMDV+sdl6FshKF/m4BPPN8K2nlTBh+hrJXhYrcdWduszBobxSnV80CZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch 2022Q3 has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ab38a65f5b1297d87d4b5f7f7b1b199a06488731 commit ab38a65f5b1297d87d4b5f7f7b1b199a06488731 Author: Muhammad Moinur Rahman AuthorDate: 2022-07-10 02:43:32 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-08-31 15:09:44 +0000 lang/php81: Fix conditional post-patch Reported by: sunpoet Fixes: 0f0109c Update version 8.1.7=>8.1.8 Sponsored by: Bounce Experts (cherry picked from commit 6f77116de779ba65de5a7fedab5f7221daddf296) --- lang/php81/Makefile | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/lang/php81/Makefile b/lang/php81/Makefile index 154a329a3bc0..8dd91a6399e6 100644 --- a/lang/php81/Makefile +++ b/lang/php81/Makefile @@ -148,13 +148,23 @@ test: build @(cd ${WRKSRC} && ${MAKE} test) post-install: - @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/php-cgi - @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/phpdbg - @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/php - @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libphp.so - @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/sbin/php-fpm @${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \ ${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc + +post-install-CGI-on: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/php-cgi + +post-install-PHPDBG-on: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/phpdbg + +post-install-CLI-on: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/php + +post-install-FPM-on: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/php-fpm + +post-install-EMBED-on: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libphp.so .else do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}