New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #23703 (new defect)

Opened 3 years ago

Last modified 3 years ago

apr0 apr_rules.mk contains arch flags

Reported by: ryandesign@… Owned by: blair@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: apr0

Description

apr0's apr_rules.mk contains arch flags:

$ port contents apr0 | sed 1d | xargs grep ' -arch '
/opt/local/share/apr-0/build/apr_rules.mk:CFLAGS=-O2 -arch x86_64

These should be removed before installation.

Change History

comment:1 Changed 3 years ago by blair@…

What do you suggest I do? Just use replace to get rid of that?

comment:2 Changed 3 years ago by ryandesign@…

Yes, using reinplace should be fine. Probably in a post-build block. There are some other ports that do this already, like gd2 and curl, and clhep once I get through with it in a moment.

comment:3 follow-up: ↓ 4 Changed 3 years ago by blair@…

Put I need to check for all arch values, so maybe something that removes -arch and any argument is better?

Is there any documentation why this is needed?

comment:4 in reply to: ↑ 3 Changed 3 years ago by ryandesign@…

Replying to blair@…:

Put I need to check for all arch values, so maybe something that removes -arch and any argument is better?

Yes. See r63747 for how I made this change to GraphicsMagick just now.

Is there any documentation why this is needed?

Documentation would be good. I'll write some and add it to PortfileRecipes.

comment:5 Changed 3 years ago by ryandesign@…

Note: See TracTickets for help on using tickets.