Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#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  
    1616master_sites    sourceforge:parchive
    1717checksums      md5 1551b63e57e3c232254dc62073b723a9
    1818distname       par2cmdline-${version}
    19 patchfiles     stricmp-define.patch
     19patchfiles     stricmp-define.patch par2cmdline-0.4-gcc4.patch
    2020configure.args  --mandir=${prefix}/share/man
    2121configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
    2222                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress"
    2323
    2424platform 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++
    2626}

Change History (4)

comment:1 Changed 18 years ago by mgrimes@…

Resolution: fixed
Status: newclosed

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

comment:2 Changed 17 years ago by nox@…

Milestone: MacPorts base bugs
Priority: ImportantHigh

comment:3 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: MacPorts base bugsPort Bugs
Priority: HighNormal

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.