Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#54575 closed defect (fixed)

gptfdisk @1.0.1: fails to build because it tries to build universal

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: nano103
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gptfdisk

Description

gptfdisk tries to build itself universal even when the universal variant was not requested. This will fail if the user had not already installed the dependencies universal.

See https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/36129

In fact the port has no universal variant. This should be corrected, along with making the port use the right (single) arch when not building universal.

Change History (4)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

This project's Makefile uses the FATBINFLAGS variable to control the -arch flags, so that's probably what you want to set to [get_canonical_archflags] in the Portfile's build.args.

comment:2 Changed 7 years ago by Andrey <andrey@…>

Resolution: fixed
Status: newclosed

In 2fa34ee0f9b149f8080f60f14a7bbaa05c8cc664/macports-ports:

gptfdisk: version upgrade to 1.0.3

gptfdisk fixes:
universal build flags are removed
preffix hardcode fixed
link with dylib instead of static lib

fixed: #54575
fixed: #54576
fixed: #54577

comment:3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

In d46695c31edf0e4ed768bd24286895b792f1167d/macports-ports (master):

gptfdisk: Specify -arch flags in FATBINFLAGS

since the Makefile makes this variable available for this purpose.

A section of the patchfile is therefore unnecessary.

See: #54575

comment:4 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

In 7093d1e9ed431e934f2f9384eed7e01ce38be301/macports-ports (master):

gptfdisk: Add universal variant

See: #54575

Note: See TracTickets for help on using tickets.