Bug 251252 - www/mpd_php80: wrong libphp name
Summary: www/mpd_php80: wrong libphp name
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-19 10:13 UTC by Jonas Palm
Modified: 2020-11-19 10:25 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Palm 2020-11-19 10:13:55 UTC
The libphp library is just called libphp.so with www/mod_php80:
root@webserver:/ # pkg list mod_php80
/usr/local/libexec/apache24/libphp.so

But Mk/Uses/php.mk expects the following (line 281):
RUN_DEPENDS+=   ${PHPBASE}/${APACHEMODDIR}/libphp${PHP_VER:C/.$//}.so:${MOD_PHP_PORT}

This causes ports with
USES += php:mod
to fail.

Poudriere error:
webserver-meta depends on file: /usr/local/libexec/apache24/libphp8.so - not found