Opened 12 years ago

Closed 12 years ago

#35004 closed defect (duplicate)

macports.tcl _is_valid_developer_dir is checking for Developer/Headers?

Reported by: llattanzi+McF@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.1.1
Keywords: Cc: deadshort@…
Port:

Description

The checks for Library and usr make sense but why check for the non-existing Developer/Headers?

This triggers an mdfind for other Xcodes but my /Applications/Xcode.app is already adequate to build/install ports.

Change History (3)

comment:1 Changed 12 years ago by deadshort@…

Cc: deadshort@… added

Cc Me!

comment:2 Changed 12 years ago by deadshort@…

This becomes a noticeable problem with new Xcodes, especially if you have several of them (/Applications/Xcode4{3,4,5}-DPx.app, etc) for one reason or another. The simple case in macports::set_developer_dir falls through to a pretty confusing message, given that it cannot be fixed. That function might also select /Applications/Xcode.app, which might not be the right one.

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.