Opened 11 years ago

Closed 11 years ago

#20345 closed defect (fixed)

p5-net-libidn: use ${}

Reported by: ryandesign (Ryan Schmidt) Owned by: mni@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
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 ${}
gcc -lidn -o __test1 __test1.c
gcc: Error: You should be using ${}

The attached patch fixes this.

Attachments (1)

p5-net-libidn.diff (974 bytes) - added by ryandesign (Ryan Schmidt) 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by ryandesign (Ryan Schmidt)

Attachment: p5-net-libidn.diff added

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

Resolution: fixed
Status: newclosed

Committed in r54248 (maintainer timeout).

Note: See TracTickets for help on using tickets.