HomeFreeBSD

lang/cling: Fix build

Description

lang/cling: Fix build

  • While I'm here:
    • Use = instead of += for CMAKE_ARGS, PLIST_SUB and SUB_LIST
    • Remove CMAKE_BUILD_TYPE
    • Clean up Makefile
    • Cosmetic change

ld: error: version script assignment of 'LLVM_5.0' to symbol 'LLVMCreateDisasm' failed: symbol not defined
ld: error: version script assignment of 'LLVM_5.0' to symbol 'LLVMCreateDisasmCPU' failed: symbol not defined
ld: error: version script assignment of 'LLVM_5.0' to symbol 'LLVMDisasmDispose' failed: symbol not defined
ld: error: version script assignment of 'LLVM_5.0' to symbol 'LLVMDisasmInstruction' failed: symbol not defined
ld: error: version script assignment of 'LLVM_5.0' to symbol 'LLVMSetDisasmOptions' failed: symbol not defined
c++: error: linker command failed with exit code 1 (use -v to see invocation)

Reference: https://pkg-status.freebsd.org/beefy16/data/133amd64-default/a71eaeb3e54e/logs/cling-0.5.2018.08.13_12.log

Details

Provenance
sunpoetAuthored on Jul 18 2024, 4:47 PM
Parents
R11:cdad41905c00: devel/rubygem-mocha: Update to 2.4.1
Branches
Unknown
Tags
Unknown