Ticket #18307 (closed defect: fixed)
php5-devel: unknown configure option --with-mime-magic
| Reported by: | ryandesign@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | jwa@… | |
| Port: | php5-devel |
Description
php5-devel uses the configure option "--with-mime-magic" but the configure script complains that this is not known:
Thank you for using PHP. Notice: Following unknown configure options were used: --with-xml --with-mime-magic Check './configure --help' for available options
(The unknown "--with-xml" option is filed separately in #14859.)
The documentation for mime-magic still shows --with-mime-magic as a valid option.
The NEWS file says that in php 5.3.0alpha1 the PECL module fileinfo was brought into the php source tree as a replacement for mime-magic. The documentation for fileinfo says it's on by default so we don't need to add a configure argument for it.
5.3.0alpha1 still accepted the --with-mime-magic switch but 5.3.0alpha3 and 5.3.0beta1 no longer do. (MacPorts never had 5.3.0alpha2 so I did not test that version.)
Change History
Note: See
TracTickets for help on using
tickets.

