Opened 15 years ago
Closed 12 years ago
#21496 closed enhancement (fixed)
universal 32/64-bit wxwidgets-devel (2.9.0) Portfile
Reported by: | Veence (Vincent) | Owned by: | jyrkiwahlstedt |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | wxwidgets universal | Cc: | mww@…, michaelld (Michael Dickens), gerald@… |
Port: | wxwidgets-devel |
Description
The appended Portfile, together with two patch files, should allow wxwidgets-devel (that is, release 2.9.0) to be built universal on 10.5/10.6. Please test it.
Attachments (3)
Change History (10)
Changed 15 years ago by Veence (Vincent)
Attachment: | Portfile.diff added |
---|
Changed 15 years ago by Veence (Vincent)
Attachment: | patch_bk_make_pch.diff added |
---|
Changed 15 years ago by Veence (Vincent)
Attachment: | patch_textctrl_mm.diff added |
---|
comment:1 Changed 15 years ago by Veence (Vincent)
PS : Since a universal SDL still seems dubious (cf. #20235), I've disable it in the universal variant
comment:2 Changed 15 years ago by israfel33@…
Building wxWidgets-devel with those patches works. But when I try to use 64bit version, I get error:
configure:17768: g++ -o conftest -O2 -Wall -Wno-long-long -g -Wno-variadic-macros -march=core2 -I/opt/local/lib/wx-devel/wx/include/osx_cocoa-unicode-release-2.9 -I/opt/local/include/wx-devel/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -DWXOSX_COCOA conftest.cpp -L/opt/local/lib/wx-devel -L/opt/local/lib -arch x86_64 -L/opt/local/lib -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -lwx_osx_cocoau-2.9 >&5 ld: warning: in /System/Library/Frameworks//QuickTime.framework/QuickTime, missing required architecture x86_64 in file
Seems it still bets on QuickTime having 64bit version, but that is not the case in SnowLeopard.
comment:3 Changed 15 years ago by kyle.tarplee@…
I can build the port/install. I can also link against the library. But I can't run them without modification. I think the library should use install_name_tool to change the name of dylibs so that once linked everything is fine. When I run it it can't find the library unless I change my DYLD_LIBRARY_PATH which I consider inferior to just fixing the libraries.
comment:7 Changed 12 years ago by jyrkiwahlstedt
Resolution: | → fixed |
---|---|
Status: | new → closed |
wxWidgets-devel is now in 2.9.4 (r95350), builds fine as universal, at least on 10.7…
portfile patch