New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20261 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

php5-apc probably doesn't work on case-sensitive filesystems

Reported by: ryandesign@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: nox@…
Port: php5-apc

Description

php5-apc installs a file ${prefix}/var/db/php5/APC.ini which contains this:

extension=APC.so

However the extension that's actually installed is apc.so so this will probably fail on a case-sensitive filesystem.

The problem arises because the module name was declared to be "APC" in the php5extension.setup call, and then the port name was overridden to be php5-apc. This should be changed to declare the module name to be "apc" in the php5extension.setup call, then you don't need to override the module name and the case issues go away, you just need to override the distname.

Change History

comment:1 Changed 4 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r53652.

Note: See TracTickets for help on using tickets.