Opened 11 years ago

Closed 11 years ago

#19888 closed defect (fixed)

git-core should use ${configure.cc}

Reported by: ryandesign (Ryan Schmidt) Owned by: ryandesign (Ryan Schmidt)
Priority: Low Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: bryan@…, maccheck@…
Port: git-core

Description

--->  Fetching git-core
--->  Verifying checksum(s) for git-core
--->  Extracting git-core
--->  Applying patches to git-core
--->  Configuring git-core
--->  Building git-core
Error: Target org.macports.build returned: shell command " cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_devel_git-core/work/git-1.6.3.2" && nice -n 10 make all CFLAGS="-Wall -O2 -I/mp/include" LDFLAGS="-L/mp/lib" prefix=/mp CURLDIR=/mp OPENSSLDIR=/mp ICONVDIR=/mp PERL_PATH="/mp/bin/perl" NO_FINK=1 NO_DARWIN_PORTS=1 NO_R_TO_GCC_LINKER=1 " returned error 2
Command output: GIT_VERSION = 1.6.3.2
    * new build flags or prefix
Command output:     CC fast-import.o
gcc -o fast-import.o -c -Wall -O2 -I/mp/include -I/mp/include -I/mp/include -I/mp/include -DUSE_ST_TIMESPEC -DOLD_ICONV -DTHREADED_DELTA_SEARCH -DSHA1_HEADER=<openssl/sha.h> -DNO_MEMMEM fast-import.c
gcc: Error: You should be using /usr/bin/gcc-*:
See http://trac.macports.org/wiki/UsingTheRightCompiler
make: *** [fast-import.o] Error 1

Error: Status 1 encountered during processing.

I will commit a fix for this momentarily.

Change History (1)

comment:1 Changed 11 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

Fixed in r52006.

Note: See TracTickets for help on using tickets.