[MacPorts] #26045: muniversal: Destroot should ignore white space when comparing configuration files for merge

MacPorts noreply at macports.org
Mon Oct 11 19:29:28 PDT 2010


#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@…):

 Try that again without the weird formatting.

 {{{
         #strip --host referances from config record
         reinplace -E {s|[ \t]*\'--host=[^\']+\'||g} \
             ${dir}/curl-config \
             ${dir}/libcurl.pc

         reinplace -E {s|[ \t]*\'host_alias=[^\']+\'||g} \
             ${dir}/curl-config \
             ${dir}/libcurl.pc
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/26045#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list