Date: Fri, 09 Sep 2022 08:34:50 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266313] lang/php82: strip is unconditional, installation fails (2022Q3) Message-ID: <bug-266313-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266313 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 appropriate= ly. strip(1) must be applied conditionally. Patch attached. 2022Q4 is still a m= onth away. > root@deblndw013x3j:/var/tmp/freebsd-ports/lang/php82 (2022Q3 *=3D) > # 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) >=20 > 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-produ= ction \ > + @${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-prod= uction \ > ${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} > --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266313-7788>