[MacPorts] #34708: macports swig missing d language support
#34708: macports swig missing d language support --------------------------------------+------------------------------------- Reporter: thelastmammoth@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: swig D | Port: swig --------------------------------------+------------------------------------- after installing swig (2.07), there is no support for d. also port search swig yields a bunch of languages but not d. D has been supported in swig since 2011/02/20, and the latest version from http://www.swig.org/ works fine with it. -- Ticket URL: <https://trac.macports.org/ticket/34708> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34708: macports swig missing d language support --------------------------------------+------------------------------------- Reporter: thelastmammoth@… | Owner: jwa@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: swig D | Port: swig --------------------------------------+------------------------------------- Changes (by ryandesign@…): * cc: kevin@… (added) * owner: macports-tickets@… => jwa@… -- Ticket URL: <https://trac.macports.org/ticket/34708#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34708: macports swig missing d language support -------------------------------+------------------------- Reporter: thelastmammoth@… | Owner: michaelld@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: swig D Port: swig | -------------------------------+------------------------- Changes (by michaelld@…): * owner: jwa@… => michaelld@… -- Ticket URL: <https://trac.macports.org/ticket/34708#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#34708: macports swig missing d language support -------------------------------+------------------------- Reporter: thelastmammoth@… | Owner: michaelld@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: swig D Port: swig | -------------------------------+------------------------- Comment (by michaelld@…): Are you suggesting using the "gdc" port for the D interface? I don't use D; no idea if MacPorts provides whatever SWIG needs. A little pointer would go a long way here, if this is still a request. -- Ticket URL: <https://trac.macports.org/ticket/34708#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#34708: macports swig missing d language support -------------------------------+------------------------- Reporter: thelastmammoth@… | Owner: michaelld@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: swig D Port: swig | -------------------------------+------------------------- Comment (by egall@…): Replying to [comment:4 michaelld@…]:
Are you suggesting using the "gdc" port for the D interface? I don't use D; no idea if MacPorts provides whatever SWIG needs. A little pointer would go a long way here, if this is still a request.
The swig configure script checks for `dmd`, so I think that we would use the "dmd" port for the D interface. -- Ticket URL: <https://trac.macports.org/ticket/34708#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#34708: macports swig missing d language support -------------------------------+------------------------- Reporter: thelastmammoth@… | Owner: michaelld@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: swig D Port: swig | -------------------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Looks like phobos is needed instead of dmd. Seems to work nicely now. Fixed in r120785. -- Ticket URL: <https://trac.macports.org/ticket/34708#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#34708: macports swig missing d language support -------------------------------+------------------------- Reporter: thelastmammoth@… | Owner: michaelld@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: swig D Port: swig | -------------------------------+------------------------- Comment (by egall@…): Replying to [comment:6 michaelld@…]:
Looks like phobos is needed instead of dmd. Seems to work nicely now. Fixed in r120785.
Well technically phobos depends on druntime which in turn depends on dmd, so it is not really "instead of"... I suppose in the context of what dependency gets explicitly added, "instead of" is correct though, due to how swig and its sub-ports work... -- Ticket URL: <https://trac.macports.org/ticket/34708#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#34708: macports swig missing d language support -------------------------------+------------------------- Reporter: thelastmammoth@… | Owner: michaelld@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: swig D Port: swig | -------------------------------+------------------------- Comment (by michaelld@…): If you try setting swig-d to depend solely on dmd, then SWIG (not the port) will fail configure for D because neither the D1 nor D2 compiler will work correctly. Ditto for druntime. SWIG is looking for compile files provided by both phobos and druntime; hence, swig-d must depend on phobos instead of dmd. That's how SWIG works; we can use whatever language we want to describe the relationship. -- Ticket URL: <https://trac.macports.org/ticket/34708#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts