#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)
Change History (6)
Changed 16 years ago by michaelld (Michael Dickens)
Attachment: | patch_macclipboard-gimp_Portfile.diff added |
---|
Changed 16 years ago by michaelld (Michael Dickens)
Attachment: | patch_macfile-gimp_Portfile.diff added |
---|
patch for macfile-gimp Portfile to use $(CC) for compiler
comment:1 Changed 16 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 16 years ago by dbevans (David B. Evans)
Owner: | changed from macports-tickets@… to devans@… |
---|---|
Status: | new → assigned |
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 16 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Changes committed as suggested in r45767. Thanks again for the patches.
patch for macclipboard-gimp Portfile to use $(CC) for compiler