Ticket #21496 (closed enhancement: fixed)
universal 32/64-bit wxwidgets-devel (2.9.0) Portfile
| Reported by: | vince@… | Owned by: | jwa@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.0 |
| Keywords: | wxwidgets universal | Cc: | mww@…, michaelld@…, 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
Change History
Changed 4 years ago by vince@…
- Attachment Portfile.diff added
comment:1 Changed 4 years ago by vince@…
PS : Since a universal SDL still seems dubious (cf. #20235), I've disable it in the universal variant
comment:2 Changed 4 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 3 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.


portfile patch