Bug 254485 - databases/phpmyadmin5 depends on converters/php80-iconv
Summary: databases/phpmyadmin5 depends on converters/php80-iconv
Status: In Progress
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: 2021-03-22 20:04 UTC by Vincent Milum Jr
Modified: 2021-03-24 20:30 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 Vincent Milum Jr 2021-03-22 20:04:21 UTC
This probably applies to all the various phpmyadmin ports.

When attempting to load up the app, I get the following error message:

"Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: iconv"

Installing php80-iconv (or which ever PHP version you're using) fixes this issue.

The various phpmyadmin ports should probably have a runtime dependency listed on their respectively versioned phpXX-iconv ports.
Comment 1 Jochen Neumeister freebsd_committer 2021-03-22 20:55:14 UTC
Hi,

can you please check this patch for phpmyadmin5? http://joneum.joneumbox.org/phpmyadmin5-fix-iconv.diff

Greetings
Jochen
Comment 2 Vincent Milum Jr 2021-03-24 20:30:26 UTC
No, that isn't correct. I just tested it out. 

The addition of "iconv" should be under the "USE_PHP" line, not the "USES" line.

It is php74-iconv that is required, not libiconv.