git: ab38a65f5b12 - 2022Q3 - lang/php81: Fix conditional post-patch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Aug 2022 15:09:58 UTC
The branch 2022Q3 has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ab38a65f5b1297d87d4b5f7f7b1b199a06488731 commit ab38a65f5b1297d87d4b5f7f7b1b199a06488731 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2022-07-10 02:43:32 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> 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}