On Fri, 1 Jun 2012 08:28:02 +0100, Glynn Clements <[email protected]> wrote:

Daniel Macks wrote:

> The problem appears to be just after the above "sed" command, where
> macosx/modbuild/Makefile has:
> >     @# until I figure out how to get sed to replace with multiple lines in a >     @# makefile, GRASS_APP required for modbuild, ie no default to /Applications
>     @#-e 's#^GISBASE.*#ifdef GRASS_APP\
>     @#GISBASE = $$(GRASS_APP)/Contents/MacOS\
>     @#else\
>     @#GISBASE = $(INST_DIR_MACOSX)\
>     @#endif#g'
>     @# html.make needs a little change

It's the leading @ which causes the problem; a # only begins a comment
when it appears at the beginning of a word:
[...]
Removing the leading '@' from each continuation line should suffice,

 > i.e.:

 @# until I figure out how to get sed to replace with multiple lines in a
 @# makefile, GRASS_APP required for modbuild, ie no default to /Applications
 @#-e 's#^GISBASE.*#ifdef GRASS_APP\
 #GISBASE = $$(GRASS_APP)/Contents/MacOS\
 #else\
 #GISBASE = $(INST_DIR_MACOSX)\
 #endif#g'
 # html.make needs a little change

Ping? 6 months, several releases, and this is still broken.
dan

 --
Daniel Macks
[email protected]


_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to