Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#54986 closed defect (fixed)

swig-php: Add variants for php70, php71, make php71 the default

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: swig-php

Description

swig-php currently defaults to php55. php55 has reached end of life. Please add variants for php70 and php71 and make php71 the default, since that's the latest stable version.

Change History (4)

comment:1 Changed 6 years ago by michaelld (Michael Dickens)

Revisiting this ticket. PHP72 is out ... should it be the default? should I keep php56 around too, just for legacy sake? deprecate 5[2-5]?

Last edited 6 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 6 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

In 617fc70f166b5fde0e9ca1ae47c5173cb85c5316/macports-ports:

swig-php: add variants for php7X and make 7.1 the default.

Closes: #54986

comment:3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

I don't know how swig works or how users use swig; I don't know if there is benefit to building for a specific version of PHP. If there is, how about offering variants for all the version of PHP that the PHP port offers. 7.2 is the latest stable, so I would suggest that should be the default.

comment:4 Changed 6 years ago by michaelld (Michael Dickens)

Yeah I don't use this part of SWIG, so I don't know how it works. It looks from the contents of various variants that it installs the same files no matter which variant is selected; the actual PHP #include's don't even seem to be used. I've updated the port by adding the +php7X variants. I made 7.1 the default, but that's easy to change & I'll do so shortly. Thx for the feedback.

Note: See TracTickets for help on using tickets.