[Bug 266313] lang/php82: strip is unconditional, installation fails (2022Q3)
Date: Fri, 09 Sep 2022 08:34:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266313 Bug ID: 266313 Summary: lang/php82: strip is unconditional, installation fails (2022Q3) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: michael.osipov@siemens.com For some reason the Makefile from lang/php81 hasn't been copied appropriately. strip(1) must be applied conditionally. Patch attached. 2022Q4 is still a month away. > root@deblndw013x3j:/var/tmp/freebsd-ports/lang/php82 (2022Q3 *=) > # git diff . > diff --git a/lang/php82/Makefile b/lang/php82/Makefile > index ea7b5914e..751f0bab5 100644 > --- a/lang/php82/Makefile > +++ b/lang/php82/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 \ > + @${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} > -- You are receiving this mail because: You are the assignee for the bug.