Opened 5 years ago

Closed 4 years ago

#60451 closed defect (fixed)

scdoc isn't using the right compiler or -arch flags; doesn't have universal variant

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: herrbischoff (Marcel Bischoff)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: scdoc

Description

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.

Change History (3)

comment:1 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

There is pull request that attempts to fix this problem.

comment:2 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:3 Changed 4 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In e5248d4e036b8488d75ba2efc9e28814183af0e3/macports-ports (master):

scdoc: respect MacPorts settings

Fixes #60451

Note: See TracTickets for help on using tickets.