[postgis-users] extras/template_gis broken on postgis-1.2.1 for building postgis on win32

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Fri Jan 19 04:22:23 PST 2007


On Fri, 2007-01-19 at 09:45 +0100, strk at refractions.net wrote:
> On Thu, Jan 18, 2007 at 01:56:32AM +0100, TECHER David wrote:
> 
> > It seems that "C:/msys/1.0/local/pgsql/bin" has a problem with ":"
> > 
> > So in extra/template_gis/Makefile I did
> > 
> > SUBBINDIR=$(shell echo $(bindir)|sed -e's:\::\\\\\\\::g')
> > SUBSTITUTE=-e s:@bindir@:$(SUBBINDIR):g \
> >           -e s:@datadir@:$(datadir):g \
> >           -e s:@prefix@:$(prefix):g \
> >           -e s:@SONAME@:$(SONAME):g
> > 
> > And it work
> 
> I've applied your patch. Tests welcome.
> --strk;


Hi strk,

Actually would it be possible to alter this slightly? In the other
places where this has been an issue, the input to sed was changed to use
a | rather than a : as a separator, e.g.

SUBSTITUTE=-e s|@bindir@|$(SUBBINDIR)|g \
           -e s|@datadir@|$(datadir)|g \
           -e s|@prefix@|$(prefix)|g \
	   -e s|@SONAME@|$(SONAME)|g

This would then keep it consistent with the other places where I've made
similar changes.


Kind regards,

Mark.





More information about the postgis-users mailing list