Opened 3 years ago
Closed 3 years ago
#63373 closed defect (fixed)
cctools @949.0.1_1: not showing universal variant on darwin15
Reported by: | kencu (Ken) | Owned by: | kencu (Ken) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | jeremyhu (Jeremy Huddleston Sequoia) | |
Port: | cctools |
Description
I'm not sure why this started happening, exactly:
$ port info cctools cctools @949.0.1_1 (devel) Variants: [+]llvm10, llvm50, llvm60, llvm70, llvm80, llvm90, llvmdev, xcode Description: A set of essential tools to support development on Mac OS X and Darwin. Conceptually similar to binutils on other platforms. Homepage: https://opensource.apple.com/source/cctools/ Build Dependencies: libunwind-headers Library Dependencies: llvm-10 Platforms: darwin License: (APSL-2 or GPL-2+) Maintainers: Email: jeremyhu@macports.org, GitHub: jeremyhu Email: kencu@macports.org, GitHub: kencu Policy: openmaintainer
changing this:
if {${os.major} >= 20} { universal_variant no }
to this:
if {${os.major} >= 20} { universal_variant no } else { universal_variant yes }
appears to fix it:
$ port info cctools cctools @949.0.1_1 (devel) Variants: [+]llvm10, llvm50, llvm60, llvm70, llvm80, llvm90, llvmdev, (+)universal, xcode Description: A set of essential tools to support development on Mac OS X and Darwin. Conceptually similar to binutils on other platforms. Homepage: https://opensource.apple.com/source/cctools/ Build Dependencies: libunwind-headers Library Dependencies: llvm-10 Platforms: darwin License: (APSL-2 or GPL-2+) Maintainers: Email: jeremyhu@macports.org, GitHub: jeremyhu Email: kencu@macports.org, GitHub: kencu Policy: openmaintainer
Change History (5)
comment:1 Changed 3 years ago by kencu (Ken)
Cc: | jeremyhu added |
---|---|
Owner: | set to kencu |
Port: | cctools added |
Status: | new → assigned |
comment:2 Changed 3 years ago by jmroot (Joshua Root)
comment:3 Changed 3 years ago by kencu (Ken)
I somehow have the universal variant installed on a number of my systems. I noticed this during an update.
comment:4 Changed 3 years ago by kencu (Ken)
Looks like I inadvertantly deleted the universal variant a few months ago...silly me.
I'll put it right back again shortly
comment:5 Changed 3 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
use_configure no
has prevented the default universal variant from being added for ages. If you want it added anyway,universal_variant yes
will do that, or you can define your own universal variant. There shouldn't be any need to do something different with that based on the OS version these days.