[MacPorts] #67101: apr-util doesn't always use -arch flags
MacPorts
noreply at macports.org
Sat Oct 28 00:40:00 UTC 2023
#67101: apr-util doesn't always use -arch flags
-----------------------+------------------------------
Reporter: rmottola | Owner: danielluke
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords: lion x86_64 i386
Port: apr-util |
-----------------------+------------------------------
Changes (by ryandesign):
* status: assigned => closed
* resolution: => fixed
Comment:
Replying to [comment:16 danielluke]:
> I'll go ahead and commit with revbump to force rebuild for anyone else
who's in this situation.
It was committed in [84511d50c08edead71cfc42eb6e8f2eff139d820/macports-
ports], thus resolving this ticket.
It would have been simpler to just do:
{{{
variant universal {}
build.args EXTRA_CFLAGS="[get_canonical_archflags cc]" \
EXTRA_LDFLAGS="[get_canonical_archflags ld]"
}}}
since `get_canonical_archflags` already knows about the distinction
between universal and non-universal builds, provided that the portfile has
declared in advance that a universal variant exists.
--
Ticket URL: <https://trac.macports.org/ticket/67101#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list