Dear qt*-maintainers/interested,

On 06 Jul 2015, at 10:00 , René J.V. Bertin <[email protected]> wrote:
> I think that can only be done by modifying the Qt PortGroup files so that 
> they detect the install layout and adapt the variable definitions they serve 
> accordingly. The cleanest approach I can think of (taking Qt5 as an example) 
> would rename qt5-1.0.tcl to qt5-mac-1.0.tcl and then rewrite qt5-1.0.tcl as 
> follows:
> 
> {{{
> # preamble
> 
> if {[file exists ${prefix}/some/fingerprint/for/qt5-kde]} {
>   PortGroup qt5-kde 1.0
> } else {
>   PortGroup qt5-mac 1.0
> }
> }}}

I have no idea what this fingerprint would actually be.

Neither I know whether this would be a viable way to introduce two new port 
groups and put qt5 into pension.

        Would be good to get some feedback on how to handle this.

---

Right now I am struggling with phonon [1], since it doesn’t want to install 
itself with current qt5-mac on my system,
but perhaps I better open a separate thread for that topic…

Greets,
Marko



[1] https://trac.macports.org/ticket/46552

_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to