Changes between Initial Version and Version 1 of Ticket #35546


Ignore:
Timestamp:
Aug 6, 2012, 7:03:57 AM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Simpler: just add this line:

compiler.blacklist clang

Instead of a complete new Portfile, you should provide a unified diff of your changes so that they are easier to review. I'll attach this.

When you report that a port will not build, you should attach the main.log file so that we can see how it failed. I'll attach this too. The error it shows is:

:info:build Undefined symbols for architecture x86_64:
:info:build   "_buildcommand", referenced from:
:info:build       _openinfo in pinfo-filehandling_functions.o
:info:build   "_builddircommand", referenced from:
:info:build       _opendirfile in pinfo-filehandling_functions.o
:info:build ld: symbol(s) not found for architecture x86_64

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35546

    • Property Keywords clang haspatch added
    • Property Owner changed from macports-tickets@… to master@…
    • Property Cc ryandesign@… added
  • Ticket #35546 – Description

    initial v1  
    11On Mountain Lion and Xcode 4.4 (4F250)'s version of clang, pinfo will not build. If you add the following snippet to the Portfile, it will however:
    22
     3{{{
    34if {${configure.compiler} == "clang"} {
    45    configure.compiler llvm-gcc-4.2
    56}
     7}}}
    68
    79Attached is my updated version of the Portfile. Thanks.