[MacPorts] #56749: activation error of port gmic

MacPorts noreply at macports.org
Sat Jun 30 14:48:05 UTC 2018


#56749: activation error of port gmic
---------------------+-------------------------
  Reporter:  karo11  |      Owner:  Schamschula
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  gmic    |
---------------------+-------------------------

Comment (by ryandesign):

 Oh. So the bug is that the gmic portfile is using a variable called
 `targets`. It should use a different variable name.

 Isn't it weird that what looks like a local variable in the configure
 phase of a port would overwrite a variable used by MacPorts in other
 phases? Isn't it weird that portutil hasn't namespaced its variables so
 they can't conflict with Portfile variables? Isn't it weird that the
 author of the port didn't notice this problem before committing?

-- 
Ticket URL: <https://trac.macports.org/ticket/56749#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list