Ticket #31994 (closed update: fixed)
pwman: lion - compiler fix
| Reported by: | mni@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | maintainer haspatch | Cc: | ryandesign@… |
| Port: | pwman |
Description
pwman cant compile on a clean-install Lion.
Compilers clang and llvm-gcc refuses to build it, due to frequent use of 'casual return' :)
I have looked for compiler options to allow this, but was unable to find any. So I see no other way than to depend on the apple-gcc42 macport.
Attached is the Portfile-patch with this dependency - and it works fine.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


We want to use the 3rd block shown in wiki:PortfileRecipes#compiler. We don't want to unconditionally use apple-gcc42 since that's unnecessary on Xcode versions earlier than 4.2.