Opened 13 years ago
Closed 8 years ago
#13870 closed defect (fixed)
BUG: xchm 1.13 defaults to Mac version of wxWidgets
Reported by: | gui-dos (Guido Soranzio) | Owned by: | markd@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | xchm |
Description
When not providing any flag to configure, xchm builds using the Mac version of wxWidgets.
The dependency on wxgtk should be specific of a x11 variant.
Change History (9)
comment:1 Changed 13 years ago by afb@…
comment:2 Changed 13 years ago by gui-dos (Guido Soranzio)
Because wxGTK'wx-config conflicts with the one already provided by wxWidgets, I suggested that the xchm's x11 version should be provided as a variant, otherwise the activation phase fails and even the casual user is requested to de/ativate the tho versions.
comment:3 Changed 13 years ago by afb@…
Ah, I see. Yes, this is a known shortcoming in MacPorts wxWidgets (only one at a time)
Feel free to borrow the ugly hackaround that I use in some of my own wxWidgets ports...
platform macosx {} if { [variant_isset macosx] && ![variant_isset x11] } { default_variants +aqua } if { [variant_isset puredarwin] } { default_variants +x11 } if { [variant_isset freebsd] } { default_variants +x11 } variant aqua requires macosx description "Use the wxMac port of wxWidgets" { depends_lib-append port:wxWidgets } variant x11 conflicts aqua description "Use the wxGTK port of wxWidgets" { depends_lib-append port:wxgtk }
comment:5 Changed 13 years ago by jmroot (Joshua Root)
Cc: | markd@… removed |
---|---|
Owner: | changed from macports-tickets@… to markd@… |
comment:7 Changed 10 years ago by jmroot (Joshua Root)
Port: | xchm added |
---|
comment:8 Changed 8 years ago by mojca (Mojca Miklavec)
I'm aware that this is an ancient ticket, but xchm 1.22 seems to work of with wxWidgets 2.9, at least for me. See #38375. Feel free to test in case that you are still interested in xchm. Once I commit the patches, I plan to close this ticket with "it's ok to depend on native wxWidgets". Now a better question would be: why is the port in x11
?
comment:9 Changed 8 years ago by mojca (Mojca Miklavec)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | 1.6.0 |
Fixed in r110276. The port now uses cocoa exclusively. There is wxgtk, but I don't see any reason to use it.
I cannot reproduce this. It seems to be using /opt/local/bin/wx-config and picks up wxGTK ?