Opened 13 years ago

Closed 13 years ago

#33598 closed defect (fixed)

xorg-libXt should be UsingTheRightCompiler

Reported by: nerdling (Jeremy Lavergne) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: base Version: 2.0.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: xorg-libXt xorg-libX11

Description

xorg-libXt should be updated so it is UsingTheRightCompiler. This problem also affects xorg-libx11.

checking for cpp... /opt/local/bin/no_default_gcc/cpp
checking if /opt/local/bin/no_default_gcc/cpp requires -undef... cpp 
cpp: Error: You should be using ${configure.cpp}
See http://trac.macports.org/wiki/UsingTheRightCompiler

Attachments (1)

portconfigure.tcl.patch (996 bytes) - added by jeremyhu (Jeremy Huddleston Sequoia) 13 years ago.
portconfigure.tcl.patch

Download all attachments as: .zip

Change History (8)

comment:1 Changed 13 years ago by nerdling (Jeremy Lavergne)

Cc: ryandesign@… added
Owner: changed from jeremyhu@… to jeremyhu@…

Setting to only one owner…

comment:2 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Component: portsbase
Port: xorg-libXt added; xorg-libxt xorg-libx11 removed
Status: newassigned

xorg-libXt has RAWCPP=${configure.cpp}, but clang has no cpp set. This was discussed a few weeks ago on the mailing list, but I don't remember what our resolution was going to be.

comment:3 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Port: xorg-libX11 added

comment:4 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Maybe we should be using $(xcrun -find cpp) $(xcrun -find cc) and $(xcrun -find c++) as defaults to avoid any of those never being set...

Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Attachment: portconfigure.tcl.patch added

portconfigure.tcl.patch

comment:5 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Does this change for portconfigure.tcl help you out?

comment:6 Changed 13 years ago by nerdling (Jeremy Lavergne)

With this patch, xorg-libx11 builds with the correct compiler.

comment:7 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: assignedclosed

Thanks for testing.

r91312

Note: See TracTickets for help on using tickets.