Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#11772 closed defect (fixed)

git-core won't build with Apple toolchain

Reported by: yaseppochi (Stephen J. Turnbull) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: bryan@…
Port:

Description

port 1.400 from subversion, updated about a week ago
Mac OS X 10.4.9
Xcode 2.4.1
git-core 1.5.0.5_0

Apple GCC complains about -R, but modifying the Portfile to set NO_R_TO_GCC_LINKER doesn't help because then Apple ld doesn't like -rpath (passed via gcc -Wl,-rpath).

Modifying the git-core Makefile to change -R to -L (which is redundant) gives a build.

Change History (6)

comment:1 Changed 17 years ago by pipping@…

Milestone: Port Bugs

comment:2 Changed 17 years ago by pipping@…

Cc: bryan@… added

comment:3 Changed 17 years ago by bryan@…

Seems to work for me. On a clean install of OS X 10.4.9 I installed XCode 2.4.1 and then MacPorts 1.400. Then I did a "port install git", and it compiled without problems. What version of XCode do you have?

comment:4 Changed 17 years ago by bryan@…

Makes me look stupid when I ask a question answered before it was asked. :)

The core complaint can be seen by using the "port -d". I've sent a patch to Elias and asked him to apply it.

comment:5 Changed 17 years ago by pipping@…

Resolution: fixed
Status: newclosed

fixed in r24796.

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.