Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18307 closed defect (fixed)

php5-devel: unknown configure option --with-mime-magic

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: jyrkiwahlstedt
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 (4)

comment:1 in reply to:  description Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Status: newassigned

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.

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Removed --with-mime-magic in r46473.

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

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.