[postgis-devel] [PostGIS] #237: loader makefile CFLAGS altered by PGXS

PostGIS trac at osgeo.org
Thu Aug 13 02:57:34 PDT 2009


#237: loader makefile CFLAGS altered by PGXS
------------------------+---------------------------------------------------
  Reporter:  kyngchaos  |       Owner:  robe         
      Type:  defect     |      Status:  assigned     
  Priority:  medium     |   Milestone:  postgis 1.4.1
 Component:  postgis    |     Version:  1.4.X        
Resolution:             |    Keywords:               
------------------------+---------------------------------------------------
Comment (by mcayland):

 Yeah... pulling in the PGXS Makefile was a last-minute change before the
 1.4 release which allows access to variables such as DESTDIR which are
 required for installation in different directories (useful for packagers).

 So the loader Makefile should ignore any CFLAGS settings. I think the best
 fix here would be to save CFLAGS before including PGXS and then setting
 them back to their original value after the file has been included.

 If you could find the time to test this and supply a patch, that would be
 great.


 ATB,

 Mark.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/237#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list