Opened 13 years ago
Closed 13 years ago
#34451 closed defect (fixed)
opencv: 2.4.0 +universal fails
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | raphael-st (Raphael Straub) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | haspatch | Cc: | raphael-st (Raphael Straub) |
Port: | opencv |
Description
Attachments (4)
Change History (9)
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | opencv.main.log.bz2 added |
---|
comment:1 Changed 13 years ago by raphael-st (Raphael Straub)
Owner: | changed from macports-tickets@… to raphael@… |
---|---|
Status: | new → assigned |
Changed 13 years ago by raphael-st (Raphael Straub)
Attachment: | Portfile.diff added |
---|
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | opencv: upgrading to 2.4.0 fails → opencv: 2.4.0 +universal fails |
---|
No change. Here's a new log. It builds fine non-universal, just the universal variant doesn't cooperate.
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | opencv.main.log added |
---|
comment:3 Changed 13 years ago by raphael-st (Raphael Straub)
Your log says:
:info:configure Manually-specified variables were not used by the project: :info:configure :info:configure USE_PRECOMPILED_HEADERS
So, the if statement in the portfile works, but USE_PRECOMPILED_HEADERS
is ignored. The new patch in the attachment should do the right thing.
Changed 13 years ago by raphael-st (Raphael Straub)
Attachment: | Portfile.2.diff added |
---|
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|
Yes, that does it, thanks.
comment:5 Changed 13 years ago by raphael-st (Raphael Straub)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
The error in your log is
The problem is that precompiled headers are used although the universal variant is chosen. The log shows that the patch
patch-pch-CMakeLists.txt.diff
to turn off precompiled headers in the universal variant is not applied. Please try the attached patch.