New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #18307 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

in reply to: ↑ description   Changed 3 years ago by ryandesign@…

  • status changed from new to assigned

Replying to ryandesign@…:

The  documentation for mime-magic still shows --with-mime-magic as a valid option.

I  filed php bug 47262 to have the documentation updated.

  Changed 3 years ago by ryandesign@…

  • status changed from assigned to closed
  • resolution set to fixed

Removed --with-mime-magic in r46473.

  Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

  Changed 3 years ago by ryandesign@…

Removed from php5 as well in r53563 now that it has been updated to 5.3.0.

Note: See TracTickets for help on using tickets.