Re: git: 0f0109c551ad - main - lang/php81: Update version 8.1.7=>8.1.8

From: Po-Chuan Hsieh <sunpoet_at_freebsd.org>
Date: Sat, 09 Jul 2022 16:19:47 UTC
On Sat, Jul 9, 2022 at 10:41 AM Muhammad Moinur Rahman <bofh@freebsd.org>
wrote:

> The branch main has been updated by bofh:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=0f0109c551ad0a25a952c92d3b0815c29a4f23cc
>
> commit 0f0109c551ad0a25a952c92d3b0815c29a4f23cc
> Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
> AuthorDate: 2022-07-09 02:38:59 +0000
> Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
> CommitDate: 2022-07-09 02:41:15 +0000
>
>     lang/php81: Update version 8.1.7=>8.1.8
>
>     - Add STRIP_CMD for some binaries and libs [1]
>
>     Reported by:    sunpoet [1]
>

Thanks!


>     Relnotes: https://www.php.net/ChangeLog-8.php#8.1.8
>     Sponsored by:   Bounce Experts
> ---
>
[deleted]

> +       @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libphp.so
>

This has to be moved to post-install-EMBED-on:. Otherwise, the error occurs:
strip: open /usr/ports/lang/php81/work/stage//usr/local/lib/libphp.so
failed: No such file or directory
*** Error code 1

Stop.

BTW, the superfluous / before PREFIX can be removed.