[MacPorts] #23703: apr0 apr_rules.mk contains arch flags
#23703: apr0 apr_rules.mk contains arch flags -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: apr0 -------------------------------------+-------------------------------------- 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. -- Ticket URL: <http://trac.macports.org/ticket/23703> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23703: apr0 apr_rules.mk contains arch flags -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: apr0 -------------------------------------+-------------------------------------- Comment(by blair@…): What do you suggest I do? Just use replace to get rid of that? -- Ticket URL: <http://trac.macports.org/ticket/23703#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23703: apr0 apr_rules.mk contains arch flags -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: apr0 -------------------------------------+-------------------------------------- Comment(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. -- Ticket URL: <http://trac.macports.org/ticket/23703#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23703: apr0 apr_rules.mk contains arch flags -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: apr0 -------------------------------------+-------------------------------------- Comment(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? -- Ticket URL: <http://trac.macports.org/ticket/23703#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23703: apr0 apr_rules.mk contains arch flags -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: apr0 -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:3 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. -- Ticket URL: <http://trac.macports.org/ticket/23703#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23703: apr0 apr_rules.mk contains arch flags -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: apr0 -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Ok, [wiki:PortfileRecipes#archflags -arch flag removal documentation] is now there. -- Ticket URL: <http://trac.macports.org/ticket/23703#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts