[MacPorts] #60451: scdoc isn't using the right compiler or -arch flags; doesn't have universal variant

MacPorts noreply at macports.org
Fri May 8 00:17:57 UTC 2020


#60451: scdoc isn't using the right compiler or -arch flags; doesn't have universal
variant
------------------------+--------------------------
 Reporter:  ryandesign  |      Owner:  herrbischoff
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  scdoc
------------------------+--------------------------
 scdoc is using `use_configure no` and therefore, by default, isn't
 UsingTheRightCompiler or `-arch` flags and doesn't have a universal
 variant.

 From the verbose build output:

 {{{
 cc -std=c99 -pedantic -c -o .build/main.o -g -DVERSION='"1.10.1"' -Wall
 -Wextra -Werror -Wno-unused-parameter -Iinclude src/main.c
 }}}

 Note the use of `cc` instead of the compiler MacPorts wants, and the lack
 of the `-arch` flags that should usually be there.

 This can be fixed manually, or possibly by using the makefile 1.0
 portgroup.

-- 
Ticket URL: <https://trac.macports.org/ticket/60451>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list