archivers/par2 fails to build on Intel Mac + gcc 4
Reported by: |
jedimike@… |
Owned by: |
macports-tickets@… |
Priority:
|
Normal
|
Milestone:
|
|
Component:
|
ports
|
Version:
|
1.3.2
|
Keywords:
|
|
Cc:
|
|
Port:
|
|
|
|
For some reason this port tries to use gcc-3.3, which is broken on Intel Macs AFAIK. After removing the version specificness from the Portfile I came across a gcc 4-specific problem. The Debian guys have a trivial patch for it here (also includes a description of the build failure). Below is a modified Portfile with the gcc change and the gcc-4 patch.
-
old
|
new
|
|
16 | 16 | master_sites sourceforge:parchive |
17 | 17 | checksums md5 1551b63e57e3c232254dc62073b723a9 |
18 | 18 | distname par2cmdline-${version} |
19 | | patchfiles stricmp-define.patch |
| 19 | patchfiles stricmp-define.patch par2cmdline-0.4-gcc4.patch |
20 | 20 | configure.args --mandir=${prefix}/share/man |
21 | 21 | configure.env CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \ |
22 | 22 | CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" |
23 | 23 | |
24 | 24 | platform darwin 8 { |
25 | | configure.env-append CC=/usr/bin/gcc-3.3 CXX=/usr/bin/g++-3.3 |
| 25 | configure.env-append CC=/usr/bin/gcc CXX=/usr/bin/g++ |
26 | 26 | } |
Change History (4)
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Milestone: |
→ MacPorts base bugs
|
Priority: |
Important →
High
|
Milestone: |
MacPorts base bugs →
Port Bugs
|
Priority: |
High →
Normal
|
Fixed in r21245. Please open new ticket if there any outstanding issues.