[MacPorts] #20345: p5-net-libidn: use ${configure.cc}
#20345: p5-net-libidn: use ${configure.cc} -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mni@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: p5-net-libidn -------------------------------------+-------------------------------------- p5-net-libidn uses "cc" during the configure phase, causing the following error when the script mentioned in UsingTheRightCompiler is used: {{{ ---> Configuring p5-net-libidn DEBUG: Using compiler 'Mac OS X gcc 4.0' DEBUG: Executing org.macports.configure (p5-net-libidn) DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/mp/include' CXXFLAGS='-O2' MACOSX_DEPLOYMENT_TARGET='10.4' LIBRARY_PATH='/mp/lib' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/mp/lib' FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install -c' C_INCLUDE_PATH='/mp/include' FFLAGS='-O2' OBJCFLAGS='-O2' CC='/usr/bin/gcc-4.0' DEBUG: Assembled command: 'cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_perl_p5-net- libidn/work/Net-LibIDN-0.10" && /mp/bin/perl Makefile.PL INSTALLDIRS=vendor' cc -lidn -o __test1 __test1.c cc: Error: You should be using ${configure.cc} See http://trac.macports.org/wiki/UsingTheRightCompiler gcc -lidn -o __test1 __test1.c gcc: Error: You should be using ${configure.cc} See http://trac.macports.org/wiki/UsingTheRightCompiler }}} The attached patch fixes this. -- Ticket URL: <http://trac.macports.org/ticket/20345> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20345: p5-net-libidn: use ${configure.cc} --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: mni@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: p5-net-libidn | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Committed in r54248 (maintainer timeout). -- Ticket URL: <http://trac.macports.org/ticket/20345#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts