Date: Sun, 10 Jul 2022 02:45:57 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6f77116de779 - main - lang/php81: Fix conditional post-patch Message-ID: <202207100245.26A2jvko058669@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=6f77116de779ba65de5a7fedab5f7221daddf296 commit 6f77116de779ba65de5a7fedab5f7221daddf296 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2022-07-10 02:43:32 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2022-07-10 02:45:47 +0000 lang/php81: Fix conditional post-patch Reported by: sunpoet Fixes: 0f0109c Update version 8.1.7=>8.1.8 Sponsored by: Bounce Experts --- 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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207100245.26A2jvko058669>