Ticket #11068 (closed defect: fixed)
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: |
Description
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.
-
/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/archivers/par2/Portfile
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.325 configure.env-append CC=/usr/bin/gcc CXX=/usr/bin/g++ 26 26 }
Change History
comment:1 Changed 6 years ago by mgrimes@…
- Status changed from new to closed
- Resolution set to fixed
comment:2 Changed 6 years ago by nox@…
- Priority changed from Important to High
- Milestone set to MacPorts base bugs
Note: See
TracTickets for help on using
tickets.


Fixed in r21245. Please open new ticket if there any outstanding issues.