#26045: muniversal: Destroot should ignore white space when comparing configuration files for merge -----------------------------------------+---------------------------------- Reporter: mcl_guard-netmail@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: muniversal | Port: -----------------------------------------+---------------------------------- Comment(by mcl_guard-netmail@…): Replying to [comment:2 ryandesign@…]:
Why would the whitespace differ? Can you attach your curl-config files that differed only in whitespace? I've not seen that happen before.
Some ports such as curl produce references to "host_alias=" or "host=" in the configuration file for universal builds. If these are removed without removing the leading space it produces the effect otherwise this does not seem to happen. Inserting the following in the post-configure section of the curl port file generates the effect. reinplace -E {s|\'--host=[^\']+\'||g} \ ${dir}/curl-config \ ${dir}/libcurl.pc reinplace -E {s|\'host_alias=[^\']+\'||g} \ ${dir}/curl-config \ ${dir}/libcurl.pc I have since done the obvious and changed the the regex to remove the space before the parameter. Ideally, white space shouldn't be a factor for the comparison it the first place. I've attached a the files responsible for the record. -- Ticket URL: <http://trac.macports.org/ticket/26045#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS