Opened 11 years ago

Last modified 22 months ago

#23703 assigned defect

apr0 apr_rules.mk contains arch flags

Reported by: ryandesign (Ryan Schmidt) Owned by:
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 (6)

comment:1 Changed 11 years ago by blair (Blair Zajac)

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

comment:2 Changed 11 years ago by ryandesign (Ryan Schmidt)

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 Changed 11 years ago by blair (Blair Zajac)

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 11 years ago by ryandesign (Ryan Schmidt)

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 11 years ago by ryandesign (Ryan Schmidt)

comment:6 Changed 22 months ago by mf2k (Frank Schima)

Owner: blair deleted
Status: newassigned
Note: See TracTickets for help on using tickets.