Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18127 closed defect (fixed)

macclipboard-gimp and macfile-gimp can use incorrect compiler

Reported by: michaelld (Michael Dickens) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: macclipboard-gimp, macfile-gimp

Description

The 'Makefile' provided by these hardwires the use of 'gcc' -- whichever is found first in the shell environment PATH. For those who place /opt/local/bin first, and have gcc installed by MacPorts, the found 'gcc' does not work. I'm providing a patch to fix this issue for both ports' Portfile, which replaced 'gcc' with '$(CC)' ... which is then by default defined as '/usr/bin/cc' ... which is Apple's 'cc' ... not the best solution, but certainly workable on a Port by Port basis.

Attachments (2)

patch_macclipboard-gimp_Portfile.diff (292 bytes) - added by michaelld (Michael Dickens) 15 years ago.
patch for macclipboard-gimp Portfile to use $(CC) for compiler
patch_macfile-gimp_Portfile.diff (287 bytes) - added by michaelld (Michael Dickens) 15 years ago.
patch for macfile-gimp Portfile to use $(CC) for compiler

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by michaelld (Michael Dickens)

patch for macclipboard-gimp Portfile to use $(CC) for compiler

Changed 15 years ago by michaelld (Michael Dickens)

patch for macfile-gimp Portfile to use $(CC) for compiler

comment:1 Changed 15 years ago by michaelld (Michael Dickens)

A better solution would be to use ${configure.cc} instead of \$(CC) in each reinplace ... sorry I didn't catch that earlier.

comment:2 Changed 15 years ago by dbevans (David B. Evans)

Owner: changed from macports-tickets@… to devans@…
Status: newassigned

These are really a bit outdated which probably explains the problem. I assume this is a Leopard specific problem as they build ok on Tiger.

Thanks for the input.

comment:3 Changed 15 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

Changes committed as suggested in r45767. Thanks again for the patches.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.