Opened 11 years ago

Closed 11 years ago

#37655 closed enhancement (fixed)

bob: use PortGroup active_variants

Reported by: ci42 Owned by: laurent.el-shafey@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch Cc: andre.anjos@…
Port: bob

Description

The check if boost is installed with the required python variant could be simplified with active_variants portgroup.

Attachments (1)

Portfile.diff (1.5 KB) - added by ci42 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by ci42

Attachment: Portfile.diff added

comment:1 Changed 11 years ago by ci42

Keywords: haspatch added

See the attached patch.

comment:2 Changed 11 years ago by laurent.el-shafey@…

Thanks for your comment AND for providing the patch. I've just test it and it works well for me. @Andre, as you originally wrote this piece of code, could you please confirm?

comment:3 Changed 11 years ago by andre.dos.anjos@…

This looks alright for me - much better than my hackish solution. Thanks for the patch.

comment:4 Changed 11 years ago by ci42

Resolution: fixed
Status: newclosed

Committed in r101636.

Note: See TracTickets for help on using tickets.