Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#37341 closed defect (fixed)

Cmake portgroup - patch to keep cmake from Frameworks from blocking MacPorts-provided libraries

Reported by: cooljeanius (Eric Gallager) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch Cc: cssdev, mamoll (Mark Moll)
Port:

Description

Often times ports in the Cmake portgroup will pick up frameworks from my /Library/Frameworks folder when configuring, which will prevent it from picking up the proper the proper MacPorts libraries. Apparently this can be prevented by using the flag -DCMAKE_FIND_FRAMEWORK=LAST with Cmake. Citation: The Cmake manpage. Also Homebrew uses this flag with Cmake.

Attachments (1)

cmake-1.0.tcl.diff (432 bytes) - added by cooljeanius (Eric Gallager) 11 years ago.
patch to apply to Cmake port group

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by cooljeanius (Eric Gallager)

Attachment: cmake-1.0.tcl.diff added

patch to apply to Cmake port group

comment:1 Changed 11 years ago by jmroot (Joshua Root)

Cc: css@… added
Component: baseports

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

Cc: mmoll@… added

Cc Me!

comment:3 Changed 11 years ago by neverpanic (Clemens Lang)

Owner: changed from macports-tickets@… to cal@…
Status: newassigned

Commited in r101544.

comment:4 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: assignedclosed

comment:5 Changed 11 years ago by cooljeanius (Eric Gallager)

Thanks for committing this, cal!

Note: See TracTickets for help on using tickets.