[MacPorts] #14635: Patch for php5 portfile
#14635: Patch for php5 portfile --------------------------------------+------------------------------------- Reporter: info@sparkmediagroup.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: php5 | --------------------------------------+------------------------------------- There appears to be a typo in the mysql5 variant section at line 231, where "--with-mysql=${'''workpath'''}/mysql5" should be "--with- mysql=${'''prefix'''}/mysql5" ... a diff is attached. Note, if this is in fact a typo, it appears in the various other flavors of the php5 port (i.e., php5-devel, etc.) as well. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14635> MacPorts </projects/macports> Ports system for Mac OS
#14635: Patch for php5 portfile ---------------------------------------+------------------------------------ Reporter: info@sparkmediagroup.com | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: php5 ---------------------------------------+------------------------------------ Changes (by ryandesign@macports.org): * cc: ryandesign@macports.org (removed) * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org Comment: Is not a typo. Why do you think it should be changed? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14635#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14635: Patch for php5 portfile ---------------------------------------+------------------------------------ Reporter: info@sparkmediagroup.com | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: php5 ---------------------------------------+------------------------------------ Changes (by ryandesign@macports.org): * status: new => closed * resolution: => wontfix Comment: No feedback, closing. If you still feel this is an issue, please reopen and explain. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14635#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14635: Patch for php5 portfile ---------------------------------------+------------------------------------ Reporter: info@sparkmediagroup.com | Owner: ryandesign@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: php5 ---------------------------------------+------------------------------------ Changes (by info@sparkmediagroup.com): * status: closed => reopened * resolution: wontfix => Comment: Hi, sorry for the delay. Though it may or may not have functional consequence, it does raise a flag when looking at your phpinfo()—finding a configure option that, at least on first glance, would have linked to no resource. Assuming that this configure setting has no negative effect, it ends up being misleading as a clue when troubleshooting other problems. The reason I bring this up is that when troubleshooting a problem I was having with my cms (based on php/mysql), this caught my eye, and I ended up spending time looking into it when, in the end, it was not an issue. There may be a very good reason for the approach you took, but if there's an equally effective alternative (that doesn't cause the confusion mentioned above), I'd humbly suggest using the alternative. For my own purposes, I changed the port as I'd proposed with this patch and all builds and functions without issue. Thanks for your consideration! -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14635#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14635: Patch for php5 portfile ---------------------------------------+------------------------------------ Reporter: info@sparkmediagroup.com | Owner: ryandesign@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: php5 ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): The option was written that way in the portfile when I inherited it. I did not know that your way would also work. Since your way is clearly simpler, I assumed that would have been used before if it had worked. When I have some time I will attempt to research why the portfile is written the way it's written, and see if we can change it without adverse consequences. Note that there is also talk of changing the layout of the mysql5 portfile's contents to be "less weird". This may affect this option in the php portfiles (and all other portfiles that use mysql) as well. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14635#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#14635: php5: simplify --with-mysql option if possible ---------------------------------------+------------------------------------ Reporter: info@sparkmediagroup.com | Owner: ryandesign@macports.org Type: enhancement | Status: reopened Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: php5 ---------------------------------------+------------------------------------ Changes (by ryandesign@macports.org): * summary: Patch for php5 portfile => php5: simplify --with-mysql option if possible * type: defect => enhancement * milestone: Port Bugs => Port Enhancements Comment: The portfile works as it is, so this is an enhancement request, not a bug report. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14635#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#14635: php5: simplify --with-mysql option if possible ---------------------------------------+------------------------------------ Reporter: info@sparkmediagroup.com | Owner: ryandesign@macports.org Type: enhancement | Status: reopened Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: php5 ---------------------------------------+------------------------------------ Comment (by info@sparkmediagroup.com): ok, let me know if I can be of more assistance. Cheers! -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14635#comment:6> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts