[GRASS-dev] backporting help for SVN

Glynn Clements glynn at gclements.plus.com
Thu Mar 27 05:44:06 EDT 2008


William Kyngesburye wrote:

> I backported some minor Mac-only bugfixes.  They have worked well for  
> me so far.  And I did manually apply them to my recent RC binaries,  
> and haven't heard of any problems.  A couple were build fixes, so they  
> would only affect those that compiled SVN source.
> 
> A pair I haven't done yet (ran out of time this morning), that are  
> companions to Glynn's r29926 and r30066, which were applied to the  
> release branch:
> 
> http://trac.osgeo.org/grass/changeset/30347
> http://trac.osgeo.org/grass/changeset/30704
> 
> These affect some lib/init stuff, but are important to return what  
> Glynn removed, in another form.  These also have worked well for me so  
> far, and are in my binaries, and no reports of problems yet.
> 
> Comments?

Platform-specific targets should be implemented using make
conditionals, rather than an unconditional target which performs the
test within the commands. IOW:

ifneq ($(MACOSX_APP),)
	FILES += \
	$(ETC)/grass-xterm-mac \
	$(ETC)/html_browser_mac.sh
endif

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list