[MacPorts] #27672: gdal @1.7.3 + patch error on file cpl_config.h -build failure

MacPorts noreply at macports.org
Tue Dec 14 16:47:20 PST 2010


#27672: gdal @1.7.3 + patch error on file cpl_config.h -build failure
-----------------------------------------+----------------------------------
 Reporter:  pt.responder@…               |       Owner:  seanasy@…        
     Type:  defect                       |      Status:  new              
 Priority:  Normal                       |   Milestone:                   
Component:  ports                        |     Version:  1.9.2            
 Keywords:                               |        Port:  gdal             
-----------------------------------------+----------------------------------
Changes (by ryandesign@…):

 * cc: macsforever2000@… (added)


Comment:

 The problem only occurs when using the universal variant, on a computer
 where configure does not determine that SIZEOF_UNSIGNED_LONG and
 SIZEOF_VOIDP are both 8 -- in other words, on 32-bit machines like PowerPC
 G4 (not G5) and Intel Core (not Core 2) processors.

 The whole point of the configure script is to discover values like this
 that differ by machine, so it doesn't make sense to then try to apply a
 patch on top of that; it can't help but fail in some cases. This is why we
 do this kind of after-the-fact changing of the values the configure script
 found by using an ed script, not a patch. See glib2, neon, lzo, etc. for
 examples.

 The problem changes were made to the port in r46597.

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


More information about the macports-tickets mailing list