Opened 15 years ago

Closed 15 years ago

#20244 closed defect (fixed)

cmake modules can not find frameworks in ${prefix}/Library/Frameworks

Reported by: mamoll (Mark Moll) Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: cmake Frameworks Cc: mamoll (Mark Moll), drew.h.bryant@…
Port: cmake

Description

One line change will force cmake to check ${prefix}/Library/Frameworks before the other system-wide Framework locations.

Attachments (2)

patch-CMakeFindFrameworks.cmake.diff (470 bytes) - added by mamoll (Mark Moll) 15 years ago.
Portfile (1.4 KB) - added by mamoll (Mark Moll) 15 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 15 years ago by cssdev

Status: newassigned

This would only work when the prefix is /opt/local. A better fix might be to patch first, then use reinplace to insert the MacPorts prefix.

Changed 15 years ago by mamoll (Mark Moll)

Changed 15 years ago by mamoll (Mark Moll)

Attachment: Portfile added

comment:2 Changed 15 years ago by mamoll (Mark Moll)

Updated patch and Portfile. Please check and commit.

comment:3 Changed 15 years ago by cssdev

Resolution: fixed
Status: assignedclosed
Version: 1.7.11.8.0

This seems to work nicely, thanks for the patch! Now if only it was that easy for all the other modules to look in $prefix! Committed to r57041.

Note: See TracTickets for help on using tickets.